Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Spigot Configuration

xNeox edited this page Nov 26, 2020 · 1 revision

EpicGuard - Spigot configuration

If you are running EpicGuard under a Bukkit based server, there will be a spigot.yml file under plugins/EpicGuard.
There are no comments inside that file, so I have documented them there.

Allowed commands module (command whitelist)

This module will allow players to execute only these commands that are specified here.

allowed-commands:
   # List of commands prefixed with the "/"
   list: 
   - /example
   - /example2
   enabled: false
   # If you enable this, people with the "epicguard.bypass.allowed-commands" permission
   # won't be affected by this module (they will be able to use commands not listed there)
   bypass-permission: true

OP protection module

This module will execute the specified command if someone has OP but is not listed here.

op-protection:
   # Nicknames of players that are allowed to have OP.
   list: 
   - YourName
   - YourAdmin2
   enabled: false
   punish: ban {PLAYER} You are not allowed to have OP!

Blocked commands module (command blacklist)

This module is the opposite of the allowed-command module and will block players from using specified commands.

blocked-commands: 
   # List of commands prefixed with the "/"
   list: 
   - /example
   - /example2
   enabled: false
   # If you enable this, people with the "epicguard.bypass.blocked-commands" permission
   # won't be affected by this module (they will be able to use commands listed there)
   bypass-permission: false

Block namespaced commands module

This module will block commands which contain the ":" symbol (example: /bukkit:ver)

block-namespaced-commands: 
   enabled: false
   whitelist: 
      enabled: false
      commands: 
      - /plugin:command1
      - /plugin:command2
   # If you enable this, people with the "epicguard.bypass.namespaced-commands" permission
   # won't be affected by this module (they will be able to use commands listed there)
   bypass-permission: false

Super admin module

This module will automatically bypass listed players from every module.

super-admin: 
   list: 
   - Owner
   enabled: false

Other settings

There are also 3 additional settings available:

# This will disable the /op, /deop commands and their other aliases (console will still be able to execute them).
disable-vanilla-operator-mechanics: false
# Similiar to the setting above, but it will block the console from executing these commands.
disable-vanilla-operator-mechanics-in-console: false
# This setting will make sure that no one has OP after server is started.
deop-all-operators-on-startup: false