GiftCode

Plugin for creating and using giftcode for PocketMine-MP

📋General

This is a Plugin that allows Admin to generate a giftcode for the server with optional time and rewards

📖Feature

  • This is a Plugin that allows Admin to generate a giftcode for the server with optional time and rewards

📚For Developer

  • 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

COMMANDDESCRIPTIONALIASES
giftcodeGiftCode Commandscode

📝Permission

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

🖼️IMAGES

OP



NO OP


Details

Version: 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

Producers

Collaborator

Contributor