Plugin for creating and using giftcode for PocketMine-MP
This is a Plugin that allows Admin to generate a giftcode for the server with optional time and rewards
- 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 |
giftcode.command
to open menu GiftCodegiftcode.command.create
to create new giftcode in datagiftcode.command.remove
to remove giftcode existsing to datagiftcode.command.list
to see all giftcode in datagiftcode.command.help
to see all GiftCode Commandgiftcode.command.redemption
redeem codeVersion: 1.1.0
Downloads: 751
Updated: 7/30/2024
Supported API versions: 5.0.0 to 5.27.1
Categories: General, API plugins, Developer Tools, Fun, Admin Tools
License: GPL-3.0