1.1.0
This update introduces new options that allow you to now fully automatically update nicknames based on specs; No more needing to set nicknames in your /give commands, or manually fix nicknames after the Pokémon has evolved!
+ Added `update-on-evolve` setting to individual nickname settings defined via config
- Forcefully re-applies the configured nickname setting to any spec-matching Pokémon when it evolves, refreshing the %species% placeholder
- For example, if a "Christmas Snover" evolves it will actually become a "Christmas Abomasnow" on evolve instead of keeping the name of its pre-evolution species
+ Added `update-on-received` setting to individual nickname settings defined via config
- Forcefully apply the configured nickname setting immediately when a player receives the Pokémon
+ Added `notify-modified-on-received` toggle (Defaults to `false`)
- If `update-on-received` is true for any setting, should the player immediately be notified that the nickname was modified?
+ Added `replacement-list` section to config
- If *any* placeholder returns what you specify in `find`, replace it with what you specify in `replace-with`. This can be used for example to fix custom palette, form, and species names not parsing correctly, or to use custom icons or text in place of types (ie "🔥" instead of "Fire" (if the smooth font in the game actually supports displaying the unicode symbol that is)), etc.The following example shows how you might use these new settings; this example would make sure any pokemon with a Christmas ribbon have their define nickname format applied when it is immediately received, when the pokemon evolves, and when the player tries to modify it. If it is a Charmander, it will be nicknamed Spicy Christmas Charry Boi. If it has the "prestige" palette, it will be named Spicy Christmas Prestige Charry Boi.
notify-modified-on-received: false
force-nicknames:
christmas-pokemon:
name: %type1% Christmas %palette% %species%
specs-to-match:
- ribbon:christmas
player-editing-allowed: true
update-on-evolve: true
update-on-received: true
replacement-list:
- find: Fire
replace-with: Spicy
- find: Charmander
replace-with: Charry Boi
- find: pixelmon.palette.prestige
replace-with: PrestigeNote: Any forced nickname update (such as update-on-evolve or update-on-received) will set the %nickname% placeholder to be blank. This prevents a situation where the nickname will repeat itself.
Full Changelog: 1.0.0...1.1.0