Custom
Minecraft commands proxied through Discord
In addition to built-in commands, you can create your own custom commands. These are commands that trigger a Minecraft command to be run on the server.
The following command configuration entries are found under the custom field and all share the same options as a base command.
{
// Custom Discord commands
"custom": {
// ...
}
// ...
}Configuration
A custom command has two fields in addition to the shared command options.
Command
The Minecraft command to execute on the server, e.g. /teleport {0} {1}
/**
* A Minecraft command to execute
* Use {n} for the nth argument, and {} for all
*/
"command": "/whitelist {}",Config
Discord
Executed
/whitelist
!whitelist list
/whitelist
/whitelist {0}
!whitelist list
/whitelist list
/whitelist {0}
!whitelist add Axieum
/whitelist add
/whitelist {1}
!whitelist add Axieum
/whitelist Axieum
/whitelist add {0}
!whitelist Axieum
/whitelist add Axieum
/whitelist {}
!whitelist a b c d
/whitelist a b c d
/whitelist {0} {}
!whitelist a b c d
/whitelist a a b c d
Quiet
Controls whether command feedback is printed to the user.
Examples
!whitelist

!stop

Last updated
Was this helpful?