Advertisement
Guest User

OPGuard config

a guest
Dec 3rd, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.04 KB | None | 0 0
  1. # ------------------------------------------------------- #
  2. # OpGuard #
  3. # ------------------------------------------------------- #
  4. # If you find any bugs, please report them here: #
  5. # https://github.com/RezzedUp/OpGuard/issues #
  6. # ------------------------------------------------------- #
  7.  
  8. # --------------------- #
  9. # OpGuard Configuration #
  10. # --------------------- #
  11.  
  12. # Duration of time (in ticks) that OpGuard should verify the op list.
  13. # Remember: 20 ticks = 1 second, so 4 ticks = 1/5 of a second.
  14. # This value cannot be negative or zero.
  15. # Default: 4
  16. inspection-interval: 4
  17.  
  18. # If true, OpGuard will check for players with the '*' permission node (all permissions).
  19. # If a player has '*' and isn't a verified operator, OpGuard will punish them.
  20. # Default: true
  21. check-permissions: true
  22.  
  23. # If true, OpGuard will only op players if they're online.
  24. # Default: true
  25. only-op-if-online: true
  26.  
  27. # If true, OpGuard will only deop players if they're online.
  28. # This option is false by default so that any dangerous operators can be deop'd while they're offline.
  29. # Default: false
  30. only-deop-if-online: false
  31.  
  32. # If true, OpGuard's password can be managed with in-game commands.
  33. # If false, only console can modify OpGuard's password.
  34. # Default: true
  35. manage-password-in-game: false
  36.  
  37. # If true, OpGuard will disable plugins that have been caught setting op.
  38. # Default: true
  39. disable-malicious-plugins-when-caught: true
  40.  
  41. # If true, OpGuard will rename plugin .jar files that have been caught
  42. # setting op so they cannot re-enable.
  43. # This will only occur if the option above is also enabled (plugin disabling).
  44. # Default: true
  45. rename-malicious-plugins-when-caught: true
  46.  
  47. # If true, OpGuard will shut the server down if it is disabled.
  48. # Enable this option if you don't want other plugins to disable OpGuard.
  49. # Default: false
  50. shutdown-on-disable: false
  51.  
  52. # If true, OpGuard will lock its commands, preventing new operators from
  53. # being added and preventing its password from being modified.
  54. # The only way to unlock is to change the value to false and restart the server.
  55. # Default: false
  56. lock: false
  57.  
  58. # ----------- #
  59. # LOGGING #
  60. # ----------- #
  61.  
  62. # If false, all OpGuard logging will be disabled.
  63. # Default: true
  64. enable-logging: true
  65.  
  66. # Log when a plugin attempts to give op.
  67. # Default: true
  68. log-plugin-attempts: true
  69.  
  70. # Log when the console attempts to give op.
  71. # Default: true
  72. log-console-attempts: true
  73.  
  74. # Log when a player attempts to use /op.
  75. # Default: true
  76. log-player-attempts: true
  77.  
  78. # ------------------------- #
  79. # MESSAGES AND WARNINGS #
  80. # ------------------------- #
  81.  
  82. # Prefix for warnings.
  83. # Default: '&cOpGuard (&4&lWarning&c)&7:'
  84. warn-prefix: '&cOpGuard (&4&lWarning&c)&7:'
  85.  
  86. # Color to use in warnings for emphasis
  87. # Default: '&c'
  88. warn-emphasis-color: '&c'
  89.  
  90. # If true, OpGuard will display warnings whenever a plugin attempts to give op.
  91. # Default: true
  92. warn-plugin-attempts: true
  93.  
  94. # If true, OpGuard will display warnings whenever console attempts to use /op.
  95. # Default: true
  96. warn-console-op-attempts: true
  97.  
  98. # If true, OpGuard will display warnings whenever console incorrectly uses /opguard.
  99. # Default: true
  100. warn-console-opguard-attempts: true
  101.  
  102. # If true, OpGuard will display warnings whenever a player attempts to use /op.
  103. # Default: true
  104. warn-player-op-attempts: true
  105.  
  106. # If true, OpGuard will display warnings whenever a player incorrectly uses /opguard.
  107. # Default: true
  108. warn-player-opguard-attempts: true
  109.  
  110. # Prefix for security warnings.
  111. # Default: '&eOpGuard (&6&lSecurity&e)&7:'
  112. security-prefix: '&eOpGuard (&6&lSecurity&e)&7:'
  113.  
  114. # If true, OpGuard will display warnings when it lacks a password.
  115. # Default: true
  116. enable-security-warnings: true
  117.  
  118. # Prefix for general status messages.
  119. # Default: '&aOpGuard (&2&lOkay&a)&7:'
  120. okay-prefix: '&aOpGuard (&2&lOkay&a)&7:'
  121.  
  122. # --------------- #
  123. # PUNISHMENTS #
  124. # --------------- #
  125.  
  126. # If true, OpGuard will punish players that other plugins attempt to op.
  127. # Default: true
  128. punish-plugin-attempts: true
  129.  
  130. # If true, OpGuard will punish players when the console attempts to use /op.
  131. # Default: true
  132. punish-console-op-attempts: true
  133.  
  134. # If true, OpGuard will punish players when console incorrectly uses /opguard.
  135. # Default: false
  136. punish-console-opguard-attempts: false
  137.  
  138. # A list of commands to run when punishing a player.
  139. # Default:
  140. # - ban %player% Attempting to gain op
  141. punishment-commands:
  142. - ban %player% Attempting to gain op
  143.  
  144. # -------- #
  145. # MISC #
  146. # -------- #
  147.  
  148. # If true, OpGuard will not interfere with commands in the exempt-commands list below.
  149. # Default: false
  150. enable-exempt-commands: false
  151.  
  152. # A list of commands that OpGuard will not interfere with.
  153. # The option above must be true for these commands to be exempted.
  154. # Add a command here if OpGuard is causing errors when using it.
  155. exempt-commands:
  156. - ping
  157.  
  158. # ----------- #
  159. # METRICS #
  160. # ----------- #
  161.  
  162. metrics: true
  163.  
  164. # Do not modify this value, it may affect config updates in the future.
  165. version: 3.1.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement