#If you don't know what to do, join our discord, where we will give you advice. # https://discord.gg/SWpv62Aqp9
# Used to let the plugin determine if your config is up-to-date, so a # warning can be printed in the server console. Only edit this if you # know what you are doing, or have just updated your config to the # newest version. config-version: '1.0'
#If you want to receive notifications about the next plugin update, leave it to true update-notification:
enabled: true
#If you don't want to see players in the afk zone, set this option to true title:
title-text: "&c&lYOU AFK FOR THE REWARD..." subtitle-text: "&f%percent% %progress% &f%time%"
#If you don't want to see the player in the afkzone, set this value to true. hide-players-in-afk-zone: true
# Should add the player to AFK if the progress is 100%? # When true, the player must leave the AFK zone and enter again to reset progress. should-leave-afk: false
#Here is all the news for the NxAfkZone plugin messages:
Prefix: "&8[&6NxAfkZone&8]" Reload: "&cPlugin has been reloaded!" NoPermission: "&cYou dont have permission" player-enter-zone: "&aYou have entered the AFK zone!" player-leave-zone: "&cYou left the AFK zone!" afk_message: "&cYou are now AFK. Leave and re-enter the zone to reset progress."
#Here, write the name for which region the afk zone should work region-name: "afk_zone"
#The sum of the percentages must be 100%. If the sum is greater, it will not work. rewards:
reward1:
type: "command" command: "give %player% diamond 1" chance: 20
reward-message: "&aYou received a diamond!" reward2:
type: "command" command: "money give %player% 200" chance: 30
reward-message: "&aYou received 200 coins!" reward3:
type: "command" command: "money give %player% 300" chance: 40
reward-message: "&aYou received 300 coins!" reward4:
type: "command" command: "money give %player% 500" chance: 10
reward-message: "&aYou received 500 coins!"