- Added cooldown to /namemc redeem command.
YAML:server-settings: # Should we use Redis to send the claim-announcement message to all synchronized servers? # If set to false, we will not be connecting the plugin to redis, if you want to add a message add it to the reward commands redis: false # The server name and group are used to identify the server in the database. name: server_name # The server group is used to identify the server group in the database. group: server_group # The cooldown to use the /namemc redeem # commnand again. The time is in seconds. cooldown: enabled: true time: 10 # Send a message to the player on join reminding them how to like in namemc send-notify: true # Set your server IP here server-ip: 'example.com' rewards: - 'minecraft:msg %player% You have received a reward!'YAML:only-for-players: '<red>Error: This action is for players only.' player-not-found: '<red>Error: Player not found.' no-permission: '<red>Error: You are not an administrator.' command-usage: '<red>Use %command%' config-reloaded: '<#53B7FB>[NameMC] <gray>The configuration has been reloaded.' cooldown: '<red>You must wait <yellow>%time% <red>seconds before using this command again.' link: 'https://namemc.com/server/example.com' link-hover: '<green>Click to open the NameMC page.' rewards-claimed: '<#53B7FB>Thanks for liking the server on NameMC! Your rewards have been delivered...' like-reminder: '<#53B7FB>You have not liked the server on NameMC.' already-redeemed: '<#53B7FB>You have already redeemed your rewards.' claim-announcement: '<gray>[<#BF2E30>Alert<gray>] » <white>%player% <gray>has just received rewards by liking the server on <aqua>NameMC<gray> (<white>/namemc<gray>)' notify: - '' - '<#53B7FB><b>Free In-Game Rewards</b>' - '<white>Claim a free reward by liking us on <#53B7FB>NameMC<white>.' - '<white>Type <#53B7FB><u>/namemc</u><white> to like us on <#53B7FB>NameMC<white>.' - '' steps: - '' - '<#53B7FB><b>NameMC Rewards</b>' - ' <gray>1. <white>Create a account on NameMC if you don´t already have one.' - ' <gray>2. <white>Goto this link: <#53B7FB><u><link></u>' - ' <gray>3. <white>Click the <#FB7B74>Heart <white>icon to like the server.' - ' <gray>4. <white>Type <#53B7FB>/namemc redeem <white>to redeem your rewards.' - ''
