Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ------------------------------------------------------- #
- # OpGuard #
- # ------------------------------------------------------- #
- # If you find any bugs, please report them here: #
- # https://github.com/RezzedUp/OpGuard/issues #
- # ------------------------------------------------------- #
- # --------------------- #
- # OpGuard Configuration #
- # --------------------- #
- # Duration of time (in ticks) that OpGuard should verify the op list.
- # Remember: 20 ticks = 1 second, so 4 ticks = 1/5 of a second.
- # This value cannot be negative or zero.
- # Default: 4
- inspection-interval: 4
- # If true, OpGuard will check for players with the '*' permission node (all permissions).
- # If a player has '*' and isn't a verified operator, OpGuard will punish them.
- # Default: true
- check-permissions: true
- # If true, OpGuard will only op players if they're online.
- # Default: true
- only-op-if-online: true
- # If true, OpGuard will only deop players if they're online.
- # This option is false by default so that any dangerous operators can be deop'd while they're offline.
- # Default: false
- only-deop-if-online: false
- # If true, OpGuard's password can be managed with in-game commands.
- # If false, only console can modify OpGuard's password.
- # Default: true
- manage-password-in-game: false
- # If true, OpGuard will disable plugins that have been caught setting op.
- # Default: true
- disable-malicious-plugins-when-caught: true
- # If true, OpGuard will rename plugin .jar files that have been caught
- # setting op so they cannot re-enable.
- # This will only occur if the option above is also enabled (plugin disabling).
- # Default: true
- rename-malicious-plugins-when-caught: true
- # If true, OpGuard will shut the server down if it is disabled.
- # Enable this option if you don't want other plugins to disable OpGuard.
- # Default: false
- shutdown-on-disable: false
- # If true, OpGuard will lock its commands, preventing new operators from
- # being added and preventing its password from being modified.
- # The only way to unlock is to change the value to false and restart the server.
- # Default: false
- lock: false
- # ----------- #
- # LOGGING #
- # ----------- #
- # If false, all OpGuard logging will be disabled.
- # Default: true
- enable-logging: true
- # Log when a plugin attempts to give op.
- # Default: true
- log-plugin-attempts: true
- # Log when the console attempts to give op.
- # Default: true
- log-console-attempts: true
- # Log when a player attempts to use /op.
- # Default: true
- log-player-attempts: true
- # ------------------------- #
- # MESSAGES AND WARNINGS #
- # ------------------------- #
- # Prefix for warnings.
- # Default: '&cOpGuard (&4&lWarning&c)&7:'
- warn-prefix: '&cOpGuard (&4&lWarning&c)&7:'
- # Color to use in warnings for emphasis
- # Default: '&c'
- warn-emphasis-color: '&c'
- # If true, OpGuard will display warnings whenever a plugin attempts to give op.
- # Default: true
- warn-plugin-attempts: true
- # If true, OpGuard will display warnings whenever console attempts to use /op.
- # Default: true
- warn-console-op-attempts: true
- # If true, OpGuard will display warnings whenever console incorrectly uses /opguard.
- # Default: true
- warn-console-opguard-attempts: true
- # If true, OpGuard will display warnings whenever a player attempts to use /op.
- # Default: true
- warn-player-op-attempts: true
- # If true, OpGuard will display warnings whenever a player incorrectly uses /opguard.
- # Default: true
- warn-player-opguard-attempts: true
- # Prefix for security warnings.
- # Default: '&eOpGuard (&6&lSecurity&e)&7:'
- security-prefix: '&eOpGuard (&6&lSecurity&e)&7:'
- # If true, OpGuard will display warnings when it lacks a password.
- # Default: true
- enable-security-warnings: true
- # Prefix for general status messages.
- # Default: '&aOpGuard (&2&lOkay&a)&7:'
- okay-prefix: '&aOpGuard (&2&lOkay&a)&7:'
- # --------------- #
- # PUNISHMENTS #
- # --------------- #
- # If true, OpGuard will punish players that other plugins attempt to op.
- # Default: true
- punish-plugin-attempts: true
- # If true, OpGuard will punish players when the console attempts to use /op.
- # Default: true
- punish-console-op-attempts: true
- # If true, OpGuard will punish players when console incorrectly uses /opguard.
- # Default: false
- punish-console-opguard-attempts: false
- # A list of commands to run when punishing a player.
- # Default:
- # - ban %player% Attempting to gain op
- punishment-commands:
- - ban %player% Attempting to gain op
- # -------- #
- # MISC #
- # -------- #
- # If true, OpGuard will not interfere with commands in the exempt-commands list below.
- # Default: false
- enable-exempt-commands: false
- # A list of commands that OpGuard will not interfere with.
- # The option above must be true for these commands to be exempted.
- # Add a command here if OpGuard is causing errors when using it.
- exempt-commands:
- - ping
- # ----------- #
- # METRICS #
- # ----------- #
- metrics: true
- # Do not modify this value, it may affect config updates in the future.
- version: 3.1.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement