DUXPLIMA Documentation

commands.conf

The name, aliases and switch of every command and subcommand, and words per language.

commands {
  bedrock {
    name    = "bedrock"
    aliases = ["be"]
    enabled = true
    localized-aliases { tr = ["bedrockayar"] }
    subcommands {
      menus { name = "menus", localized-aliases { tr = ["menüler"] } }
    }
  }
}
KeyWhat it does
the block nameThe command's key. It never changes
nameThe label a player types
aliasesOther labels
enabledfalse and the command is never registered
localized-aliasesWords for the readers of one language
subcommandsOne block per subcommand; enabled = false takes that word out and leaves the rest

A word under a word is written with a hyphen on the left and a space on the right: pack-build is the key under which pack build is named. A change needs a restart. A renamed subcommand keeps its node.

KeyShips asSubcommand keys
bedrock/bedrock, /be; Turkish /bedrockayarmenus, feature, animated, lang, lang-set, lang-reset
menus/menus; Turkish /menüler
uxmbedrock/uxmbedrock, /bedrockadminreload, version, doctor, status, pack-build, pack-report, pack-sync, items-unknown, skulls, menus, preview, gui-measure, gui-list, lang-set-player, lang-reset-player

The Turkish words shipped under /bedrock are menüler, özellik, hareketli, dil, dil seç and dil sıfırla.

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