Config
Custom config of AfkManager 2.0.1
#You can made all the actions you want but remember to name then as action1...action2...action3... and so on! #You can use colors in the messages, just use the real color codes, like this: &1, &2, &3, &a, &b, &c... afkmanager: # Comma separated list of players to be exempt exempts: '' # Money to charge when the action money get executed money: 200 # Radius to check player movement, if the player just moves on the same radius in some of actions time below then he will be considered an AFK Player :) moveradius: 5 #ACTION TO TAKE IF USER HAS NO MONEY - THIS WILL ONLY WORK IF YOU HAVE A MONEY ACTION SET BELOW IN ACTIONS SECTION nomoneyaction: #Set if this action is enabled or not enabled: true # Action Name, Default actions: message, kill, kick, command action: kill # Define if the plugin will send a message to all players or not broadcast: true # If broadcast is set to true then add a broadcast message here bcmessage: '%NAME% got killed for being AFK and does not having enough money to pay!.' # If this action should send a message to the player alertplayer: true # The message to display to the player if alertplayer is set to true playermessage: 'You''ve been killed for being AFK and does not having enough money to pay!' # Shall we log this action to console after being executed? log: true # A Command without slash to be executed when your action is defined to command command: #The action name, do not change or the plugin won't be able to execute then, you can create new ones but only with this sequence, action1, action2, action3... actions: action1: # Switch if this action will be executed enabled: true # Action Name, Default actions: message, kill, money, kick, command action: message # Time in seconds the player needs to be afk before execute the action time: 60 # Define if the plugin will send a message to all players or not broadcast: true # If broadcast is set to true then add a broadcast message here bcmessage: '%NAME% &awill lost money if he won''t back in 1 minute :P.' # If this action should send a message to the player alertplayer: true # The message to display to the player if alertplayer is set to true playermessage: '&cYou will lost money for being AFK in 1 minute.' # Shall we log this action to console after being executed? log: true # A Command without slash to be executed when your action is defined to command command: action2: enabled: true action: money time: 120 broadcast: true bcmessage: '%NAME% lost %MONEY% money for being AFK.' alertplayer: true playermessage: 'You lost %MONEY% for being AFK.' log: true command: action3: enabled: true action: kill time: 180 broadcast: true bcmessage: '%NAME% got killed for being AFK.' alertplayer: true playermessage: 'You''ve been killed for being AFK.' log: true command: action4: enabled: true action: command time: 240 broadcast: true bcmessage: '%NAME% got smithed for being AFK.' alertplayer: true playermessage: 'You''ve been smithed for being AFK.' log: true command: 'lightning %NAME%' action5: enabled: true action: kick time: 300 broadcast: true bcmessage: '%NAME% got kicked for being AFK.' alertplayer: true playermessage: 'You''ve been kicked for being AFK.' log: true command:
Comments