Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danihex/redeemcode

Gemerate redeem codes and run commands when someone uses them.
https://github.com/danihex/redeemcode

bedrock bedrock-edition code danihex mcbe mcpe minecraft php pmmp pocketmine pocketmine-mp pocketmine-plugin pocketmine-plugins redeem redeemcode

Last synced: about 21 hours ago
JSON representation

Gemerate redeem codes and run commands when someone uses them.

Awesome Lists containing this project

README

        

# RedeemCode
Generate redeem codes and run commands when someone uses them.

# Usage
To generate a new redeem code use command `/generatecode ` and just type your favorite code in **code** argument.
After sending the command a ui will open. In the first input type the command you want to execute when someone uses the code and for the second input you have 2 options: -1 and a number bigger than 0. -1 makes the code infinite and it will never expire until you update it and make it finite, And a number bigger than 0 means players can use this command for limited times.
Now submit the form, If you didn't do something wrong the code will successfuly be generated.
**Note: To updated a code just generate it again and changes will apply automaticaly**

To use a redeem code players should use command `/redeem ` and type the code in **code** argument.
If code exists and has not expired the command that you chose when you generated the code will execute.

To change messages and texts to your favorites, just edit the strings.yml file in here: /plugin_data/RedeemCode/strings.yml

# Versions
Version | Information | Date | Api
------- | ----------- | ---- | ---
v1.1.0 | Added strings.yml resource to change messages and text | 5 Aug 2021 | 3.0.0 -> 3.22.1
v1.0.5 | Added ui for redeem, Added {player} tag to use instead of player's name who is using the code in command | 3 Aug 2021 | 3.0.0 -> 3.22.1
v1.0.0 | First stable version | 3 Aug 2021 | 3.0.0 -> 3.22.1