DUXPLIMA Documentation

commands.conf

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

commands {
  glow {
    name    = "glow"
    aliases = ["glowcolor", "glowcolour"]
    enabled = true
    subcommands {
      set { name = "set" }
    }
  }
}
KeyWhat it does
the block nameglow or uxmglow. It never changes
nameThe label a player types
aliasesOther labels
enabledfalse and the command leaves the tree
localized-aliasesWords for the readers of one language
subcommandsOne block per subcommand
CommandShips asKeys
glow/glow, aliases /glowcolor, /glowcolourset, cycle, off, colours, lang, lang-set, lang-reset, lang-set-player, lang-reset-player
uxmglow/uxmglow, aliases /uxmg, /glowadminreload, version, doctor

A change needs a restart. A renamed subcommand keeps its node.

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