-
-
Notifications
You must be signed in to change notification settings - Fork 76
Rewards
Ben edited this page Apr 2, 2016
·
32 revisions
*** Money Example
# Example gives $500 to player, set to 0 for none (Requires vault)
# You could also use a command
Money: 500
####* Can have a name, lore, enchants, chance to give item ####* Can set via ingame with /av VoteSites (SiteName) AddItem (Item) - HOLD ITEM IN HAND (or /av BonusReward AddItem (item))
*** Item Example
Items:
# item (can be anything, just don't have 2 the same)
Diamond:
# item id
ID: 264
# item data
Data: 0
# item amount
Amount: 1
# name - set to '' (that's 2 ') for no name, e.g Name: ''
Name: '&4Example'
# lore - set to '' (that's 2 ') for no lore, e.g Lore: ''
Lore:
- '&4Line 1'
# Enchants - do not enter this below if you don't want enchants
# Example gives Protection and Unbreaking 1
# Enchants can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html
Enchants:
PROTECTION_ENVIRONMENTAL: 1
DURABILITY: 1
* Add ingame with /av VoteSites (SiteName) AddCommandPlayer/AddCommandConsole (CMD) - Command with the / (or /av BonusReward AddCommandPlayer/AddCommandConsole (CMD))
*** Command Example
# Commands to run on vote (when player is online)
# use %player% for the player's name
Commands:
# Console commands
Console:
- 'say Example command: %player%'
# Player commands
Player:
- 'vote total'
# Rewards to give based on a chance
# Can use the same rewards as above
# Follows same rules
ChanceReward:
# Can have more than 1 reward, works just like items above
reward1:
# Chance out of 1000
# Must be an integer
Chance: 40
Items:
ID: 264
Data: 0
Amount: 1
Money: 1000
Commands:
Console:
- 'say %player% was lucky'
Setup/Configuration:
BungeeCord/Velocity Setups:
-
Proxy Setups
- PLUGINMESSAGING (Best method)
- REDIS (Second best)
- MQTT
- SOCKETS
- MYSQL
- Global Data Handling
- Multi-Proxy Setups
Knowledge base:
- Commands & Permissions
- Special Rewards
- File Layout
- API
- Converting data storage
- Vote Reminding
- Time Changes
- Minecraft Server Lists
- Performance Settings
- Bedrock Player Support
- Debug
- Minecraft Server Lists
- PlaceHolderAPI Expansion
- Signs
- Online/Offline Mode
- WIP MonthDateTotals
Troubleshooting
Rewards:
More setups: