Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- afk {
- # The amount of time, in seconds, of inactivity before the player will be marked as AFK. Set to 0 to disable, or use the permission "nucleus.afk.exempt.toggle".
- afk-time=300
- # The amount of time, in seconds, of inactivity before the player will be kicked. Set to 0 to disable, or use the permission "nucleus.afk.exempt.kick".
- #
- # Note that this is not time since going AFK, but time since last activity. Setting this to the same value as "afktime" will cause someone who goesAFK to be kicked instantly.
- afk-time-to-kick=0
- # If true, any player that tries to use a command that might require the target to do something will be told if the target is AFK.
- alert-on-command-send=true
- # If true, the server will always announce when players go AFK, even when vanished. If false, players who are vanished and go AFK will not have this status broadcasted.
- broadcast-afk-when-vanished=false
- # If true, the server will be informed when a player is kicked for inactivity, else, just those with the nucleus.afk.notify permissions
- broadcast-to-all-on-kick=true
- # If true, a player in spectator mode will not have their status broadcasted to players, nor will they be kicked for going AFK. Those with the notify permission will still see the AFK messages.
- disable-in-spectator-mode=false
- # If any of the messages tht would be broadcast to the server are blank, they will not be sent.
- messages {
- # The message sent to a player when kicked for inactivity.
- kick-message-to-subject="You have been kicked for being AFK for too long."
- on-afk="&7*&f{{displayname}} &7has gone AFK."
- on-command="&f{{displayname}} &7is currently AFK and may not respond quickly."
- # If empty, no message will be sent.
- on-kick="&f{{displayname}} &7has been kicked for being AFK too long."
- on-return="&7*&f{{displayname}} &7is no longer AFK."
- }
- # Determines what actions determines if a player is active.
- triggers {
- # Marks a player as active if they chat
- on-chat=true
- # Marks a player as active if they run a command
- on-command=true
- # Marks a player as active if they interact
- on-interact=true
- # Marks a player as active if they move
- on-movement=true
- # Marks a player as active if they rotate (that is, look around)
- on-rotation=true
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement