Skip to Content
MineDuels

Per-world rules

Run MineDuels in some worlds only, and block its commands where it is off.

By default MineDuels works in every world. If your server has other worlds, for example a survival world, you can switch it off there.

Settings

In config.yml:

worlds:
  disabled: []
  enabled: []
  blocked-commands: [queue, duel, rematch, gduel, spectate, "kit editor", "party create", "party invite",
                     "party accept", "party join", "party open", "party split", "party ffa", "party promote", "party kick"]
KeyMeaning
disabledMineDuels is off in these worlds and on everywhere else
enabledWhen not empty, MineDuels is on only in these worlds. It wins over disabled
blocked-commandsCommands refused in a world where MineDuels is off

The arena world is always on. Reload with /md reload.

Examples

Off in the survival world:

worlds:
  disabled: [survival, survival_nether, survival_the_end]

On only in the lobby world (and the arena world, which is always on):

worlds:
  enabled: [lobby]

What "off" means

In a world where MineDuels is off:

  • Lobby items are not given, and lobby items a player still carries are removed when they enter the world.
  • A player who is queued is taken out of the queue when they change into the world.
  • The commands in blocked-commands are refused and the player gets worlds.command-blocked.
  • Other players cannot invite someone in that world to a party or send them a duel. They are told the player is unavailable (worlds.target-unavailable).

blocked-commands

Each entry is the start of a command line without the slash. Spaces match words:

blocked-commands: [queue, "party invite", "kit editor"]
  • queue blocks /queue and /queue ranked nodebuff.
  • "party invite" blocks /party invite Bob but not /party info.
  • A bare party blocks every /party command.
  • Aliases and namespaced forms are covered: /p invite Bob and /mineduels:party invite Bob match party invite.

Removing the list falls back to the default shown above. An empty list [] blocks nothing.

Different scoreboard or tab per world

See Scoreboard and Tab list for the display files.

Related: Configuration catalog, Spawn command.

On this page