Skip to content

ClickedTran/GiftCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📋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

COMMAND DESCRIPTION ALIASES
giftcode GiftCode Commands code

📝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


About

Plugin for creating and using giftcode for PocketMine-MP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages