Advertisement
DarkNosS96

Untitled

Jun 13th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.24 KB | None | 0 0
  1. # AfkTerminator Configuration File
  2. # Author: Edge209
  3.  
  4. ###################################################
  5. # DO NOT CHANGE THE VERSION number for this file #
  6. configVersion: 11
  7. ###################################################
  8. #
  9. ###########
  10. # GENERAL #
  11. ###########
  12. # Enable/disable the whole function
  13. afkMachineDetectEnable: true
  14. #
  15. # Enable if afkTerminator should check for latest plugin version (from bukkitdev)
  16. updateCheckEnable: true
  17. #
  18. # The plugin can be enabled/disabled on a per-world basis. Simply list the worlds (one per line proceeded with " - ") where it should be enabled, or set to " - all"
  19. #
  20. worlds:
  21. - all
  22. #
  23. #########################
  24. # AFK Machine Detection #
  25. #########################
  26. #
  27. # Enable/Disable detection of different types of AFK Machines
  28. detectWater: true
  29. detectMineCart: true
  30. detectHorse: true
  31. detectPig: true
  32. detectJump: true
  33. detectPiston: true
  34. detectFishing: true
  35. detectProjectile: true
  36. detectInteraction: true
  37. #
  38. # The following specifies how sensitive afkTerminator should be in declaring a AFK machine is being used by a player.
  39. # The higher the number the more sensitive the plugin will be. At a higher sensitivity the plugin will detect
  40. # afk machines faster, but it is also more likely to generate false positives. (a.k.a think someone is using an AFK
  41. # machine when they are not.). Higher sensitivity also will take more server processing power because the plugin
  42. # is checking more often. The valid range is 1 to 10.
  43. #
  44. # 1 = Lowest sensitivity. AFK detection > 4 min on average. Lowest processor requirement. Lowest false-positive chance.
  45. # 5 = Medium sensitivity. AFK detection around 1 - 3 minutes. Recommended value.
  46. # 10 = Highest sensitivity. AFK detection < 30 seconds. Highest processor requirement. Highest false-positive chance.
  47. #
  48. afkSensitivity: 7
  49. #
  50. ###############
  51. # Punishments #
  52. ###############
  53. #
  54. # How shall we punish the use of the AFK Machine:
  55. # NONE, LAVA, TNT, KICK, KILL, COMMAND, SPAWNMOB
  56. punishment: COMMAND
  57. #
  58. # If the punishment setting is "COMMAND", this is that command (or commands).
  59. # "[player]" will be replaced with't players name on execution
  60. # Multiple commands can be executed by separating commands with " /n " (note required [space] before and after '/n')
  61. # All commands must be on a single line in this file. e.g. commandPenalty: 'kill [player] /n ban [player]'
  62. commandPenalty: 'spawn [player]'
  63. #
  64. # If the punishment setting is "SPAWNMOB", this is the mob to spawn
  65. mobToSpawn: ZOMBIE
  66.  
  67. # The LAVA, TNT, SPAWNMOB & COMMAND punishments normally are applied multiple times for maximum effect,
  68. # but this can be limited by setting the following to any value > 0. If <=0 maximum punishment will be dealt
  69. # For KILL and KICK punishments this will auto default to "1"
  70. punishmentLimit: -1
  71. #
  72. ###########################
  73. # Auto-Relogin Prevention #
  74. ###########################
  75. #
  76. # The following set of configurations are intended to prevent client mods which have auto-login functions (such as Nodus)
  77. # from minimizing the impact of AFK kicks, by simply re-logging in the player automatically.
  78. #
  79. # Enable if attempts by auto login mods are used in an attempt to get around AFK kicks
  80. blockAutoLoginEnable: true
  81. #
  82. # The minimum time a player must wait before trying to login after leaving/kicked from the server (in seconds)
  83. autoLoginMinTime: 5
  84. #
  85. # The multiplier to be used to increase/vary the minimum time needed for each subsequent attempt (supports fractions e.g. 1.5)
  86. minTimeMultiplier: 1.0
  87. #
  88. # The number of repeated login attempts blocks allowed before further action is taken against a player
  89. autoLoginMaxAttempts: 5
  90. #
  91. # The command to be executed if the max attempts is exceeded
  92. maxAttemptsCommand: 'spawn [player]'
  93. #
  94. # The message to display to a player when they are blocked due to auto-login
  95. # Variables supported: [cooldown] = Number of seconds until login will be allowed
  96. # [player] = Name of player that is the subject of the message
  97. #
  98. autoLoginBlockMsg: '[player] please wait [cooldown] seconds before trying to log in again.'
  99. #
  100. #######################
  101. # Logging / Messaging #
  102. #######################
  103. #
  104. # Enable logging of AfkTerminator Activity, including identification of AFK Machines
  105. logEnable: true
  106. #
  107. # Level of detail in the logs (3=least detail; 1= most detail)
  108. logLevel: 3
  109. #
  110. # Level of detail in the console during startup etc. (3 = least detail; 1= most detail)
  111. # Set to level 2 to see Machine Detection events in the console
  112. consoleLevel: 2
  113. #
  114. # The following when set 'true' will have afkTerminator look for and maintain a list of players with the
  115. # permission 'afkterminator.mailReceive', and send these players mail when AFK machines are detected. (See more below)
  116. mailNotifyEnable: false
  117. #
  118. # The message to display and/or mail to admins/moderators when an AFK machine is detected
  119. # To receive the messages, players must have one or both permissions: afkTerminator.notify; afkTerminator.mailReceive
  120. #
  121. # Variables supported: [player] = Name of player that is the subject of the message
  122. # [location] = Location of the AFK Machine (x,y,z)
  123. # [afkMachine] = Type of AFK Machine
  124. # [detection] = Method of detection
  125. # [duration] = How long player was in the machine/activity before detection
  126. # [time] = Day, Time, & Date of the detection
  127. # [vehicle] = type of vehicle used ('N/A' if not a vehicle-based afk machine)
  128. #
  129. afkDetectMsg: 'AFK Machine ([afkMachine]) detected. [player] has [detection] at [location]. On [time]'
  130. #
  131. # AFK Detection messages (defined above) are sent to players with the permission 'afkTerminator.mailReceive'. This is accomplished
  132. # by issuing a 'console command', using the syntax specified below. (Default is compatible with Essentials' mail function)
  133. #
  134. mailCommand: 'mail send [player] [message]'
  135. #
  136. # afkTerminator automatically maintains a list of players with the 'afkterminator.mailReceive' permission. Players which do not
  137. # login to the server at least once during the interval (days) below, will be removed from the list. (Set to -1 to disable this function)
  138. mailListRemovalTime: 7
  139. #
  140. ###########
  141. # THE END #
  142. ###########
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement