Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| RandomReward1.2 release | 7.71 KB | Jun 10, 2012 | CB 1.2.5-R4.0 | 1,744 | Download |
| Random Rewards1.0 release | 5.45 KB | May 31, 2012 | CB 1.2.5-R3.0 | 814 | Download |
| RandomReward1.2B beta | 6.90 KB | Jun 6, 2012 | CB 1.2.5-R3.0 | 372 | Download |
| Random Rewards1.1B beta | 6.56 KB | Jun 2, 2012 | CB 1.2.5-R3.0 | 338 | Download |
Description
Random Rewards
Feel like some players deserve something extra? Now you can just give them a random item by typing /reward <playername>
Just fill a list of items in the config file and write the reward message.
Or let players reward themselves, give them permission node randomreward.gift
Usage
Permission node: – randomreward.reward
Permission node: – randomreward.gift
Command: /reward <player>
Command: /gift
Future plans
Making the random item have a configurable chance of winning an item.
Making the stack size have a configurable max.
Example config
# Color codes: # %0 - black %a - Green # %1 - Dark blue %b - Aqua # %2 - Dark green %c - Red # %4 - Dark red %d - pink # %5 - Purple %e - Yellow # %6 - Gold %f - White # %7 - Gray # %8 - Dark gray # %9 - Blue # # PLEASE NOTE THAT YOU MUST INSERT A SPACE AFTER THE COLORCODE / OTHER # # Other: # %player - The winning player name # %amount - The amount + reward paid # Make your own reward message rewardmessage: "%a %player won &6 %amount !" # Make your own time out message timeoutmessage: "%a You have to wait %time minutes before you can use this command again!" # Set the time out in minutes between use of /gift timeout: 10 # What is the maximum amount of items a player can receive maxstack: 64 # What is the minimum amount of items a player can receive minstack: 1 # Set item id's for items that can be won items: - "1" - "2" - "3" - "4" # Add potions like so: - "373:8120"
Get 0.05 TON 💎
Download
Add a comment