(Redirected from Command)

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.
  • /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.
  • /givemoney <player> <amount>: This command gives the specified amount of PokéDollars to the specified player. The amount may also be negative to deduct PokéDollars from a player.
  • /givepixelsprite: 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. "pokemon" can be replaced with "shinypokemon" to 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. 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 from /pokespawn (except for boss Pokémon type) can be used in /pokegive.
  • /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 this Egg, but the config option "allowRandomSpawnedEggsToBeLegendary" can be set to true to enable Legendary Pokémon inside random Eggs. The Pokémon can be any Pokémon, even Pokémon that cannot normally be obtained inside Eggs such as Legendary Pokémon and 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.
  • /pokereload: If external NPC JSON files are enabled, this command reloads the data from these files without needing to restart the server.
  • /pokesave <player | "all">: 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"> ["s"] ["boss<1-4>"] ["lvl<level>"] ["form<form number>"]: 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. The arguments will set certain aspects of the given Pokémon, and may be any combination (including none) of the list below. If a value is required for the argument, that value must be separated from the argument's name with a colon (e.g., "lvl:50"):
    • [ab:<Ability> | ability:<ability>]: The name of the Ability of the Pokémon, without spaces and case-sensitive (e.g., WaterAbsorb.
    • [b:<boss> | boss:<boss>]: The boss Pokémon type that the Pokémon should be. This can be "uncommon", "rare", "legendary", or "ultimate". Numbers from 1-4 can be used as shortcuts for the four types, in order.
    • [ba:<ball> | ball:<ball>]: The name of the Poké Ball that the Pokémon is contained in, with no spaces (e.g., "ultraball"). The numerical IDs for the Poké Ball NBT tag can also be used.
    • [f:<form> | form:<form>]: The form index of the Pokémon.
    • [g:<gender> | gender:<gender>]: The gender of the Pokémon ("male"/"female"). "1" and "2" can also be used as shortcuts for male and female respectively.
    • [gr:<growth> | growth:<growth>]: The growth of the Pokémon. This can be either the name of the growth or the numerical ID of the growth.
    • [lvl:<level> | level:<level>]: The level of the Pokémon.
    • [n:<Nature> | nature:<Nature>]: The Nature of the Pokémon. This can either be the name of the Nature (e.g., "n:adamant") or the numerical ID of the Nature.
    • [s | shiny]: This will make the given Pokémon Shiny.
    • [!s | !shiny]: This will guarantee that the given Pokémon is not Shiny.
  • /pokestats <player>: This command will display the number of times a player has won and lost battles against other players.
  • /psnapshot: 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 "load" argument.
    • /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 <hat type | slot | "remove hat">:
    • /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 is a winner of the Halloween 2014 contest on the Pixelmon forums and specifies a party slot number containing a Haunter, the Haunter's model will become that of the Spectral Jeweller.
    • /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 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 to /setparty will prompt the player to choose up to four moves from each Pokémon's level up movepool up to the specified level. If no moves are chosen for a Pokémon, the Pokémon's moves will be randomized. It is not possible to retain the moves that the Pokémon initially had.
  • /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.

Permission nodes


Sponge commands are all in this form: <modid>.command.<command>

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. For example, using PermissionsEx, "/pex user <name> perm pixelmon.command.endbattle.self false".

  • /breed: pixelmon.command.breed
  • /copyToDB: pixelmon.command.copyToDB
  • /endbattle: pixelmon.command.endbattle
    • Allow /endbattle to be used on the command's user: pixelmon.command.endbattle.self
    • Allow /endbattle to be used on other players: pixelmon.command.endbattle.others
  • /freeze: pixelmon.command.freeze
  • /givemoney: pixelmon.command.givemoney
  • /givepixelsprite: pixelmon.command.givepixelsprite
  • /halloween: pixelmon.command.halloween
  • /pokebattle: pixelmon.command.pokebattle
  • /pokebattle2: pixelmon.command.pokebattle2
  • /pokegive: pixelmon.command.pokegive
  • /pokegiveegg: pixelmon.command.pokegiveegg
  • /pokeheal: pixelmon.command.pokeheal
  • /pokereload: pixelmon.command.pokereload
  • /pokespawn: pixelmon.command.pokespawn
  • /pokesave: pixelmon.command.pokesave
  • /pokestats: pixelmon.command.pokestats
  • /psnapshot: pixelmon.command.psnapshot
  • /redeem: pixelmon.command.redeem
  • /resetpokestats: pixelmon.commands.resetpokestats
  • /setparty: pixelmon.command.setparty
  • /spectate: pixelmon.command.spectate
  • /struc: pixelmon.command.struc
  • /teach: pixelmon.command.teach
  • /transfer: pixelmon.command.transfer
  • /unlock: pixelmon.command.unlock
  • /warpplate: pixelmon.command.warpplate


  • /breed: com.pixelmonmod.pixelmon.commands.Breed
  • /copyToDB: com.pixelmonmod.pixelmon.commands.CopyToDB
  • /endbattle: com.pixelmonmod.pixelmon.commands.EndBattle
  • /freeze: com.pixelmonmod.pixelmon.commands.Freeze
  • /halloween: com.pixelmonmod.pixelmon.commands.Halloween
  • /pokebattle: com.pixelmonmod.pixelmon.commands.Battle
  • /pokebattle2: com.pixelmonmod.pixelmon.commands.Battle2
  • /pokegive: com.pixelmonmod.pixelmon.commands.PokeGive
  • /pokegiveegg: com.pixelmonmod.pixelmon.commands.PokeGiveEgg
  • /pokeheal: com.pixelmonmod.pixelmon.commands.Heal
  • /pokespawn: com.pixelmonmod.pixelmon.commands.Spawn
  • /pokestats: com.pixelmonmod.pixelmon.commands.Stats
  • /redeem: com.pixelmonmod.pixelmon.commands.Redeem
  • /resetpokestats: com.pixelmonmod.pixelmon.commands.StatsReset
  • /setparty: com.pixelmonmod.pixelmon.commands.SetParty
  • /struc: com.pixelmonmod.pixelmon.commands.Struc
  • /teach: com.pixelmonmod.pixelmon.commands.Teach
  • /unlock: com.pixelmonmod.pixelmon.commands.Unlock