Neovitalism / PixelmonExtension

Pixelmon placeholders for Spigot PlaceholderAPI
MIT License
0 stars 2 forks source link

Planned Placeholders: #5

Open Neovitalism opened 2 years ago

Neovitalism commented 2 years ago

%pixelmon_next_megaboss% %pixelmon_next_megaboss_minutes% %pixelmon_next_megaboss_minutes_rounded% %pixelmon_next_megaboss_seconds%

%pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_evolutions% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_evolutions_method% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_evolutions_formatted% Logic on this bit is unknown atm, will have to add some more to be able to specify evolution. %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_evolution_(Number, maybe?)_dex_number%

%pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_preevolution% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_preevolution_formatted% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_preevolution_dex_number%

%pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_spawn_biomes% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_spawn_conditions% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_spawn_times%

shadow2hel commented 2 years ago

Would it be possible to add Placeholders for the following:

Neovitalism commented 2 years ago

I will look into those once I get back to working on this. It may be a while. Right now I'm only doing bug fixes on the current placeholders while I work on other projects.

MageFX commented 2 years ago

Got a request for a ribbon placeholder <3

MageFX commented 2 years ago

Second Request for a %pixelmonpokedex[pokemonName/dexNumber]<:formName>_isHA% for true/false return

Neovitalism commented 2 years ago

Added in 1.1.0: %pixelmon_last_legend% %pixelmon_last_legend_minutes% %pixelmon_last_legend_minutes_rounded% %pixelmon_last_legend_seconds% %pixelmon_next_megaboss% %pixelmon_next_megaboss_minutes% %pixelmon_next_megaboss_minutes_rounded% %pixelmon_next_megaboss_seconds% %pixelmon_last_megaboss% %pixelmon_last_megaboss_minutes% %pixelmon_last_megaboss_minutes_rounded% %pixelmon_last_megaboss_seconds% %pixelmon_party_[1-6]_ability_isHA%

Others I'll come back to when I have more time <3

SirDoof commented 2 years ago

Gonna leave this one too :P %pixelmon_trainer_balance_int% - Player's balance as an integer - Added in 1.1.2

MageFX commented 2 years ago

%pixelmon_party_<slot>_ribbon% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_biome% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_spawn_times% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_spawn_location% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_drops% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_level_moves% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_tm_moves% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_tr_moves% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_tutor_move% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_evolution% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_preevolution% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_level_range% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_type_effectiveness% %pixelmon_pokedex_[pokemonName/dexNumber]<:formName>_daycare_requirements%

<3

Neovitalism commented 2 years ago

Couple of those are in the original list, like biomes, times, locations, evolution, and preevolution - but definitely will be added asap, just a tiny bit busy. Only one I'm iffy on is level range, as different biomes/spawning methods have different level ranges

Neovitalism commented 1 year ago

%pixelmon_lastlegendary% putting here so I don't forget, courtesy of Rain - update's coming after I'm done with my current project

MageFX commented 1 year ago

%pixelmon_party_<slot>_canBreed_<slot>% returns true or false if it is capable of breeding with second slot.

Neovitalism commented 1 year ago

%pixelmon_party_<slot>_bottlecapped_<stat>% - returns true or false if the stat is bottlecapped or not.

infidelrick commented 4 months ago

I did have that paragraph but going to just rewrite how others did: %pixelmonpokedex[pokemonName/dexNumber]<:formName>canlearn[move or 1-4(party mode)]% - To check if a pokemon can learn a specific move or if one of it's moves is valid for the species (allows checking for illegal poke editor moves) %pixelmonpokedex[pokemonName/dexNumber]<:formName>_allmoves% - To output all of a Species possible moves. List/separator support would be amazing.

Could add more to filter for move pool type/gen but those two would be the most useful. Thank for the work you do Neo

SimonMage commented 4 months ago

I think can be amazing also if added the placeholder that returns the integer number of pokémon in a party, that is so useful for making custom things based on number of pokémon that the player has in the party

Also could you add the placeholder for held items unlocalized

And a placeholder for dynamax level of Pokémons

Neovitalism commented 4 months ago

I think can be amazing also if added the placeholder that returns the integer number of pokémon in a party, that is so useful for making custom things based on number of pokémon that the player has in the party

%pixelmon_party_size% exists, just isn't on the wiki for some reason (will fix later)

Also could you add the placeholder for held items unlocalized

What is the use of this? You'd run into issues with NBT if trying to parse the held item into a menu through placeholders with an unlocalized placeholder anyways

And a placeholder for dynamax level of Pokémons

Surprised this one doesn't exist, will do when I get to it

SimonMage commented 4 months ago

What is the use of this? You'd run into issues with NBT if trying to parse the held item into a menu through placeholders with an unlocalized placeholder anyways

I noticed that the actual placeholder of held items give me a name like item.pixelmon. because the Italian translation doesn't exist. For that reason I asked an unlocalized placeholder

Neovitalism commented 4 months ago

Just add the translation to your lang via datapack, the server picks up on that

SimonMage commented 4 months ago

Just add the translation to your lang via datapack, the server picks up on that

How? The normally the langs are in the resource packs and the items are like 200+ and I have to make new item name for every item?!