Commands & Permissions

Commands & Permissions

New permissions will be underlined and highlighted in green.

Permissions and commands shown for CopsAndRobbersPlus version 1.0.2

Commands

Note: <> means required, [] means not required.

command can either be /copsandrobbers or /car or /carp for short

CommandExampleUsagePermission
/car join <ArenaId>/car join 1Joins arena by IdCARP.use.command
/car quit/car quitLets the player quit whatever CopsAndRobbers game they are inCARP.use.command
/car spectate <ArenaId>/car spectate 1Spectates the arena if it is ingame.CARP.use.command
/car info <ArenaId>/car info 1Displays info about the arena specifiedCARP.use.command
/car create/car createCreates 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 1Enables the specified arena if it can be enabledCARP.use.command.set
/car disable <ArenaId>/car disable 1Disabled the specified arena if it is already enabledCARP.use.command.set
/car reload <ArenaId>/car reload 1Reloads (ends game if ingame, resets the arena data and settings, forces a regeneration) the specified arenaCARP.use.command.set
/car set <ArenaId> <Option/Type> (Value)/car set 1 minPlayers 4Sets arena specific settingsCARP.use.command.set
/car kit <Function> <KitName>/car kit create newKitDoes specific kit functions and settingsCARP.use.command.set
/ car arenatool/car arenatoolEnables or disables the arena tool(stick), to set cuboid areas (such as the regenArea)CARP.use.command.set

Set Variables and Usage

VariableAccepted ValuesExampleUsage
minPlayersInteger(Number)/car set 1 minplayers 4Sets the minimum players to play
maxPlayersInteger(Number)/car set 1 maxplayers 10Sets the maximum players allowed
minCopsInteger(Number)/car set 1 minCops 1Sets the minimum number of cops needed
maxCopsInteger(Number)/car set 1 maxcops 2Sets the maximum number of cops allowed
gameLengthInteger(Number)/car set 1 gameLength 12Sets the game length (in minutes)
startDelayInteger(Number)/car set 1 startdelay 10Sets the start delay after waiting for players is finished (in seconds)
waitDelayInteger(Number)/car set 1 waitdelay 30Sets the wait delay, how long to wait for more players after minPlayers reached (in seconds)
enableboolean(True/False)/car set 1 enabled trueSets whether or not the arena is enabled/can be played in.
endLocation(where you are standing)/car set 1 endSets the place players are teleported at end of game.
quitLocation(where you are standing)/car set 1 quitSets the place a player is teleported when quitting a game.
lobbyLocation(where you are standing)/car set 1 lobbySets the place players are teleported to while waiting for game to start
spectateLocation(where you are standing)/car set 1 spectateSets the place players are teleported to if they can spectate the arena
RobberSpawnLocation(where you are standing)/car set 1 robberSpawn <spawnNumber>Sets the place robbers spawn at.
CopSpawnLocation(where you are standing)/car set 1 copSpawn <spawnNumber>Sets the place cops spawn at
RegenArea2 Locations(Set with arenatool)/car set 1 regenareaSets the regen area, area that will be restored after the game end.
useKitsboolean(true/false)/car set 1 useKits trueSets whether or not kits (from CopsAndRobbersPlus) can be used in the arena.
lateJoinboolean(true/false)++/car set 1 latejoin trueSets whether or not players can join the minigame even after it has started
copKitString(kit name)/car set 1 copKit myCopKitSets the kit cops will be given at the start of the game if useKits is true.
robberKitString(kit name)/car set 1 robberKit myRobberKitSets the kit robbers will be given at the start of the game if useKits is true.

Kit Variables and Usage

VariableAccepted ValuesExampleUsage
createString(Kit name)/car kit create newKitCreates a new kit based on the items in your inventory.
deleteString(kit name)/car kit delete newKitDeletes a kit by the kit name if it exists.

Permissions

PermissionDescriptionDefault
CARP.use.commandThe base permission for /cartrue (default for all players)
CARP.use.command.setPermission needed for admin commands and functionsop (Default for opped player)
CARP.sign.usePermission to use CopsAndRobbersPlus Signstrue (default for all players)
CARP.sign.placePermission to place CopsAndRobbersPlus Signsop (default for opped players)
CARP.notify.updatePermission needed to be notified of updates on joinop (Default for opped player)