Objectives - Neovitalism/BetonMons-Wiki GitHub Wiki

Objectives are the most complicated out of the additions, but there's also the most of them. "[ ]" means the argument is non-optional. "<>" means that the argument is optional. All objectives that include the optional "<notify:#>" must be added to BetonQuest's messages.yml under the language in use for notify to function. Every objective that uses notify will need a key added to the messages.yml. A copy of all notify keys together with some defaults will be at the bottom of this page for quick copying. For all notify keys that have "{3}", that's better explained on the config.yml page here. Otherwise, "{1}" will always be the player's progress out of "{2}", what you defined [amount] to be.

Pixelmon Integration

Objective Name Description Format Notify Key
breedpokemon This objective is passed when [amount] of eggs matching the Spec Identifier are collected. "breedpokemon [Spec Identifier] [amount] <notify:#>" breed_pokemon: '&6{3} bred: &e{1}/{2}'
buyfromshopkeeper This objective is passed when the player purchases [amount] of items by the name specified from a shopkeeper. "buyfromshopkeeper [Item Name (use -- for a space)] [amount] <notify:#>" buy_from_shopkeeper: '&6{3} purchased: &e{1}/{2}'
catchpokemon This objective is passed when the player catches [amount] of Pokémon matching the Spec Identifier. "catchpokemon [Spec Identifier] [amount] <notify:#>" catch_pokemon: '&6{3} caught: &e{1}/{2}'
choosestarter This objective is passed when the player chooses a starter. "choosestarter"
craftnbt This objective is passed when the player crafts [amount] of items matching the Item Identifier. "craftnbt [Item Identifier Key] [amount] <notify:#>" craft_nbt: '&6{3} crafted: &e{1}/{2}'
defeattrainers This objective is passed when the player defeats [amount] of trainers. If you own NeoExtras, you can optionally include NeoExtras trainers by adding "includeExtras" to the objective. "defeattrainers [amount] <includeExtras> <notify:#>" defeat_trainers: '&6Trainers defeated: &e{1}/{2}'
evolvefrom This objective is passed when the player evolves Pokémon matching the Spec Identifier [amount] times. "evolvefrom [Spec Identifier] [amount] <notify:#>" evolve_from_pokemon: '&6{3} evolved: &e{1}/{2}'
evolveto This objective is passed when the player evolves Pokémon into Pokémon matching the Spec Identifier [amount] times. "evolveto [Spec Identifier] [amount] <notify:#>" evolve_to_pokemon: '&6Pokémon evolved into {3}: &e{1}/{2}'
gainexp This objective is passed when the player gains [amount] experience on a Pokémon matching the Spec Identifier. "gainexp [Spec Identifier] [amount] <notify:#>" gain_exp: '&6Experience gained on {3} Pokémon: &e{1}/{2}'
hatchpokemon This objective is passed when the player hatches [amount] Pokémon matching the Spec Identifier. "hatchpokemon [Spec Identifier] [amount] <notify:#>" hatch_pokemon: '&6{3} hatched: &e{1}/{2}'
killpokemon This objective is passed when the player defeats [amount] Pokémon matching the Spec Identifier. "killpokemon [Spec Identifier] [amount] <notify:#>" kill_pokemon: '&6{3} defeated: &e{1}/{2}'
levelpokemon This objective is passed when the player levels Pokémon matching the Spec Identifier [amount] times. "levelpokemon [Spec Identifier] [amount] <notify:#>" level_pokemon: '&6{3} defeated: &e{1}/{2}'
pickapricorn This objective is passed when the player picks [amount] Apricorns specified by the Apricorn Identifier. "pickapricorn [Apricorn Identifier] [amount] <notify:#>" pick_apricorn: '&6{3} apricorns picked: &e{1}/{2}'
pickberry This objective is passed when the player picks [amount] Berries specified by the Berry Identifier. "pickberry [Berry Identifier] [amount] <notify:#>" '&6{3} berries picked: &e{1}/{2}'
selltoshopkeeper This objective is passed when the player sells [amount] of items by the name specified to a shopkeeper. "selltoshopkeeper [Item Name (use -- for a space)] [amount] <notify:#>" sell_to_shopkeeper: '&6{3} sold: &e{1}/{2}'
takepicture This objective is passed when the player takes a picture of a Pokémon matching the Spec Identifier. "takepicture [Spec Identifier]"
trainerdefeat This objective is passed when the player defeats the trainer with the UUID specified. "trainerdefeat [UUID]"
trainerloss This objective is passed when the player loses to the trainer with the UUID specified. "trainerloss [UUID]"

NeoExtras Integration

BetonMons adds 2 extra objectives if you have NeoExtras installed, to use with virtual trainers.

Objective Name Description Format
extrastrainerdefeat This objective is passed when the player defeats the virtual trainer specified. "extrastrainerdefeat [trainerID]"
extrastrainerloss This objective is passed when the player loses to the virtual trainer specified. "extrastrainerloss [trainerID]"

OldSchoolBreeding Integration

BetonMons adds an extra objective if you have OldSchoolBreeding installed.

Objective Name Description Format
osbreedpokemon This objective is passed when [amount] of eggs matching the Spec Identifier are created from OSB daycares. "osbreedpokemon [Spec Identifier] [amount] <notify:#>"

All notify additions to add to messages.yml:

  breed_pokemon: '&6{3} bred: &e{1}/{2}'
  buy_from_shopkeeper: '&6{3} purchased: &e{1}/{2}'
  catch_pokemon: '&6{3} caught: &e{1}/{2}'
  craft_nbt: '&6{3} crafted: &e{1}/{2}'
  defeat_trainers: '&6Trainers defeated: &e{1}/{2}'
  evolve_from_pokemon: '&6{3} evolved: &e{1}/{2}'
  evolve_to_pokemon: '&6Pokémon evolved into {3}: &e{1}/{2}'
  gain_exp: '&6Experience gained on {3} Pokémon: &e{1}/{2}'
  hatch_pokemon: '&6{3} hatched: &e{1}/{2}'
  kill_pokemon: '&6{3} defeated: &e{1}/{2}'
  level_pokemon: '&6{3} defeated: &e{1}/{2}'
  pick_apricorn: '&6{3} apricorns picked: &e{1}/{2}'
  pick_berry: '&6{3} berries picked: &e{1}/{2}'
  sell_to_shopkeeper: '&6{3} sold: &e{1}/{2}'
⚠️ **GitHub.com Fallback** ⚠️