Momshroom

Untitled

Jun 15th, 2020
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.49 KB | None | 0 0
  1. Afk:
  2.  # Enable or disable auto afk system entirely
  3.   Enabled: true
  4.   # Prevents jumping in one place to avoid afk status
  5.   PreventJumping: true
  6.   # Prevents damage while afk
  7.   PreventDamage: false
  8.   # Defines how often in seconds plugin will check for afk players state
  9.   CheckInterval: 10
  10.   # When set to true, players playtime counter stops
  11.   # As of nature how this system works you can see +-1second jumping up and down while checking players playtime
  12.   StopPlayTime: false
  13.   # Defines how long to wait after player stops moving to set him as afk
  14.   # Player needs to have cmi.command.afk.auto permission node
  15.   AutoAfkIn: 300
  16.   # Defines commands to be performed when player enters afk mode automatically while addling
  17.   # Supports specialized commands
  18.   AutoAfkCmds:
  19.  - cmi broadcast !&6[playerDisplayName] &7is now &bAFK
  20.   # Defines commands to be performed when player enters /cmi afk
  21.   # Supports specialized commands
  22.   ManualAfkCmds:
  23.  - cmi broadcast !&6[playerDisplayName] &7is now &bAFK
  24.   # Defines commands to be performed when player leaves afk mode
  25.   AfkLeaveCmds:
  26.  - cmi broadcast !&6[playerDisplayName] &7is no longer &bAFK
  27.   # Defines how long to wait after player stops moving to kick player
  28.   # This can be used not only to kick but to perform repeating action every x seconds if needed
  29.   # Keep it at -1 to disable auto kick
  30.   # Can be bypassed with cmi.command.afk.kickbypass permission node
  31.   AutoKickIn: 600
  32.   # This will define how long to wait before performing kick commands again
  33.   RepeatingAutoKickInterval: 300
  34.   # When set to true, kick command will be repeated each RepeatingAutoKickInterval seconds
  35.   RepeatKickCommand: false
  36.   # Defines commands to be performed when player can be kicked
  37.   # If player is not kicked then commands will be repeated every RepeatingAutoKickInterval seconds
  38.   AutoKickCmds:
  39.  - cmi kick [playerName] &7You have been kicked for idling more than [time]
  40.   # Defines worlds where players will not be placed into afk mode after they idled for defined time
  41.   DisabledWorlds:
  42.  - oneTestWorld
  43.   - secondTestWorld
  44.   # Disables afk on interaction
  45.   DisableOnInteract: true
  46.   # Prevents player from going bypassing afk mode while continuously holding one button with particular items or on particular blocks
  47.   SmartInteractCheck: true
  48.   # Prevents from players abusing afk by constantly moving in afk machine
  49.   AntiAfkMachines: true
  50.   # Disables afk on inventory click
  51.   DisableOnInventoryClick: true
  52.   # Disables afk on item drop
  53.   DisableOnitemDrop: true
  54.   # Disables afk on command usage
  55.   DisableOnCommand: false
  56.   # Disables afk on public chat message
  57.   DisableOnPublicChat: true
  58.   # Disables afk on private chat message
  59.   DisableOnPrivateChat: true
  60.   # Disables afk on move
  61.   DisableOnMove: true
  62.   # Disables item pickup while afk
  63.   DisableItemPickup: false
  64.   PreventMobSpawning:
  65.    # When enabled we can prevent mob spawning near players who are afk
  66.     Enabled: false
  67.     # Prevents natural mob spawning
  68.     # This can be more on heavy side of the server as it will try constantly to spawn in monsters near afk players
  69.     Natural: false
  70.     # Prevent mob spawning from spawners
  71.     Spawners: true
  72.     # Usually responsible for spawning in iron golems
  73.     VillageDefence: true
  74.   # Disables exp pickup while afk
  75.   # Attention! Because of weird minecraft handling of exp orbs, best way is to set orb to 0exp and allow it to be obsorbed
  76.   # So by enabling this exp obsorbed by afk players will have no effect
  77.   DisableExpPickup: false
Add Comment
Please, Sign In to add comment