Join our discord
In partnership with NodeCraft Logo NodeCraft


You are not logged in! Create an account or login to contribute! Log in here!

Difference between revisions of "Pokemon spec"

From Pixelmon Wiki
(Added "egg" and "random" specs)
(Updated with all the additions since 6.3)
Line 1: Line 1:
 
{{DISPLAYTITLE:Pokémon spec}}
 
{{DISPLAYTITLE:Pokémon spec}}
A Pokémon spec is a collection of arguments designed to form a description of a Pokémon. These are used in [[Pixelmon]]'s <code>/pokegive</code> and <code>/pokespawn</code> [[commands]] to define different aspects of Pokémon, and in Pixelmon [[sidemod]] commands as a complete summary or as a filter. Pokémon specs are composed of a series of order-less keys, keys and arguments, or only arguments, depending on the characteristic. The existing keys and arguments are below.
+
A Pokémon spec is a universal description of a Pokémon, made using text separated usually by spaces except for in very specific places where commas are used instead. Pokémon specs are used in very many places, including [[Pixelmon]]'s <code>/pokegive</code> and <code>/pokespawn</code> [[commands]], the [[Better_Spawner|Better Spawner]], and NPC trades to name only a few. Pokémon specs are composed of a series of unordered keys, keys and arguments, or only arguments, depending on the characteristic. Sidemods are easily capable of creating additions to Pokémon specs so that all places that use this system will support those custom characteristics without exception.
 +
 
 +
The in-built keys and arguments are below.
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
Line 52: Line 54:
 
|-
 
|-
 
|<code>texture</code>
 
|<code>texture</code>
|This will apply a custom texture to the pokémon (if you have any)
+
|This will apply a custom texture to the Pokémon (if you have any)
 
|-
 
|-
|<code>cured
+
|<code>cured</code>
 
|None (Pokémon has the "Pokérus cured" status, currently requires that the 'pokerus' key be set).
 
|None (Pokémon has the "Pokérus cured" status, currently requires that the 'pokerus' key be set).
 +
|-
 +
|<code>untradeable</code>
 +
|None (Pokémon will be unable to be traded via any Pixelmon means. Sidemods do not necessarily support this, though most do).
 +
|-
 +
|<code>unbreedable</code>
 +
|None (Pokémon will be unable to produce offspring from [[Ranch_Block|Ranch Blocks]] or breeding commands. Sidemods do not necessarily support this, though most do).
 +
|-
 +
|<code>status</code>
 +
|<code>sleep</code>, <code>burn</code>, <code>paralysis</code>, <code>frozen</code>, <code>poison</code>, or <code>poisonbadly</code>. Gives the Pokémon the specified status ailment.
 +
|-
 +
|<code>setall[ivs/evs]</code>
 +
|The number to use for all the IVs or EVs of the Pokémon.
 +
|-
 +
|<code>[iv/ev][hp/atk/def/spatk/spdef/spd]</code>
 +
|The number to use for the specified IV or EV, or a number and either <code>+</code> or <code>-</code> for a specified range of possible numbers. In the second case, the given number will be the minimum or maximum value, respectively, for the IV or EV. For example, <code>ivhp:29+</code> will give the Pokémon at least 29 HP IVs, and <code>evatk:200-</code> will give the Pokémon no more than 200 Attack EVs.
 
|}
 
|}
  
 
These are generally used in the form <code>''key''[:''argument'']</code>, with the exception of the Pokémon species.
 
These are generally used in the form <code>''key''[:''argument'']</code>, with the exception of the Pokémon species.
 +
 
==Examples==
 
==Examples==
 
*In the <code>/pokespawn</code> [[command]], using <code>/pokespawn lvl:50 Kingdra ab:SwiftSwim n:modest gr:enormous s b:Uncommon</code> would spawn an enormous, [[Shiny]], uncommon boss [[Kingdra]] at level 50, with the [[Swift Swim]] [[Ability]] and a Modest [[Nature]].
 
*In the <code>/pokespawn</code> [[command]], using <code>/pokespawn lvl:50 Kingdra ab:SwiftSwim n:modest gr:enormous s b:Uncommon</code> would spawn an enormous, [[Shiny]], uncommon boss [[Kingdra]] at level 50, with the [[Swift Swim]] [[Ability]] and a Modest [[Nature]].
 
*In the <code>/pokegive</code> command, using <code>/pokegive <player> Burmy f:1 ba:masterball !s g:m pkrs:d</code> would give a male [[Burmy]] of [[form index]] 1 (Sandy Cloak) that is not Shiny and is in a [[Master Ball]], infected with a four-day strain of [[Pokérus]].
 
*In the <code>/pokegive</code> command, using <code>/pokegive <player> Burmy f:1 ba:masterball !s g:m pkrs:d</code> would give a male [[Burmy]] of [[form index]] 1 (Sandy Cloak) that is not Shiny and is in a [[Master Ball]], infected with a four-day strain of [[Pokérus]].
 
*In the <code>/pokedel</code> command in [[Pixelmon Extras]], using <code>/pokedel <player> pc s</code> would remove all Shiny Pokémon from a player's [[PC]].
 
*In the <code>/pokedel</code> command in [[Pixelmon Extras]], using <code>/pokedel <player> pc s</code> would remove all Shiny Pokémon from a player's [[PC]].

Revision as of 21:15, 29 May 2019

A Pokémon spec is a universal description of a Pokémon, made using text separated usually by spaces except for in very specific places where commas are used instead. Pokémon specs are used in very many places, including Pixelmon's /pokegive and /pokespawn commands, the Better Spawner, and NPC trades to name only a few. Pokémon specs are composed of a series of unordered keys, keys and arguments, or only arguments, depending on the characteristic. Sidemods are easily capable of creating additions to Pokémon specs so that all places that use this system will support those custom characteristics without exception.

The in-built keys and arguments are below.

Key Argument
None Pokémon species name
level|lvl The level of the Pokémon
gender|g male|female
shiny|s None (Pokémon is Shiny)
!shiny|!s None (Pokémon is specifically not Shiny)
growth|gr The growth of the Pokémon
nature|n The Nature of the Pokémon
ability|ab The Ability of the Pokémon (case sensitive, no spaces; e.g., SwiftSwim)
boss|b The boss mode of the Pokémon
form|f The form index of the Pokémon
ball|ba The caught Poké Ball of the Pokémon
pokerus|pkrs The Pokémon's strain of Pokérus, a-d (with d being longest, 4 days)
egg None (Pokémon is an egg)
!egg None (Pokémon is not an egg)
random None (Pokémon will be random)
texture This will apply a custom texture to the Pokémon (if you have any)
cured None (Pokémon has the "Pokérus cured" status, currently requires that the 'pokerus' key be set).
untradeable None (Pokémon will be unable to be traded via any Pixelmon means. Sidemods do not necessarily support this, though most do).
unbreedable None (Pokémon will be unable to produce offspring from Ranch Blocks or breeding commands. Sidemods do not necessarily support this, though most do).
status sleep, burn, paralysis, frozen, poison, or poisonbadly. Gives the Pokémon the specified status ailment.
setall[ivs/evs] The number to use for all the IVs or EVs of the Pokémon.
[iv/ev][hp/atk/def/spatk/spdef/spd] The number to use for the specified IV or EV, or a number and either + or - for a specified range of possible numbers. In the second case, the given number will be the minimum or maximum value, respectively, for the IV or EV. For example, ivhp:29+ will give the Pokémon at least 29 HP IVs, and evatk:200- will give the Pokémon no more than 200 Attack EVs.

These are generally used in the form key[:argument], with the exception of the Pokémon species.

Examples

  • In the /pokespawn command, using /pokespawn lvl:50 Kingdra ab:SwiftSwim n:modest gr:enormous s b:Uncommon would spawn an enormous, Shiny, uncommon boss Kingdra at level 50, with the Swift Swim Ability and a Modest Nature.
  • In the /pokegive command, using /pokegive <player> Burmy f:1 ba:masterball !s g:m pkrs:d would give a male Burmy of form index 1 (Sandy Cloak) that is not Shiny and is in a Master Ball, infected with a four-day strain of Pokérus.
  • In the /pokedel command in Pixelmon Extras, using /pokedel <player> pc s would remove all Shiny Pokémon from a player's PC.

© 2012 - 2025 Pixelmon Mod