Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. afk {
  2. # 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".
  3. afk-time=300
  4. # 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".
  5. #
  6. # 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.
  7. afk-time-to-kick=0
  8. # 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.
  9. alert-on-command-send=true
  10. # 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.
  11. broadcast-afk-when-vanished=false
  12. # If true, the server will be informed when a player is kicked for inactivity, else, just those with the nucleus.afk.notify permissions
  13. broadcast-to-all-on-kick=true
  14. # 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.
  15. disable-in-spectator-mode=false
  16. # If any of the messages tht would be broadcast to the server are blank, they will not be sent.
  17. messages {
  18. # The message sent to a player when kicked for inactivity.
  19. kick-message-to-subject="You have been kicked for being AFK for too long."
  20. on-afk="&7*&f{{displayname}} &7has gone AFK."
  21. on-command="&f{{displayname}} &7is currently AFK and may not respond quickly."
  22. # If empty, no message will be sent.
  23. on-kick="&f{{displayname}} &7has been kicked for being AFK too long."
  24. on-return="&7*&f{{displayname}} &7is no longer AFK."
  25. }
  26. # Determines what actions determines if a player is active.
  27. triggers {
  28. # Marks a player as active if they chat
  29. on-chat=true
  30. # Marks a player as active if they run a command
  31. on-command=true
  32. # Marks a player as active if they interact
  33. on-interact=true
  34. # Marks a player as active if they move
  35. on-movement=true
  36. # Marks a player as active if they rotate (that is, look around)
  37. on-rotation=true
  38. }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement