Commands

This is a list of commands added by Pixelmon.

Contents

Commands

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.
  • /halloween ["persistent"]: Spawns the Spectral Jeweller. This command only functions if "spawnGemShrines" is enabled in the Pixelmon config file. The "persistent" argument will prevent the Spectral Jeweller from despawning when it is far away from all players.
  • /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>: 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 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"> ["s"] ["lvl<level>"] ["form<form number>"]: 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. The arguments may be any combination (including none) of:
    • s: This will make the given Pokémon Shiny.
    • lvl<level> This will make the Pokémon the level specified (e.g., "/pokegive caterpie lvl100").
    • form<form number>: This will force a Pokémon with multiple forms to be a certain form according to its form index. Without this argument, a random form will be chosen for a Pokémon with multiple forms.
  • /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.
  • /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. 'Optional arguments that can be used in this spawning include:
    • s: This will make the spawned Pokémon Shiny.
    • boss<1-4>: This will spawn a boss depending on the number.
      • boss1: This will spawn a green boss Pokémon.
      • boss2: This will spawn a blue boss Pokémon.
      • boss3: This will spawn a red boss Pokémon.
      • boss4: This will spawn a yellow boss Pokémon.
    • lvl<level>: This will make the Pokémon the level specified (e.g. "/pokespawn caterpie lvl100").
    • form<form number>: This will force a Pokémon with multiple forms to be a certain form according to its form index. Without this argument, a random form will be chosen for a Pokémon with multiple forms.
  • /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 load <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 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 cannot be read back into Minecraft yet; this functionality will be introduced in the next update.
    • /psnapshot place: Copies the previously saved blocks and places them where the player is located.
  • /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.
  • /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>: 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.
  • /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

Bukkit

  • /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

Sponge

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

  • /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
  • /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