DUXPLIMA Documentation

commands.conf

The name, aliases and switch of every command and subcommand.

commands {
  uxmbackup {
    name    = "uxmbackup"
    aliases = ["backup", "uxmb"]
    enabled = true
    subcommands {
      run { name = "run" }
    }
  }
}
KeyWhat it does
the block nameuxmbackup. It never changes
name, aliasesThe labels
enabledfalse and the command is never registered
localized-aliasesWords for the readers of one language
subcommandsversion, reload, run, list, info, verify, prune, storages, status, menu, restore, hash, doctor, lang, lang-set, lang-reset, lang-set-player, lang-reset-player

A change needs a restart. A renamed subcommand keeps its node. A subcommand turned off answers command.turned-off.

Words per language

A word in localized-aliases on a command works for anyone who types it, but only a player who reads that language finds it in their command list. A word under a subcommand is offered to, and works for, the readers of that language and the console only.

Related: Commands