Terra (Fabric/Forge/Paper)

Terra (Fabric/Forge/Paper)

74.2k Downloads

[Feature] Add PlaceholderAPI support for common info sharing (without api usage)

TheGam1ngWizard opened this issue ยท 1 comments

commented

Pre-Request Checklist

  • I have checked that I am on the latest version of Terra.
  • I have searched github for similar features requests, including closed
    ones, and found none.
  • I believe this is within the scope of Terra.
  • This feature request is for all of Terra, and isn't something that
    should be implemented by a pack or addon.

Feature Description

Provide placeholderAPI support for common tasks such as determining biome player is in.

What Problem Does This Solve?

3rd party plugin makers can develop against placeholderAPI for triggers/effects, and having the biome be a placeholderapi tag makes it so those developers can use preexisting logic (does placerholder = X) to also detect specific biomes or other biome details (such as temperature)

A Solution You'd Like

Add placeholderAPI tags for biomes to use/that pulls information from biomes, such as name, temperature, and other key details.

Alternative Solutions

  1. Devs could develop against the API (time/effort - and documentation is lacking)
  2. Devs could develop against NMS

Additonal Context

https://www.spigotmc.org/resources/placeholderapi.6245/
https://discord.com/channels/715448651786485780/1166164677944934462

commented

One example here is pyro fishing, the placeholder below would be a good example that would help with many other plugins, it leaves compatibility very open and is not just limited to pyro fishing.
%players_custom_biome_name% = MY_CUSTOM_BIOME