πDiscord Rank Rewards
You can set commands to execute when a player receives a discord role (for example, booster role)
You can set a command when they receive/remove the role
And you can also set a command to execute everyday. In this example I use a command from the Plugin VelocityUtils that lets you execute server commands from the proxy
link:
discord_ranks_rewards:
enabled: true
daily_hour: 12 # Hour of the day (0-23) to give daily rewards
roles:
"123456789123456789": # example with Booster role ID
received_commands: # command executed when someone receive the discord role
- "lpv user {player} parent add booster"
removed_commands: # command executed when someone lose the discord role
- "lpv user {player} parent remove booster"
daily_rewards: # commands executed daily to give rewards
# Command from the plugin VelocityUtils that lets you execute
# a server command from the proxy: /serverexecute
- "serverexecute survival eco give {player} 1000" Last updated