commands.yml
Fine-grained control over which commands are available. Disable individual commands or entire categories.
File Location
text
plugins/EssentialsY/commands.ymlThree Ways to Disable
- Individual commands — list under
disabled: - Categories — set
enabled: falseon a category - Legacy —
disabled-commandsinconfig/core.yml(still supported)
Format
yaml
disabled:
- god
- fly
categories:
teleport:
enabled: true
commands: [home, spawn, tp, tpa, warp, back, ...]
economy:
enabled: true
commands: [balance, pay, eco, sell, kit, ...]
moderation:
enabled: true
commands: [ban, kick, mute, jail, vanish, ...]
fun:
enabled: false
commands: [burn, fireball, lightning, beezooka, ...]
utility:
enabled: true
commands: [heal, feed, repair, give, hat, ...]
signs:
enabled: true
commands: [edsign, essentials]Categories
| Category | Description | Example Commands |
|---|---|---|
teleport | Movement and warps | home, spawn, tp, warp, back |
economy | Money and kits | balance, pay, eco, kit |
moderation | Staff tools | ban, kick, mute, jail |
fun | Entertainment | burn, fireball, lightning |
utility | Player utilities | heal, feed, repair, give |
signs | Sign commands | edsign |
Examples
Disable all fun commands
yaml
categories:
fun:
enabled: falseDisable fly and god only
yaml
disabled:
- god
- flyEconomy-free server
yaml
categories:
economy:
enabled: falsePriority
A command is disabled if any of these match:
- Listed in
commands.yml→disabled - In a category with
enabled: false - Listed in
config/core.yml→disabled-commands - Belongs to a disabled module
Applying Changes
bash
/essentials reload
Disabled commands return the standard "command disabled" message to players.