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
m (Added "uncatchable" spec, changed form example to use name instead of number)
(Added the areyouaboss spec and the breaking changes to isboss)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:Pokémon spec}}
 
{{DISPLAYTITLE:Pokémon spec}}
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.  
+
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.
 
The in-built keys and arguments are below.
Line 8: Line 8:
 
!Argument
 
!Argument
 
|-  
 
|-  
|None
+
|None|<code>species<nowiki>|</nowiki>ndex</code>
 
|Pokémon species name
 
|Pokémon species name
 
|-
 
|-
|<code>level<nowiki>|</nowiki>lvl</code>
+
|<code>ability<nowiki>|</nowiki>ab</code>
|The level of the Pokémon
+
|The [[Ability]] of the Pokémon (case sensitive, no spaces; e.g., <code>[[Swift Swim|SwiftSwim]]</code>)
 +
|-
 +
|<code>ai<nowiki>|</nowiki>agro</code>
 +
|The aggression level of the Pokemon. This can be <code>timid</code>, <code>passive</code>, or <code>aggressive</code>.
 +
|-
 +
|<code>ball<nowiki>|</nowiki>ba</code>
 +
|The caught [[Poké Ball]] of the Pokémon
 +
|-
 +
|<code>boss<nowiki>|</nowiki>b<nowiki>|</nowiki>isboss<nowiki>|</nowiki>areyouaboss</code>
 +
|The [[boss]] mode of the Pokémon. The <code>isboss</code> and <code>areyouaboss</code> specs can only check if the Pokemon is a boss Pokémon.
 +
|-
 +
|<code>cancrowned</code>
 +
|If given this spec, Zacian/Zamazenta will spawn holding <code>[[Rusted Sword|Rusted Sword]]/[[Rusted Shield|Rusted Shield]]</code>
 +
|-
 +
|<code>canmegaevolve<nowiki>|</nowiki>canmega</code>
 +
|Whether or not this Pokemon can [[Mega|Mega Evolve]]. Either <code>true</code> or <code>false</code>.
 +
|-
 +
|<code>canprimalevolve<nowiki>|</nowiki>canprimal</code>
 +
|Whether or not this Pokemon can primal evolve. Either <code>true</code> or <code>false</code>.
 +
|-
 +
|<code>canultraburst<nowiki>|</nowiki>canultra</code>
 +
|Whether or not this Pokemon can [[Ultra Burst]]. Either <code>true</code> or <code>false</code>.
 +
|-
 +
|<code>clone</code>
 +
|How many times Mew has been cloned already. If 3, Mew will not be able to be cloned.
 +
|-
 +
|<code>cured</code>
 +
|None (Pokémon has the "Pokérus cured" status, currently requires that the 'pokerus' key be set).
 +
|-
 +
|<code>egg</code>
 +
|None (Pokémon is an egg)
 +
|-
 +
|<code>!egg</code>
 +
|None (Pokémon is not an egg)
 +
|-
 +
|<code>enchantedcount<nowiki>|</nowiki>enchanted<nowiki>|</nowiki>laketrioenchanted</code>
 +
|How many times Mesprit/Uxie/Azelf have enchanted rubies.
 +
|-
 +
|<code>[ev][hp/atk/def/spatk/spdef/spd]</code>
 +
|The number to use for the specified [[EVs|EV]].
 +
|-
 +
|<code>exp<nowiki>|</nowiki>xp</code>
 +
|How much EXP the Pokemon will have.
 +
|-
 +
|<code>form<nowiki>|</nowiki>f</code>
 +
|The [[form]] of the Pokémon.
 
|-
 
|-
 
|<code>gender<nowiki>|</nowiki>g</code>
 
|<code>gender<nowiki>|</nowiki>g</code>
 
|<code>male<nowiki>|</nowiki>female</code>
 
|<code>male<nowiki>|</nowiki>female</code>
 
|-
 
|-
|<code>type</code>
+
|<code>generation<nowiki>|</nowiki>gen</code>
|The type of the Pokémon. <code>type1</code> would be the first type of the Pokémon, and <code>type2</code> would be the 2nd type.
+
|Which generation the Pokemon is from when using the <code>random</code> spec.  
 
|-
 
|-
|<code>shiny<nowiki>|</nowiki>s</code>
+
|<code>gmaxfactor</code>
|None (Pokémon is [[Shiny]])
+
|The Pokemon will have the [[Gigantamax|Gigantamax]] factor if it is compatible.
|-
 
|<code>!shiny<nowiki>|</nowiki>!s</code>
 
|None (Pokémon is specifically not Shiny)
 
 
|-
 
|-
 
|<code>growth<nowiki>|</nowiki>gr</code>
 
|<code>growth<nowiki>|</nowiki>gr</code>
 
|The [[growth (stat)|growth]] of the Pokémon
 
|The [[growth (stat)|growth]] of the Pokémon
 +
|-
 +
|<code>helditem<nowiki>|</nowiki>hi</code>
 +
|The [[held item|held item]] the Pokemon will have.
 +
|-
 +
|<code>hiddenability<nowiki>|</nowiki>ha</code>
 +
|<code>true</code>|<code>false</code>
 +
|-
 +
|<code>[iv][hp/atk/def/spatk/spdef/spd]</code>
 +
|The number to use for the specified [[IVs|IV]].
 +
|-
 +
|<code>legendary<nowiki>|</nowiki>leg<nowiki>|</nowiki>islegendary</code>
 +
|None (Pokemon is [[Legendary]]). This can be negated with <code>false</code>
 +
|-
 +
|<code>level<nowiki>|</nowiki>lvl</code>
 +
|The level of the Pokémon
 +
|-
 +
|<code>maxlevel<nowiki>|</nowiki>maxlvl<nowiki>|</nowiki>ltlvl</code>
 +
|The highest level the Pokemon will be
 +
|-
 +
|<code>minlevel<nowiki>|</nowiki>minlvl<nowiki>|</nowiki>gtlvl</code>
 +
|The lowest level the Pokemon will be
 +
|-
 +
|<code>[mod][hp/atk/def/spatk/spdef/spd][iv]</code>
 +
|The number added onto a specific [[IVs|IV]] stat
 +
|-
 +
|<code>[mod][hp/atk/def/spatk/spdef/spd][ev]</code>
 +
|The number added onto a specific [[EV|EV]] stat
 +
|-
 +
|<code>move[1/2/3/4]</code>
 +
|The [[Moves]] the Pokemon will have. No spaces; e.g, <code>shadowball</code> or <code>baby-doll_eyes</code>. Multiple move specs can be used in the command.
 
|-
 
|-
 
|<code>nature<nowiki>|</nowiki>n</code>
 
|<code>nature<nowiki>|</nowiki>n</code>
 
|The [[Nature]] of the Pokémon
 
|The [[Nature]] of the Pokémon
 
|-
 
|-
|<code>ability<nowiki>|</nowiki>ab</code>
+
|<code>nickname<nowiki>|</nowiki>nick</code>
|The [[Ability]] of the Pokémon (case sensitive, no spaces; e.g., <code>[[Swift Swim|SwiftSwim]]</code>)
+
|The Nickname of the Pokémon
 
|-
 
|-
|<code>boss<nowiki>|</nowiki>b</code>
+
|<code>nodrops<nowiki>|</nowiki>cannotdrop</code>
|The [[boss]] mode of the Pokémon
+
|None (Pokemon will not drop anything)
 
|-
 
|-
|<code>form<nowiki>|</nowiki>f</code>
+
|<code>originaltrainername<nowiki>|</nowiki>otn</code>
|The [[form index]] of the Pokémon
+
|The Original Trainer of the Pokemon
 
|-
 
|-
|<code>ball<nowiki>|</nowiki>ba</code>
+
|<code>palette<nowiki>|</nowiki>ispalette<nowiki>|</nowiki>customtexture</code>
|The caught [[Poké Ball]] of the Pokémon
+
|The [[Special Texture]] of the Pokemon. This is also used for custom textures from Resource Packs.
 
|-
 
|-
 
|<code>pokerus<nowiki>|</nowiki>pkrs</code>
 
|<code>pokerus<nowiki>|</nowiki>pkrs</code>
 
|The Pokémon's strain of [[Pokérus]], <code>a-d</code> (with <code>d</code> being longest, 4 days)
 
|The Pokémon's strain of [[Pokérus]], <code>a-d</code> (with <code>d</code> being longest, 4 days)
|-
 
|<code>egg</code>
 
|None (Pokémon is an egg)
 
|-
 
|<code>!egg</code>
 
|None (Pokémon is not an egg)
 
 
|-
 
|-
 
|<code>random</code>
 
|<code>random</code>
 
|None (Pokémon will be random)
 
|None (Pokémon will be random)
 
|-
 
|-
|<code>cured</code>
+
|<code>resetevs</code>
|None (Pokémon has the "Pokérus cured" status, currently requires that the 'pokerus' key be set).
+
|The Pokemon's [[EV|EV]] stats will be reset
 +
|-
 +
|<code>resetivs</code>
 +
|The Pokemon's [[IVs|IV]] stats will be reset
 
|-
 
|-
|<code>uncatchable</code>
+
|<code>ribbon<nowiki>|</nowiki>ribbons</code>
|None (Pokémon will be unable to be caught via any Pixelmon means. Sidemods do not necessarily support this, though most do).
+
|The name of the [https://bulbapedia.bulbagarden.net/wiki/Mark#List_of_marks Mark/Ribbon] to apply to a Pokémon.
 
|-
 
|-
|<code>untradeable</code>
+
|<code>shiny<nowiki>|</nowiki>s</code>
|None (Pokémon will be unable to be traded via any Pixelmon means. Sidemods do not necessarily support this, though most do).
+
|None (Pokémon is [[Shiny]])
 
|-
 
|-
|<code>unbreedable</code>
+
|<code>!shiny<nowiki>|</nowiki>!s</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).
+
|None (Pokémon is specifically not Shiny)
 
|-
 
|-
 
|<code>status</code>
 
|<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>drowsy</code>, <code>sleep</code>, <code>burn</code>, <code>paralysis</code>, <code>frozen</code> <code>frostbitten</code>, <code>poison</code>, or <code>poisonbadly</code>. Gives the Pokémon the specified status ailment.
 
|-
 
|-
|<code>[iv/ev][hp/atk/def/spatk/spdef/spd]</code>
+
|<code>type</code>
|The number to use for the specified [[IVs|IV]] or [[EVs|EV]].
+
|The type of the Pokémon. <code>type1</code> would be the first type of the Pokémon, and <code>type2</code> would be the 2nd type.
 
|-
 
|-
|<code>st</code>
+
|<code>ultrabeast<nowiki>|</nowiki>isultrabeast<nowiki>|</nowiki>ub</code>
|The name of the [[Special Texture]] to apply. If none is specified it will pick the first available.
+
|None (Pokémon is specifically an Ultrabeast). This can be negated with <code>!</code>
 
|-
 
|-
|<code>customtexture</code>
+
|<code>uncatchable</code>
|The name of the [[Custom texture]] to apply from a resource pack. The argument would be the custom texture folder name.  
+
|None (Pokémon will be unable to be caught via any Pixelmon means. Sidemods do not necessarily support this, though most do).
 
|-
 
|-
|<code>ribbon</code>
+
|<code>untradeable</code>
|The name of the [https://bulbapedia.bulbagarden.net/wiki/Mark#List_of_marks Mark/Ribbon] to apply to a Pokémon. This spec can only be used with the [[Pixelmon Extras]] <code>/pokeedit</code> command.
+
|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 [[Day_Care|Day Cares]] or breeding commands. Sidemods do not necessarily support this, though most do).  
 
|}
 
|}
  
Line 89: Line 161:
 
*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>/pokespawn</code> [[command]], using <code>/pokespawn random type1:Water type2:Ground</code> would spawn a random Pokémon that has Water as its first type and Ground as its 2nd type.
 
*In the <code>/pokespawn</code> [[command]], using <code>/pokespawn random type1:Water type2:Ground</code> would spawn a random Pokémon that has Water as its first type and Ground as its 2nd type.
*In the <code>/pokegive</code> command, using <code>/pokegive <player> Burmy f:sandy ba:masterball !s g:male pkrs:d</code> would give a male [[Burmy]] of [[form index]] "sandy" (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:sandy ba:master_ball !s g:male pkrs:d</code> would give a male [[Burmy]] of [[form index]] "sandy" (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> Growlithe ivspd:31 evspd:252 evatk:252 n:adamant</code> gives the player an Adamant [[Nature]]d [[Growlithe]] with 31 [[IVs]] for speed and 252 [[EVs]] in both speed and attack.
+
*In the <code>/pokegive</code> [[command]], using <code>/pokegive <player> Growlithe ivspd:31 evspd:252 evatk:252 n:adamant</code> gives the player an Adamant [[Nature]]d [[Growlithe]] with 31 [[IVs]] for speed and 252 [[EVs]] in both speed and attack.
*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]], using <code>/pokedel <player> pc s</code> would remove all Shiny Pokémon from a player's [[PC]].
*In the <code>/pokeedit</code> command in [[Pixelmon Extras]], using <code>/pokeedit <player> 1 ribbon:cloudy</code> would apply the Cloudy Mark to the 1st Pokémon in the specified player's party.
+
*In the <code>/pokeedit</code> [[command]], using <code>/pokeedit <player> 1 ribbon:cloudy</code> would apply the Cloudy Mark to the 1st Pokémon in the specified player's party.

Latest revision as of 07:03, 25 October 2024

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
species|ndex Pokémon species name
ability|ab The Ability of the Pokémon (case sensitive, no spaces; e.g., SwiftSwim)
ai|agro The aggression level of the Pokemon. This can be timid, passive, or aggressive.
ball|ba The caught Poké Ball of the Pokémon
boss|b|isboss|areyouaboss The boss mode of the Pokémon. The isboss and areyouaboss specs can only check if the Pokemon is a boss Pokémon.
cancrowned If given this spec, Zacian/Zamazenta will spawn holding Rusted Sword/Rusted Shield
canmegaevolve|canmega Whether or not this Pokemon can Mega Evolve. Either true or false.
canprimalevolve|canprimal Whether or not this Pokemon can primal evolve. Either true or false.
canultraburst|canultra Whether or not this Pokemon can Ultra Burst. Either true or false.
clone How many times Mew has been cloned already. If 3, Mew will not be able to be cloned.
cured None (Pokémon has the "Pokérus cured" status, currently requires that the 'pokerus' key be set).
egg None (Pokémon is an egg)
!egg None (Pokémon is not an egg)
enchantedcount|enchanted|laketrioenchanted How many times Mesprit/Uxie/Azelf have enchanted rubies.
[ev][hp/atk/def/spatk/spdef/spd] The number to use for the specified EV.
exp|xp How much EXP the Pokemon will have.
form|f The form of the Pokémon.
gender|g male|female
generation|gen Which generation the Pokemon is from when using the random spec.
gmaxfactor The Pokemon will have the Gigantamax factor if it is compatible.
growth|gr The growth of the Pokémon
helditem|hi The held item the Pokemon will have.
hiddenability|ha false
[iv][hp/atk/def/spatk/spdef/spd] The number to use for the specified IV.
legendary|leg|islegendary None (Pokemon is Legendary). This can be negated with false
level|lvl The level of the Pokémon
maxlevel|maxlvl|ltlvl The highest level the Pokemon will be
minlevel|minlvl|gtlvl The lowest level the Pokemon will be
[mod][hp/atk/def/spatk/spdef/spd][iv] The number added onto a specific IV stat
[mod][hp/atk/def/spatk/spdef/spd][ev] The number added onto a specific EV stat
move[1/2/3/4] The Moves the Pokemon will have. No spaces; e.g, shadowball or baby-doll_eyes. Multiple move specs can be used in the command.
nature|n The Nature of the Pokémon
nickname|nick The Nickname of the Pokémon
nodrops|cannotdrop None (Pokemon will not drop anything)
originaltrainername|otn The Original Trainer of the Pokemon
palette|ispalette|customtexture The Special Texture of the Pokemon. This is also used for custom textures from Resource Packs.
pokerus|pkrs The Pokémon's strain of Pokérus, a-d (with d being longest, 4 days)
random None (Pokémon will be random)
resetevs The Pokemon's EV stats will be reset
resetivs The Pokemon's IV stats will be reset
ribbon|ribbons The name of the Mark/Ribbon to apply to a Pokémon.
shiny|s None (Pokémon is Shiny)
!shiny|!s None (Pokémon is specifically not Shiny)
status drowsy, sleep, burn, paralysis, frozen frostbitten, poison, or poisonbadly. Gives the Pokémon the specified status ailment.
type The type of the Pokémon. type1 would be the first type of the Pokémon, and type2 would be the 2nd type.
ultrabeast|isultrabeast|ub None (Pokémon is specifically an Ultrabeast). This can be negated with !
uncatchable None (Pokémon will be unable to be caught via any Pixelmon means. Sidemods do not necessarily support this, though most do).
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 Day Cares or breeding commands. Sidemods do not necessarily support this, though most do).

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 /pokespawn command, using /pokespawn random type1:Water type2:Ground would spawn a random Pokémon that has Water as its first type and Ground as its 2nd type.
  • In the /pokegive command, using /pokegive <player> Burmy f:sandy ba:master_ball !s g:male pkrs:d would give a male Burmy of form index "sandy" (Sandy Cloak) that is not Shiny and is in a Master Ball, infected with a four-day strain of Pokérus.
  • In the /pokegive command, using /pokegive <player> Growlithe ivspd:31 evspd:252 evatk:252 n:adamant gives the player an Adamant Natured Growlithe with 31 IVs for speed and 252 EVs in both speed and attack.
  • In the /pokedel command, using /pokedel <player> pc s would remove all Shiny Pokémon from a player's PC.
  • In the /pokeedit command, using /pokeedit <player> 1 ribbon:cloudy would apply the Cloudy Mark to the 1st Pokémon in the specified player's party.

© 2012 - 2025 Pixelmon Mod