Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 tasks done
TheGam1ngWizard opened this issue Oct 24, 2023 · 1 comment
Open
4 tasks done
Labels
Status: Pending Issue/PR is currently awaiting approval by a moderator. Type: Enhancement A request for a new feature or enhancement to be added.

Comments

@TheGam1ngWizard
Copy link

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

@TheGam1ngWizard TheGam1ngWizard added Status: Pending Issue/PR is currently awaiting approval by a moderator. Type: Enhancement A request for a new feature or enhancement to be added. labels Oct 24, 2023
@AidenJules
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Pending Issue/PR is currently awaiting approval by a moderator. Type: Enhancement A request for a new feature or enhancement to be added.
Projects
None yet
Development

No branches or pull requests

2 participants