Cobblemon commands list
Last updated
Cobblemon has its own commands for giving, spawning, editing and healing Pokemon, opening the PC, running battles and more. Almost all of them need operator permission, so on a public server it's up to the owner who gets them.
If you're after homes, trading or shops, those are the server's own commands and they're on useful commands.
Commands every player can use
| Command | What it does |
|---|---|
/abandonmultiteam | Leaves your multi battle team. Also works as /abandonmultibattleteam. |
/cobblemon info | Shows the Cobblemon version, whether it is a snapshot build, the Git commit and the branch. |
/cobblemonconfig | Opens the Cobblemon settings screen. |
Everything else on this page needs operator permission, at the level shown in its row.
How permissions work
By default Cobblemon uses Minecraft's own permission levels. Level 2 is the one for cheat commands and command blocks, and level 4 is the highest, covering every command. The last column in each table shows the level a command needs by default. A server can swap this check for its own permission setup, so what you can actually use depends on the server you play on.
How to write the Pokemon part of a command
Lots of commands end with <properties>. Type a Pokemon name, then any settings you want, with a space between each one. Use random as the name for a random species. For yes/no settings like shiny and alpha, leaving out the value means yes.
| Setting | What it sets | Example |
|---|---|---|
level | The level. The short forms lvl and l work too. | level=20 |
shiny | Makes the Pokemon shiny, or not with shiny=false. | shiny |
gender | male, female or genderless. | gender=female |
nature | The nature. | nature=adamant |
ability | The ability. Type its name after the equals sign. | ability= and the name |
pokeball | The Poke Ball it was caught in. | pokeball=great_ball |
nickname | The nickname. | nickname=Sparky |
moves | Moves, separated by commas with no spaces. | moves=tackle,growl |
held_item | The item it holds. | held_item=minecraft:apple |
form | The form of the species. Type the form name after the equals sign. | form= and the name |
friendship | How much friendship it has. | friendship=100 |
alpha | Makes it an alpha Pokemon. | alpha |
stat settings | Type a stat name (hp, attack, defence, special_attack, special_defence or speed) and add _iv or _ev. IVs go from 0 to 31 and EVs from 0 to 252. | hp_iv=31 or speed_ev=252 |
Examples: /givepokemon eevee level=20 shiny, /spawnpokemon random level=30 and /pokeedit 1 level=50 pokeball=great_ball.
Slots are party positions from 1 to 6. Box and slot numbers in the PC start at 1.
All Cobblemon commands
Anything in <angle brackets> is a value you fill in, and anything in [square brackets] is optional. Type the command words exactly as shown, capital letters included.
Pokemon: give, spawn, edit and heal
The <properties> part is explained above.
| Command | What it does | Who can use it |
|---|---|---|
/givepokemon <properties> | Gives yourself a new Pokemon. Also works as /pokegive. | Operator, level 2 |
/givepokemonother <player> <properties> | Gives another player a new Pokemon. Also works as /pokegiveother. | Operator, level 2 |
/takepokemon <player> <slot> | Takes the Pokemon in a party slot away from a player, and puts it in your party if you are a different player. | Operator, level 2 |
/pokemonedit <slot> <properties> | Changes the Pokemon in one of your party slots using the settings you give, such as level or shiny. Also works as /pokeedit. | Operator, level 2 |
/pokemoneditother <player> <slot> <properties> | Does the same for a Pokemon in another player's party. Also works as /pokeeditother. | Operator, level 2 |
/healpokemon | Fully heals your party, but not while you are in a battle. Also works as /pokeheal. | Operator, level 2 |
/healpokemon <player> | Heals another player's party in the same way. | Operator, level 2 |
/levelup <slot> | Gives the Pokemon in your party slot enough experience to reach its next level. | Operator, level 2 |
/levelup <player> <slot> | Does the same for a Pokemon in another player's party. | Operator, level 2 |
/teach <player> <slot> <move> | Teaches a move to a Pokemon in a player's party. If its moves are full, the new move goes to its benched moves. Without the extra teach bypass permission, the Pokemon must be able to learn the move. | Operator, level 2 |
/held_item <player> <slot> <item> | Sets the item that a Pokemon in a player's party holds. | Operator, level 2 |
/givemark <player> <slot> <mark> | Gives a mark to a Pokemon in a player's party. | Operator, level 2 |
/takemark <player> <slot> <mark> | Removes a mark from a Pokemon in a player's party. | Operator, level 2 |
/giveallmarks <player> <slot> | Gives a Pokemon in a player's party every mark. | Operator, level 2 |
/spawnpokemon <properties> | Spawns a wild Pokemon where you are standing. Also works as /pokespawn. | Operator, level 2 |
/spawnpokemonat <pos> <properties> | Spawns a wild Pokemon at the coordinates you give. Also works as /pokespawnat. | Operator, level 2 |
/giveallpokemon [min] [max] | Puts one of every Pokemon species the mod has into your PC. Add a minimum, or a minimum and a maximum, to only use a range of Pokedex numbers. | Operator, level 4 |
/pokemonrestart [reset_starters] | Deletes every Pokemon in your party and PC, and with true also resets your starter choice. Also works as /pokerestart. | Operator, level 2 |
/pokemonrestartother <player> [reset_starters] | Does the same for another player. Also works as /pokerestartother. | Operator, level 2 |
/openstarterscreen <player> | Opens the starter Pokemon screen for a player who has not picked a starter yet. | Operator, level 2 |
Battles
| Command | What it does | Who can use it |
|---|---|---|
/stopbattle <player> | Ends the battle that player is in. | Operator, level 2 |
/spectateBattle <player> | Lets you watch the battle that player is in. Type it with a capital B. | Operator, level 4 |
/abandonmultiteam | Leaves your multi battle team. Also works as /abandonmultibattleteam. | Everyone |
Storage and PC
| Command | What it does | Who can use it |
|---|---|---|
/pc | Opens your PC. It does not work in a battle. | Operator, level 2 |
/pc <box> | Opens your PC at the box number you give. | Operator, level 2 |
/pcsearch <properties> | Searches your PC for Pokemon that match the settings and lists the box and slot of each one. | Operator, level 2 |
/pcsearch other <player> <properties> | Searches another player's PC in the same way. | Operator, level 2 |
/pctake <player> <box> <slot> | Takes the Pokemon in that PC slot away from a player, and puts it in your party if you are a different player. | Operator, level 2 |
/pokebox <player> <slot> [box] | Sends the Pokemon in a player's party slot to their PC, into the box you pick if you give one. | Operator, level 2 |
/pokeboxall <player> [box] | Sends a player's whole party to their PC. If the server does not let players empty their party, the lead Pokemon stays. | Operator, level 2 |
/clearparty <player> | Removes every Pokemon from a player's party. | Operator, level 2 |
/clearpc <player> | Removes every Pokemon from a player's PC. | Operator, level 2 |
/renamebox <player> <box> <name> | Renames one of a player's PC boxes. | Operator, level 2 |
/changewallpaper <player> <box> <wallpaper> | Changes the wallpaper of one of a player's PC boxes to a wallpaper that player has. | Operator, level 2 |
/unlockpcboxwallpaper <player> <wallpaper> [playsSound] | Lets a player use a PC box wallpaper, with a sound unless you type false. | Operator, level 2 |
/boxcount query <player> | Shows how many PC boxes a player has. | Operator, level 2 |
/boxcount add <player> <amount> | Gives a player more PC boxes (1 to 1000 at a time). | Operator, level 2 |
/boxcount remove <player> <amount> | Takes PC boxes away, empty ones first, and warns you before it removes a box that still holds Pokemon. | Operator, level 2 |
/boxcount set <player> <amount> | Sets the number of PC boxes a player has, and warns you first if that would remove boxes with Pokemon in them. | Operator, level 2 |
Spawning
A bucket is a group of spawns. The default buckets are common, uncommon, rare, ultra-rare and boss. For ways to change what spawns as a player, see Poke Snacks and Poke Rods.
| Command | What it does | Who can use it |
|---|---|---|
/checkspawn <bucket> | Lists what can spawn around you in that bucket, with the chance of each one, starting with the most likely. | Operator, level 2 |
/spawnpokemonfrompool [amount] | Makes the natural spawner try to spawn a Pokemon around you. The amount is how many times it tries, and it tries once if you give none. Also works as /forcespawn. | Operator, level 2 |
/spawnallpokemon [min] [max] | Spawns one level 10 Pokemon of every species the mod has where you stand. Add a minimum, or a minimum and a maximum, to only use a range of Pokedex numbers. | Operator, level 4 |
Info and debugging
| Command | What it does | Who can use it |
|---|---|---|
/cobblemon info | Shows the Cobblemon version, whether it is a snapshot build, the Git commit and the branch. | Everyone |
/cobblemonconfig | Opens the Cobblemon settings screen. | Everyone |
/cobblemonconfig reload | Reloads the Cobblemon settings and sends them to every player who is online. | Operator, level 2 |
/friendship <slot> | Shows how much friendship the Pokemon in your party slot has. | Operator, level 2 |
/querylearnset <player> <slot> <move> | Checks if a Pokemon in a player's party can learn a move. It sends no chat message and only gives a result of success or failure. | Operator, level 2 |
/teststore <player> <store> <properties> | Counts the Pokemon that match the settings in the party, the pc or all of them. It sends no chat message and only gives back that number. | Operator, level 2 |
/testpartyslot <player> <slot> <properties> | Succeeds if the Pokemon in that party slot matches the settings, and sends no chat message. | Operator, level 2 |
/testpcslot <player> <box> <slot> <properties> | Succeeds if the Pokemon in that PC slot matches the settings, and sends no chat message. | Operator, level 2 |
/runmolang <molang> [player] [npc] [pokemon] | Runs a MoLang expression and shows what it returns, and you can add a player, an NPC and a Pokemon for it to use. | Operator, level 2 |
/runmolangscript <script> [player] [npc] [pokemon] | Runs a Cobblemon script by its ID, and you can add a player, an NPC and a Pokemon for it to use. | Operator, level 2 |
Other
Pokedex
These change or read a player's Pokedex progress. Use national for the national dex.
| Command | What it does | Who can use it |
|---|---|---|
/pokedex grant <player> all <dex> | Fills in a player's Pokedex with every Pokemon in that dex. | Operator, level 2 |
/pokedex grant <player> only <species> <form> | Adds one Pokemon form to a player's Pokedex. | Operator, level 2 |
/pokedex revoke <player> all <dex> | Clears every entry of that dex from a player's Pokedex. | Operator, level 2 |
/pokedex revoke <player> only <species> <form> | Removes one Pokemon form from a player's Pokedex. | Operator, level 2 |
/pokedex printcalculations <player> [dex] | Shows how many Pokemon a player has seen and caught, as numbers and percentages. It uses the national dex, or the dex you name. Type all instead of a dex name to see every dex. | Operator, level 2 |
TMs
| Command | What it does | Who can use it |
|---|---|---|
/givetm <move> [quantity] | Gives yourself TMs for that move, 1 to 2304 at a time. | Operator, level 2 |
/givetm <move> <player> [quantity] | Gives TMs for that move to another player. | Operator, level 2 |
/technicalmachine unlock <player> only <tm> | Marks one TM as learned for a player. | Operator, level 2 |
/technicalmachine unlock <player> all | Marks every TM as learned for a player. | Operator, level 2 |
/technicalmachine lock <player> only <tm> | Takes one TM away from the TMs a player has learned. | Operator, level 2 |
/technicalmachine lock <player> all | Takes every TM away from the TMs a player has learned. | Operator, level 2 |
/technicalmachine check <player> | Marks every TM that the Pokemon in a player's party and PC can learn as learned for that player. | Operator, level 2 |
NPCs and dialogue
| Command | What it does | Who can use it |
|---|---|---|
/spawnnpc <class> [level] | Spawns an NPC of that class where you stand, at level 1 if you give no level. Also works as /npcspawn. | Operator, level 2 |
/spawnnpcat <pos> <class> [level] | Spawns an NPC at the coordinates you give. Also works as /npcspawnat. | Operator, level 2 |
/npcedit | Opens the editor for the NPC you are looking at. | Operator, level 2 |
/npcdelete [target] | Deletes the NPC you are looking at, or the NPC you pick with a target. | Operator, level 2 |
/applyplayertexture <player> | Gives the NPC you are looking at the skin of the player name you type. | Operator, level 2 |
/opendialogue <dialogue> <player> | Opens a dialogue for a player. | Operator, level 2 |
/behaviouredit | Opens the behaviour editor for the NPC, or other scriptable entity, you are looking at. | Operator, level 2 |
Effects
| Command | What it does | Who can use it |
|---|---|---|
/bedrockparticle <effect> <target> [locator] | Plays a particle effect on the entities you pick for players within 1000 blocks. | Operator, level 2 |
/bedrockparticle <effect> <world> <pos> | Plays a particle effect at a position in a world for players within 1000 blocks. | Operator, level 2 |
/freezepokemon [seconds] | Freezes the Pokemon you are looking at on one moment of its animation, given in seconds (0 if you give none). -1 lets it move again. | Operator, level 2 |
Commands left out
There are 8 more commands meant for mod developers and testing, which this page skips: /changeeyeheight, /changescaleandsize, /changewalkspeed, /transformmodelpart, /testcommand, /reloadshowdown, /cobblemonclicktext and /getnbt. The first four change a species' size, speed or model while the game is running. /testcommand is a hard-coded test, /reloadshowdown restarts the Showdown battle service, /cobblemonclicktext is used behind the scenes by clickable chat text, and /getnbt does nothing.
Cobblemon commands FAQ
What's the command to get a Pokemon in Cobblemon?
/givepokemon followed by the Pokemon and any settings, for example /givepokemon eevee level=20. You need operator level 2 for it.
How do I spawn a Pokemon with a command?
/spawnpokemon pikachu level=30 spawns one where you're standing. Use /spawnpokemonat with coordinates to pick the spot, or type random instead of a name for a random species.
How do I make a Pokemon shiny with a command?
Add shiny when you make it, like /givepokemon eevee shiny. For a Pokemon you already have, use /pokeedit with its party slot, like /pokeedit 1 shiny.
Why don't Cobblemon commands work for me?
Nearly all of them need operator permission (level 2 or 4 by default), and on a server the owner decides who gets each one. Only /cobblemon info, /cobblemonconfig and /abandonmultiteam work for everyone out of the box.
How do I see which Pokemon can spawn near me?
/checkspawn common lists what can spawn around you in the common bucket, with the chance of each. Swap common for another bucket such as rare. It needs operator level 2.