Guides · 5 / 13
Rewards
Every reward of the plugin (calendar presents, quests, presents, events, the tree...) is written the same way, and edited the same way in the menus:
rewards:
candy: 5 # candy canes
gifts: ["rare 1"] # presents: kind and amount
items: ["COOKIE 8"] # items (in the menu: click items of your inventory)
commands: ["eco give {player} 100"]
cosmetics: ["hat-santa"] # ids of cosmetics.yml
Command lines run from the console with {player}; start one with [player] to run it as the player, [message] to send them a text, [broadcast] for everyone or [sound] for a sound.
Events (the Grinch, snowball fights) give prizes by place (rewards.top.1, 2, 3...) and a participation prize for everyone else with at least participation.min points (or damage).