DUXPLIMA Documentation

commands.conf

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

commands {
  channel {
    name    = "channel"
    aliases = ["ch"]
    enabled = true
    subcommands {
      switch { name = "switch" }
      lock   { name = "lock" }
    }
  }
}
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: localized-aliases { tr = ["kanal"] }
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: lang-set is the key under which lang set is named. The operator command also answers to <player command>admin: /chatadmin. A change needs a restart. A renamed subcommand keeps its node.

KeyShips asSubcommand keys
bossbar/bossbar
broadcast/broadcast, /bc
channel/channel, /chswitch, join, leave, list, info, lock, unlock, slowmode, force, kick
chat/chatsettings, lang, lang-set, lang-reset
chatcolor/chatcolor, /chatcolourset, style, clear, list
chatdelete/chatdelete
chateditor/chateditorchannels, tags, announcements, announcement
announcements/announcementspreview, say
chatgame/chatgame, /cgtop, answer, start
chatlock/chatlock, /muteall, /lockchat
chatlog/chatlogplayer, search, audit
snapshot/chatsnapshot
clearchat/clearchatself
conversation/conversation, /convo
emoji/emoji, /emojis
friend/friend, /friends, /fadd, accept, deny, remove, favourite, list, requests
helpop/helpop
ignore/ignoreremove, list
macro/macro
mail/mailread, send, clear
me/me
msg/msg, /tell, /w, /whisper, /m, /pm
mute/mute
nick/nick, /nicknameoff, player, realname
poll/pollstart, end
quickreply/quickreply, /qradd, remove, list
quote/quote
recent/recent
reply/reply, /r
rules/rulesaccept
staff-list/stafflist, /staff
tag/tag, /tagslist, wear, clear, buy, favourite, search, make, pending, approve, deny, give, take
unignore/unignore
unmute/unmute
uxmchat/uxmchat, /chatadminreload, version, doctor, lang-set-player, lang-reset-player
vote/vote

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. The language a player reads is the one they chose, or their client's.

Related: Commands