Commands & Permissions
Commands & Permissions
Commands & Permissions
New permissions will be underlined and highlighted in green.
Permissions and commands shown for CopsAndRobbersPlus version 1.0.2
Commands
Commands
Note: <> means required, [] means not required.
command can either be /copsandrobbers or /car or /carp for short
Command | Example | Usage | Permission |
---|---|---|---|
/car join <ArenaId> | /car join 1 | Joins arena by Id | CARP.use.command |
/car quit | /car quit | Lets the player quit whatever CopsAndRobbers game they are in | CARP.use.command |
/car spectate <ArenaId> | /car spectate 1 | Spectates the arena if it is ingame. | CARP.use.command |
/car info <ArenaId> | /car info 1 | Displays info about the arena specified | CARP.use.command |
/car create | /car create | Creates an arena with default settings. It will tell you the Id for the arena to use for setting it. | CARP.use.command.set |
/car enable <ArenaId> | /car enable 1 | Enables the specified arena if it can be enabled | CARP.use.command.set |
/car disable <ArenaId> | /car disable 1 | Disabled the specified arena if it is already enabled | CARP.use.command.set |
/car reload <ArenaId> | /car reload 1 | Reloads (ends game if ingame, resets the arena data and settings, forces a regeneration) the specified arena | CARP.use.command.set |
/car set <ArenaId> <Option/Type> (Value) | /car set 1 minPlayers 4 | Sets arena specific settings | CARP.use.command.set |
/car kit <Function> <KitName> | /car kit create newKit | Does specific kit functions and settings | CARP.use.command.set |
/ car arenatool | /car arenatool | Enables or disables the arena tool(stick), to set cuboid areas (such as the regenArea) | CARP.use.command.set |
Set Variables and Usage
Set Variables and Usage
Variable | Accepted Values | Example | Usage |
---|---|---|---|
minPlayers | Integer(Number) | /car set 1 minplayers 4 | Sets the minimum players to play |
maxPlayers | Integer(Number) | /car set 1 maxplayers 10 | Sets the maximum players allowed |
minCops | Integer(Number) | /car set 1 minCops 1 | Sets the minimum number of cops needed |
maxCops | Integer(Number) | /car set 1 maxcops 2 | Sets the maximum number of cops allowed |
gameLength | Integer(Number) | /car set 1 gameLength 12 | Sets the game length (in minutes) |
startDelay | Integer(Number) | /car set 1 startdelay 10 | Sets the start delay after waiting for players is finished (in seconds) |
waitDelay | Integer(Number) | /car set 1 waitdelay 30 | Sets the wait delay, how long to wait for more players after minPlayers reached (in seconds) |
enable | boolean(True/False) | /car set 1 enabled true | Sets whether or not the arena is enabled/can be played in. |
end | Location(where you are standing) | /car set 1 end | Sets the place players are teleported at end of game. |
quit | Location(where you are standing) | /car set 1 quit | Sets the place a player is teleported when quitting a game. |
lobby | Location(where you are standing) | /car set 1 lobby | Sets the place players are teleported to while waiting for game to start |
spectate | Location(where you are standing) | /car set 1 spectate | Sets the place players are teleported to if they can spectate the arena |
RobberSpawn | Location(where you are standing) | /car set 1 robberSpawn <spawnNumber> | Sets the place robbers spawn at. |
CopSpawn | Location(where you are standing) | /car set 1 copSpawn <spawnNumber> | Sets the place cops spawn at |
RegenArea | 2 Locations(Set with arenatool) | /car set 1 regenarea | Sets the regen area, area that will be restored after the game end. |
useKits | boolean(true/false) | /car set 1 useKits true | Sets whether or not kits (from CopsAndRobbersPlus) can be used in the arena. |
lateJoin | boolean(true/false)++ | /car set 1 latejoin true | Sets whether or not players can join the minigame even after it has started |
copKit | String(kit name) | /car set 1 copKit myCopKit | Sets the kit cops will be given at the start of the game if useKits is true. |
robberKit | String(kit name) | /car set 1 robberKit myRobberKit | Sets the kit robbers will be given at the start of the game if useKits is true. |
Kit Variables and Usage
Kit Variables and Usage
Variable | Accepted Values | Example | Usage |
---|---|---|---|
create | String(Kit name) | /car kit create newKit | Creates a new kit based on the items in your inventory. |
delete | String(kit name) | /car kit delete newKit | Deletes a kit by the kit name if it exists. |
Permissions
Permissions
Permission | Description | Default |
---|---|---|
CARP.use.command | The base permission for /car | true (default for all players) |
CARP.use.command.set | Permission needed for admin commands and functions | op (Default for opped player) |
CARP.sign.use | Permission to use CopsAndRobbersPlus Signs | true (default for all players) |
CARP.sign.place | Permission to place CopsAndRobbersPlus Signs | op (default for opped players) |
CARP.notify.update | Permission needed to be notified of updates on join | op (Default for opped player) |