-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
Bram edited this page Feb 17, 2022
·
2 revisions
Teacups uses the cloud command framework to provide the plugin with commands. Hence, the big plugin file size.
[]
is an optional argument.
{}
is a required argument.
Command | Permission | Aliases | Description |
---|---|---|---|
/teacup help [subcommand query] | teacups.command.help | x | Shows a detailed help screen. |
/teacup reload teacup [teacup] | teacups.command.reload | teacups | If there's a given teacup, it will reload that. Otherwise it will reload all teacups. |
/teacup reload show [show] | teacups.command.reload | shows | If there's a given show, it will reload that. Otherwise it will reload all shows. |
/teacup spawn {name} {location} | teacups.command.spawn | create | Creates a new teacup file and loads it. |
/teacup action start {teacup} [force start] [show] | teacups.command.action | x | Starts the teacups with its default show or another given show. It will also execute the show's start actions |
/teacup action stop {teacup} [force start] | teacups.command.action | x | Stops the teacup and executes the show's the stop actions. |
/teacup setrpm teacup {teacup} {rotates per minute} [add to existing] | teacups.command.setrpm | main, cup | Sets the teacup's rotates per minute |
/teacup setrpm cartgroup {teacup} {cartgroup} {rotates per minute} [add to existing] | teacups.command.setrpm | group | Sets the teacup's cartgroup's rotates per minute |
/teacup setrpm cart {teacup} {cartgroup} {cart} {rotates per minute} [add to existing] | teacups.command.setrpm | x | Sets the teacup's cartgroup's cart's rotates per minute |
/teacup lock {teacup} [value] | teacups.command.lock | setlock | Sets the lock of the teacup. If the lock is on, players are unable to leave or enter seats. |
/teacup playerinput {teacup} [value] | teacups.command.playerinput | setplayerinput | Sets the teacup's player input on or off. When player input is toggled on, player's are able to rotate their cart with their 'a' (left) and 'd' (right) buttons. You cannot set the rpm of carts whilst player input is enabled. |
/teacup kick {teacup} [player] | teacups.command.kick | x | If a player is given, it will kick that specific player, otherise it will kick all players from the teacup. |
/teacup execute {PLAYER/CONSOLE/CONSOLE_FOR_EVERY_PLAYER} {teacup} {command} | teacups.command.execute | command, cmd | Executes commands for a teacup depending on which mode you chose. Player -> Executes the command as the player. (Use %player% as placeholder for the player's name) Console -> Executes the command as the console. Console for every player -> Executes the command for every player as console. (Use %player% as placeholder for the player's name) |