🔗 Meta-command system to create new commands by adding existing commands to each other + a few useful tweaks
Designed as a standalone alternative to CmdAlias.
Drop the plugin to your ServerPlugins/
folder.
After first run with the plugin installed, the configuration file
Commander.json
will be created.
ℹ️ Reloading configuration file: /reload
[
{
"Aliases": [
"sheal" // first alias is the command name
],
"AllowServer": false,
"HelpSummary": "Heals a bit too good.",
"HelpText": [
"Heals a bit too good.",
"Maybe too much?"
],
"UsagePermission": "superheal",
"ExpectedParameterCount": 0,
"Cooldown": 5,
"Commands": [
"sudo silent /heal ${player}",
"sudo silent /bc ${player} got healed by some holy spirit!"
]
}
]
⭐ Command templates may include modifiers before the slash
sudo
= Ignore user's permissions when running the commandsilent
= Suppress command output to the userstoponerror
= Stop command chain when an error message is receivedstoponinfo
= Stop command chain when an info message is received
✏️ Command templates may include special tokens in the form ${token}
.
${n}
=n
th argument (${@}
for all arguments)${player}
= Executor's name${user}
= Executor's user account name${group}
= Executor's user group name${x}, ${y}
= Coordinates of executor${wx}, ${wy}
= World coordinates of executor (coordinates × 16)${life}, ${lifeMax}, ${mana}, ${manaMax}
= Stats of executor
Need more variables? Make an issue!