This is a list of commands added by Pixelmon.
Note: Command syntax is displayed in the standard Minecraft command format. An explanation of this format can be found here.
/breed <player> <slot 1> <slot 2>: This command will give the chosen player an Egg that would result from the breeding of the two Pokémon in the specified party slots. If the two Pokémon are not able to breed with each other, the command will fail.
/breed <player>: This command will attempt to find two Pokémon in the chosen player's party that can breed, giving an Egg to the player if a pair is found. The command will fail if no pairs in the player's party are compatible.
/checkSpawns [specific]: Provides a percent-chance based list of all the Pokémon that may spawn in the player's current area at the current time/weather/etc. under the Better Spawner. If the 'specific' argument is added, only the block being stood upon is checked.
/copyToDB: Copies the Pixelmon save data for the world to the SQL database specified in the config.
/endbattle [player]: Immediately ends the battle that the player is in (if any). If the player argument is omitted, the command will be executed on the player who used the command.
/freeze: This will make all Pokémon stop moving in the world. Using this command while it is already in effect will allow Pokémon to move again.
Gives the player a photo. The photo that is given depends on the argument that is inputted; this argument can be in two different forms:
/givepixelsprite pixelmon:sprites/<pokemon | shinypokemon>/<number>: Gives the player a photo depicting the Pokémon corresponding to the specified Pokédex number.
pokemoncan be replaced with
shinypokemonto spawn a photo depicting a Shiny Pokémon.
/givepixelsprite <Pokémon>: Gives the player a photo depicting the specified Pokémon.
/pokebattle <player 1> <player 2>: This command will initiate a battle between two different players. It doesn't matter which player goes first.
/pokebattle2 <player> <player | Pokémon> <player | Pokémon> <player | Pokémon | NPC Trainer>: This command will initiate a double battle, with the first and second participants on one team and the third and fourth participants on the opposing team. The second, third, and fourth arguments may be substitute for Pokémon names, NPC Trainer names, or
random (for random Pokémon), which will place computer-controlled allies or opponents in the respective places. These Pokémon will have levels equal to the level of the highest Pokémon in the party of the player who used the command. Two (first participant vs. second participant) or three (first participant vs. second and third participant) arguments can be used instead to modify the format of the double battle.
/pokegive <player> <Pokémon | random> [arguments]: This command will directly put the chosen Pokémon into specified player's party, or the player's PC if the player's party is full Using
random in place of a Pokémon name will cause a random Pokémon to be given. If the party is full, it goes to the player's PC. All arguments are in the form of a Pokémon spec. If the player is in a battle, the Pokémon will be sent to the player's PC regardless of whether the player has empty party space.
/pokegiveegg <player> <Pokémon | random>: This command will give the specified player an Egg containing the specified Pokémon, or a random Pokémon if
random is inputted. By default, Legendary Pokémon cannot be inside random Eggs, but the config option "allowRandomSpawnedEggsToBeLegendary" can be set to true to enable this. The Pokémon can be any Pokémon, even Pokémon that cannot normally be obtained inside Eggs such as evolved Pokémon.
/pokeheal [player]: This command will heal the specified player's Pokémon, or the command user's Pokémon if no player is specified.
/pokesave < all | flush | player..>: This command will immediately save the specified player's Pokémon to the world. The
all argument can be used to save the Pokémon of every player in the world.
/pokespawn <Pokémon | random> [arguments]: This command can spawn in a Pokémon of the player's choice, or a random Pokémon if "random" is used in place of a Pokémon's name. All arguments are in the form of a Pokémon spec.
/pokestats <player>: This command will display the number of times a player has won and lost battles against other players.
/printstore: This command will log brief descriptions of all currently loaded player Pokémon storage data to the console. The following information is displayed for each player.
- The player's username
- Whether the player currently has a GUI open
- Whether the player is online
This command can be used to copy a selection of blocks within a defined area (rectangular prism) and place it elsewhere. There are several steps for doing this, triggered by using different arguments with the command.
/psnapshot read <file name>: Loads a set of blocks previously saved to a file by /snapshot save.
/psnapshot set: Sets a corner of the area to save at the player's location. If there are already two corners set when this command is used, the corner that was set first will be overwritten by the new corner.
/psnapshot save: Saves the blocks in the area defined by the two previously set corners. Two corners must already be set in order for this command to work. If a set of blocks was already previously saved, it will be overwritten by the newly saved set of blocks.
/psnapshot save <file name>: Saves the blocks in the area like in /snapshot save. Also saves the blocks to a file (with the given name) in a "snapshots" folder inside the Minecraft folder. This file can be read back into Minecraft with the
/psnapshot place: Copies the previously saved blocks and places them where the player is located.
/psnapshot convert <file name>: Converts a snapshot created in Minecraft 1.8.9 and below into a snapshot compatible with Minecraft 1.10.2. This creates a new snapshot file with "-converted" appended to the original file name.
/redeem <fedora | fez | tophat>: If the user of this command is a member of the Pixelmon team or has gained access to hats through a special Pixelmon event, this will make the player wear the specified hat.
/redeem trainerhat [<red> <green> <blue>]: If the player has a linked Minecraft account on the Pixelmon website, gives the player a Trainer hat; the color of the hat can be specified as red/green/blue values from 0-255.
/redeem <slot>: If the user of this command has access to the Spectral Jeweller or Shadow Lugia special textures and specifies a party slot number containing a Haunter or Lugia (respectively), the special texture will be applied.
/redeem remove hat: Removes any hat the player may be wearing.
/redeem toggle sash: Toggles whether the player's sash is visible.
/resetpokestats <player>: This command will reset a specified player's tracked wins and losses to 0.
/setparty <level> [moves]: This command will permanently set the levels of all of the Pokémon in the player's party to the specified level. Adding the
moves argument will prompt the player to choose up to four moves from each Pokémon's level-up movepool up to the specified level.
/spectate [player]: If the player argument is left blank, this command causes the command's user to stop spectating a battle if the player is currently spectating. Otherwise, it begins spectating the battle that the specified player is in. The command does nothing if the specified player is not in a battle.
/struc: Spawns a random structure near the player if there is space for it. Structures are randomly chosen to spawn based on the biome that the player is in.
/struc list: Lists all of the possible structures that can be spawned.
/struc <structure> [lvl<level>]: Spawns the specified structure near the player if there is enough space. The structure will be spawned regardless of whether it normally spawns in the biome. The structure argument is the corresponding structure's internal name; these names can be found on the structures page. The level argument is only used when spawning Gyms, and defines the level of NPC Trainers inside the spawned Gym; omitting the level argument will cause the spawned Gym to contain "Equal" boss NPC Trainers.
/teach [player] [position] <move>: This command will cause the Pokémon in the specified position of the player's party to attempt to learn a move (being prompted to replace a move if the Pokémon already has four moves). This will occur regardless of whether the Pokémon is normally able to learn the move. It is possible to use either a move's name (spaces allowed and case-insensitive) or the move's ID to refer to a move. If an argument is omitted (see below), underscores must be used in place of spaces.
/teach [position] <move>: This will execute
/teach on the player who used the command.
/teach <move>: This will execute
/teach on the lead Pokémon of the player who used the command.
/transfer <player> <amount>: This command transfers the specified amount of PokéDollars from the command's user to the specified player.
/unlock <player>: This command will unlock any Pokémon owned by the specified player that are locked by a ranch block, allowing them to be used for other purposes.
/warpplate set <x> <y> <z>: This will set the warp plate that the player is standing on to warp to the specified coordinates. The command will do nothing if the player is not standing on a warp plate.
Note: To prevent a player from using a certain command, the value for the command's permission nodes needs to be set to a negative or false value using a permissions plugin such as LuckPerms.
/endbattleto be used on other players: