
This is a Plugin that allows Admin to generate a giftcode for the server with optional time and rewards
- This is a Plugin that allows Admin to generate a giftcode for the server with optional time and rewards
- You can access to GiftCode by using
- You can usage to:
Click To See
- Create New GiftCode:
/**
* @param string $name
* @param float $expire
* @param string $command - It will encode to base64
* @throws JsonException
*
* Default method by ClickedTran, me don't want change it :)!
*/
public function createCode(string $name, float $expire, string $command): void
- Remove GiftCode:
/**
* @param string $name
* @throws JsonException
*/
public function removeCode(string $name): void
COMMAND | DESCRIPTION | ALIASES |
---|---|---|
giftcode |
GiftCode Commands | code |
Click to see permission
- Use
giftcode.command
to open menu GiftCode - Use
giftcode.command.create
to create new giftcode in data - Use
giftcode.command.remove
to remove giftcode existsing to data - Use
giftcode.command.list
to see all giftcode in data - Use
giftcode.command.help
to see all GiftCode Command - Use
giftcode.command.redemption
redeem code