Spawn a mob or several. The mob name can be a partial match. You can enter an invalid mob name and you will be listed the available types. Riders are supported in the mob argument, and special types of mobs can be made as well. See mob types.

-d means to set the mobs' health to 1

-i means to ignite the mob

-r means to rocket the mob

-b means to spawn a baby (only works on animals)

commandbook.spawnmob

commandbook.spawnmob.many (more than 10 mobs at a time)

commandbook.spawnmob.<mob> (per mob-permissions, such as commandbook.spawnmob.PigZombie)

Change the weather. Use -1 for a duration (optional) if you want it to be natural, or you can specify a duration in seconds. Weather is global (on over the entire world) and it snows in snowy biomes and rains in other biomes.

Bans

Character

Meaning

m

Minute

h

Hour

d

Day

w

Week

y

Year

Since v2.0 CommandBook has a flexible bans system that supports temporary bans, storing ban reasons, and logging of every action.

Exemption: Players with the commandbook.bans.exempt permission cannot be banned, unless the player banning them has the commandbook.bans.exempt.override permissions and uses the ban command with the -o flag. The same applies for kicking users, replacing commandbook.bans with commandbook.kick.

Temporary bans are given by using the /ban command with the -t <time> flag, where ban length is given as a series of [number][m|h|d|w|y] split by -. The meanings of each character are given in the table to the right.

With this system, /ban -t 1h-5m platnicat would ban platnicat for one hour and five minutes.

If you want to enter a name exactly, use -e so that the command won't try to match a player's name on the server.

commandbook.bans.ban

commandbook.bans.exempt

commandbook.bans.exempt.override

/unban

<name> [reason...]

Unban a player (exact name).

commandbook.bans.unban

/isbanned

<name>

Checks if a player is banned (exact name).

commandbook.bans.isbanned

/baninfo

<name>

Provides information about a ban for a player (exact name), if it exists

commandbook.bans.baninfo

/bans load

Read bans from disk.

commandbook.bans.load

/bans save

Force save bans to disk.

commandbook.bans.save

God

This component provides godemode support for players. Players in the cb-invincible group or with the commandbook.god.auto-invincible permission will have their godmode enabled automatically on login. A player can have their godmode enabled with the /god command if the sender of the command has commandbook.god for themselves or commandbook.god.other for other players.

Parameter types

CommandBook understands advanced "parameter types". For example, you can spawn mobs at a player using /spawnmob Pig 10 nameofplayer or at the spawn location of netherworld using /spawnmob Pig 10 #spawn:netherworld. You may also use coordinates with /spawnmob Pig 10 10,64,-233. Another example is teleporting everyone near you, yourself included, to spawn with /tp #near #spawn.

Directed targets

The private message commands take a directed target.

! or #console matches the console

@<player> matches a player exactly by their name

<filter> matches everyone whose name starts with the specified filter (will only work if there's only one match)

*<filter> matches everyone whose name contains the specified filter (will only work if there's only one match)

Targets

With most commands, a target can include an entire group of people. You can use a number of targets, including some special ones:

@<player> matches a player exactly by their name

* matches everyone

#world matches everyone in the same world as you

#near matches everyone within 30 blocks radius of you

<filter> matches everyone whose name starts with the specified filter

*<filter> matches everyone whose name contains the specified filter

Example: Rocketing all nearby players

/rocket #near

Locations

The teleport commands let you specify a location. You can use the following.

#target matches the first free block in the column of the block that you are looking at

#warp:name matches a warp with the specified name. #warp:name:world will check a different world if per-world-warps is enabled. (requires the commandbook.locations.warp permission if you own the warp, and commandbook.locations.warp.other otherwise) Since v1.6

#home will match your own home if you have one, and #home:name and #home:name:world work like the #warp target. (requires the commandbook.locations.home permission if you own the warp, and commandbook.locations.home.other otherwise) Since v1.6