Skip to content

commands.yml

Fine-grained control over which commands are available. Disable individual commands or entire categories.

File Location

text

plugins/EssentialsY/commands.yml

Three Ways to Disable

  1. Individual commands — list under disabled:
  2. Categories — set enabled: false on a category
  3. Legacydisabled-commands in config/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

CategoryDescriptionExample Commands
teleportMovement and warpshome, spawn, tp, warp, back
economyMoney and kitsbalance, pay, eco, kit
moderationStaff toolsban, kick, mute, jail
funEntertainmentburn, fireball, lightning
utilityPlayer utilitiesheal, feed, repair, give
signsSign commandsedsign

Examples

Disable all fun commands

yaml
categories:
  fun:
    enabled: false

Disable fly and god only

yaml
disabled:
  - god
  - fly

Economy-free server

yaml
categories:
  economy:
    enabled: false

Priority

A command is disabled if any of these match:

  1. Listed in commands.ymldisabled
  2. In a category with enabled: false
  3. Listed in config/core.ymldisabled-commands
  4. Belongs to a disabled module

Applying Changes

bash

/essentials reload


Disabled commands return the standard "command disabled" message to players.

GPL-3.0 Licensed · EssentialsY by SushiMC