Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Afk:
- # Enable or disable auto afk system entirely
- Enabled: true
- # Prevents jumping in one place to avoid afk status
- PreventJumping: true
- # Prevents damage while afk
- PreventDamage: false
- # Defines how often in seconds plugin will check for afk players state
- CheckInterval: 10
- # When set to true, players playtime counter stops
- # As of nature how this system works you can see +-1second jumping up and down while checking players playtime
- StopPlayTime: false
- # Defines how long to wait after player stops moving to set him as afk
- # Player needs to have cmi.command.afk.auto permission node
- AutoAfkIn: 300
- # Defines commands to be performed when player enters afk mode automatically while addling
- # Supports specialized commands
- AutoAfkCmds:
- - cmi broadcast !&6[playerDisplayName] &7is now &bAFK
- # Defines commands to be performed when player enters /cmi afk
- # Supports specialized commands
- ManualAfkCmds:
- - cmi broadcast !&6[playerDisplayName] &7is now &bAFK
- # Defines commands to be performed when player leaves afk mode
- AfkLeaveCmds:
- - cmi broadcast !&6[playerDisplayName] &7is no longer &bAFK
- # Defines how long to wait after player stops moving to kick player
- # This can be used not only to kick but to perform repeating action every x seconds if needed
- # Keep it at -1 to disable auto kick
- # Can be bypassed with cmi.command.afk.kickbypass permission node
- AutoKickIn: 600
- # This will define how long to wait before performing kick commands again
- RepeatingAutoKickInterval: 300
- # When set to true, kick command will be repeated each RepeatingAutoKickInterval seconds
- RepeatKickCommand: false
- # Defines commands to be performed when player can be kicked
- # If player is not kicked then commands will be repeated every RepeatingAutoKickInterval seconds
- AutoKickCmds:
- - cmi kick [playerName] &7You have been kicked for idling more than [time]
- # Defines worlds where players will not be placed into afk mode after they idled for defined time
- DisabledWorlds:
- - oneTestWorld
- - secondTestWorld
- # Disables afk on interaction
- DisableOnInteract: true
- # Prevents player from going bypassing afk mode while continuously holding one button with particular items or on particular blocks
- SmartInteractCheck: true
- # Prevents from players abusing afk by constantly moving in afk machine
- AntiAfkMachines: true
- # Disables afk on inventory click
- DisableOnInventoryClick: true
- # Disables afk on item drop
- DisableOnitemDrop: true
- # Disables afk on command usage
- DisableOnCommand: false
- # Disables afk on public chat message
- DisableOnPublicChat: true
- # Disables afk on private chat message
- DisableOnPrivateChat: true
- # Disables afk on move
- DisableOnMove: true
- # Disables item pickup while afk
- DisableItemPickup: false
- PreventMobSpawning:
- # When enabled we can prevent mob spawning near players who are afk
- Enabled: false
- # Prevents natural mob spawning
- # This can be more on heavy side of the server as it will try constantly to spawn in monsters near afk players
- Natural: false
- # Prevent mob spawning from spawners
- Spawners: true
- # Usually responsible for spawning in iron golems
- VillageDefence: true
- # Disables exp pickup while afk
- # Attention! Because of weird minecraft handling of exp orbs, best way is to set orb to 0exp and allow it to be obsorbed
- # So by enabling this exp obsorbed by afk players will have no effect
- DisableExpPickup: false
Add Comment
Please, Sign In to add comment