Skip to content

Placeholder Configuration

Many placeholders support customizing their general behaviors and responses. Options are organized by the type of placeholder they apply to and then potentially under the specific placeholder.

"placeholders": {
"party": {},
"species": {},
"pokedex": {},
"misc": {}
}



"party": {
"invalid_slot": "Invalid party slot argument (1-6)!",
"empty_slot": "Empty Slot",
"aspects": {
"invalid_slot": "Invalid aspect slot argument (1+)!",
"empty_list": "No Aspects",
"empty_slot": "Empty Aspect"
},
"aspects_has": {
"invalid_aspect": "Invalid aspect argument!"
},
"moveset": {
"invalid_slot": "Invalid move slot argument (1-4)!",
"empty_list": "No Moves",
"empty_slot": "Empty Move"
},
"ivs_percent": {
"fraction_min": 0,
"fraction_max": 0
},
"evs_percent": {
"fraction_min": 0,
"fraction_max": 0
},
"nickname": {
"species_if_empty": true
},
"ot_uuid": {
"none": "Unknown"
},
"ot_name": {
"none": "Unknown"
},
"property_get": {
"invalid_key": "No Value"
},
"property_has": {
"invalid_property": "Invalid Property"
}
}

Message returned when an invalid party slot number is provided as an argument! Party slot numbers must be between 1 and 6 (inclusive).

"invalid_slot": "Invalid party slot argument (1-6)!"

Message returned when a party slot is empty.

"empty_slot": "Empty Slot"

Message returned when an invalid aspect slot number is provided as an argument! Aspect slot numbers must be 1 or higher.

"invalid_slot": "Invalid aspect slot argument (1+)!"

Message returned when a Pokemon has no aspects.

"empty_list": "No Aspects"

Message returned when an aspect slot is empty.

"empty_slot": "Empty Aspect"

Message returned when an invalid aspect name is provided as an argument.

"invalid_aspect": "Invalid aspect argument!"

Message returned when an invalid move slot number is provided as an argument! Move slot numbers must be between 1 and 4 (inclusive).

"invalid_slot": "Invalid move slot argument (1-4)!"

Message returned when a Pokemon has no moves.

"empty_list": "No Moves"

Message returned when a move slot is empty.

"empty_slot": "Empty Move"

The minimum digits that are returned in the ivs_percent placeholder. This can be used to ensure that a certain number of decimal places are always returned, even if they are zeros.

"fraction_min": 0

The maximum digits that are returned in the ivs_percent placeholder. This can be used to limit the number of decimal places that are returned.

"fraction_max": 0

The minimum digits that are returned in the evs_percent placeholder. This can be used to ensure that a certain number of decimal places are always returned, even if they are zeros.

"fraction_min": 0

The maximum digits that are returned in the evs_percent placeholder. This can be used to limit the number of decimal places that are returned.

"fraction_max": 0

Whether the Pokemon’s species name should be returned if the Pokemon does not have a nickname. If set to false, an empty string will be returned if the Pokemon does not have a nickname.

"species_if_empty": true

The message returned when the Pokemon does not have an Original Trainer.

"none": "Unknown"

The message returned when the Pokemon does not have an Original Trainer.

"none": "Unknown"

The message returned when an invalid property key is provided as an argument.

"invalid_key": "No Value"

The message returned when an invalid property name is provided as an argument.

"invalid_property": "Invalid Property"



"species": {
"invalid_species": "Provide a valid species argument!",
"abilities": {
"invalid_slot": "Invalid ability slot argument (1-2,H)!",
"empty_slot": "Empty Ability"
},
"egggroups": {
"empty_list": "No Egg Groups"
},
"types": {
"invalid_slot": "Invalid type slot argument (1-2)!",
"empty_slot": "No Type"
}
}

Message returned when an invalid species name is provided as an argument.

"invalid_species": "Provide a valid species argument!"

Message returned when an invalid ability slot is provided as an argument! Ability slots must be 1, 2, or H.

"invalid_slot": "Invalid ability slot argument (1-2,H)!"

Message returned when an ability slot is empty.

"empty_slot": "Empty Ability"

Message returned when a species has no egg groups.

"empty_list": "No Egg Groups"

Message returned when an invalid type slot is provided as an argument! Type slots must be 1 or 2.

"invalid_slot": "Invalid type slot argument (1-2)!"

Message returned when a type slot is empty.

"empty_slot": "No Type"



"pokedex": {
"include_unimplemented": false,
"dex_seen_percent": {
"fraction_min": 0,
"fraction_max": 0
},
"dex_caught_percent": {
"fraction_min": 0,
"fraction_max": 0
},
"invalid_species": "Provide a valid species argument!"
}

Whether unimplemented species should be included in the pokedex-related placeholder calculations. This can change the results of percent related placeholders, which rely on knowing the total number of species available. A species is unimplemented if it does not have the "implemented" option marked as true in it’s species file (this is a Cobblemon thing). true will include unimplemented species, while false will not include them.

"include_unimplemented": false

The minimum digits that are returned in the pokedex seen percent placeholder. This can be used to ensure that a certain number of decimal places are always returned, even if they are zeros.

"fraction_min": 0

The maximum digits that are returned in the pokedex seen percent placeholder. This can be used to limit the number of decimal places that are returned.

"fraction_max": 0

The minimum digits that are returned in the pokedex caught percent placeholder. This can be used to ensure that a certain number of decimal places are always returned, even if they are zeros.

"fraction_min": 0

The maximum digits that are returned in the pokedex caught percent placeholder. This can be used to limit the number of decimal places that are returned.

"fraction_max": 0

Message returned when an invalid species name is provided as an argument in a pokedex-related placeholder

"invalid_species": "Provide a valid species argument!"



"misc": {
"invalid_molang": "Invalid Molang expression!"
}

Message returned when an invalid Molang expression is provided as an argument.

"invalid_molang": "Invalid Molang expression!"