-
Notifications
You must be signed in to change notification settings - Fork 2
Commands
- Execute: Execute a command with a modified source or delay
- SendMessage: Send a un-prefixed (raw) message to a source
Usage: /cmdcontrol execute [-delay] [-source] <command>
-> -delay (Duration): Delay of the execution (flag)
-> -source (Source): Source for the command (flag)
-> command (Command): Command to be executed
Aliases: execute, ex
Permission: cmdcontrol.command.execute.base
-> cmdcontrol.command.execute.delay: Execute with a delay
-> cmdcontrol.command.execute.other: Execute from another player
-> cmdcontrol.command.execute.console: Execute from console
Executes a command; generally with one or more modifications.
The delay is expected in duration format, such as 5m (5 minutes), 12s500ms (12.5 seconds), etc. Executions with delays are not stored externally, so if the server restarts the command will not be run.
The source may be defined as a player name or one of #console, #server, #me, or #self. Separate permissions are required to execute a command from another player or the console (see above). They source also have permission to run the command and will receive any related messages for the command.
Warning: The permission to execute commands from console should not be given lightly!
-
/cc ex -delay 1000 say hi: Executessay hifrom this source after 1 second (1000ms) -
/cc ex -source #console bc hey: Executesbc heyfrom console -
/cc ex -source Simon_Flash me hello: Executesme hellofrom the sourceSimon_Flash
Usage: /cmdcontrol sendmessage <source> <message>
-> source (Source): Source to send message to
-> message (Text): Message to be sent
Aliases: sendmessage, sm
Permission: cmdcontrol.command.sendmessage.base
Sends a un-prefixed (raw) message to the given source (see above). This is similar to Minecraft's /tellraw command, but it uses a message with formatting codes instead of JSON.
-
/cc sm Simon_Flash hiya &a:D: Sends the formattedhiya :Dmessage toSimon_Flash -
/cc sm #console heyyo &e.-.: Sends the formattedheyyo .-.message to console*
*Some consoles do not support color formatting