Closed slava110 closed 5 years ago
new DataHandler needed GiftCode
!giftcode create <name> [code]
If code is not given, gets auto-generated
At creation maybe a Permission called giftcode.<name>
, for using giftcode?
And should that permission be disabled by default?
!giftcode setCode <name> <code>
Ofcourse whynot
!giftcode setMaxUses <name> <amount>
Max uses per player, use -1
for infinite
!giftcode addItem <name>
Adds the item in hand to giftcode
!giftcode redeem <code>
Should IPlayer.giveItem
items, and if player has no inv space anymore, IPlayer.dropItem
Add command to get cookies/money/anything else from gift codes updated
[x]
!giftcode create <name> [code]
[x]
!giftcode setCode <name> <code>
[x]
!giftcode setMaxUses <name> <amount>
[x]
!giftcode addItem <name>
[x]
!giftcode redeem <name>