Skip to content

Identifiers

Neovitalism edited this page Dec 3, 2024 · 1 revision

Identifiers are used to finely tune what the additions can do. There are currently 4 types of Identifiers, "Spec", "Apricorn", "Berry", and "Item". All of which more information can be found on below.

Spec Identifiers

Spec identifiers are the most powerful of the Identifier types, able to specify any Pokémon down to the T. Spec identifier tags are not case-sensitive. Some specs have special rules, and some can only be used in certain additions, specified in their descriptions if applicable. Multiple spec identifiers may be specified at once by separating them with a comma, like "p:ponyta,p:rapidash,shiny" will check if the Pokémon is a shiny Ponyta or Rapidash. All spec identifiers are found in the chart below. Remove all spaces from any entries. To solely check for any Pokémon, use "type:any", otherwise if no species is specified it will automatically check any Pokémon.

Spec Values Description
AB: [abilityName] Checks if the Pokémon has an ability by this name. Using more than one of this spec acts as "OR".
Boss: [bossName], "any" Checks if the Pokémon is a boss of the specified type. Using more than one of this spec acts as "OR". Only usable in "killpokemon" and "takepicture" objectives. "Any" will simply check if the Pokémon is a boss.
Form: [formName] Checks if the Pokémon is the given form. Using more than one of this spec acts as "OR".
Gen: [generationNumber] Checks if the Pokémon is from the given generation. Ignores forms. Using more than one of this spec acts as "OR".
Gender: "Male", "Female", "Genderless" Checks if the Pokémon is the given gender. Only pays attention to the last gender entry, only one is allowed.
HiddenAB Checks if the Pokémon has its hidden ability.
Legendary Checks if the Pokémon is Legendary or Mythical.
Legendary:Only Checks if the Pokémon is Legendary only.
Mythical Checks if the Pokémon is Mythical.
Nature: [natureName] Checks if the Pokémon has the specified nature. Using more than one of this spec acts as "OR".
OT: "True", "False" True checks if the player is the Pokémon's original trainer. False checks if the player isn't the Pokémon's original trainer. Only usable in "breedpokemon", "evolvefrompokemon", "evolvetopokemon", "hatchpokemon", and "levelpokemon" objectives, alongside the "haspokemon" condition.
Palette: [paletteName] Checks if the Pokémon has the specified palette. Using more than one of this spec acts as "OR".
Parent Checks the parents instead of the offspring for the "breedpokemon" objective.
PKRS Checks if the Pokémon has pokerus.
P: [pokemonName] Checks if the Pokémon is of the specified species. Using more than one of this spec acts as "OR".
Ribbon: [ribbonID] Checks if the pokémon has a ribbon with the specified ID. Using more than one of this spec ats as "OR".
Shiny Checks if the Pokémon is shiny.
Status: "Burned", "Frozen", "Asleep", "Poisoned", "Paralyzed" Checks if the Pokémon has the given status effect. Using more than one of this spec acts as "OR".
Type: [typeName] Checks if the Pokémon has the given type. Using more than one of this spec acts as "OR".
UltraBeast Checks if the Pokémon is an Ultra Beast.
Unbreedable Checks if the Pokémon is unbreedable.
Uncatchable Checks if the Pokémon is uncatchable.
Untradeable Checks if the Pokémon is untradeable.

Apricorn Identifiers

Apricorn identifiers are the different colours of Apricorns (not case-sensitive), that's it. All options are "Red", "Yellow", "Blue", "Green", "Pink", "White", "Black", and "Any". You can specify multiple apricorns by adding a comma between each, like so: "red,blue,green,yellow".

Berry Identifiers

Berry identifiers are simply the name of any berry, not case-sensitive, like "Sitrus", "aguav", or "oRaN". You can specify multiple berries by adding a comma between each, like so: "sitrus,aguav,oran". You can simply put "any" to specify any berry.

Item Identifiers

Item identifiers aren't quite like the other 3 identifiers. Instead of being defined in a single string, Item Identifiers are configured in BetonMons' config.yml and the key is used to reference to the item. The default config includes this example:

Item-Identifiers:
  ExampleItem:
    Material: "PIXELMON_POKE_BALL"
    NBT:
      PokeballID: "ultra_ball"
    # CustomModelData: 0

The only tags these identifiers allow are Material, NBT, and CustomModelData, as Item Identifiers are only used in the "craftnbt" objective. This example is looking for an Ultra Ball to be crafted, and is used like so: "craftnbt ExampleItem 1".

Clone this wiki locally