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

**Add PlaceholderAPI Value Fetching to skript-placeholders (Feature from Ersatz)** #68

Open
RyuguDev opened this issue Oct 11, 2024 · 1 comment
Labels
enhancement A feature request or pull request enhancing the addon.

Comments

@RyuguDev
Copy link

Suggestion

Add a feature to skript-placeholders that retrieves the value of a placeholder from PlaceholderAPI, similar to how it's done in the now deprecated "Ersatz" plugin:
[the] ([value of] placeholder[s]|placeholder [value] [of]) %strings% [from %players%].

Documentation link: Ersatz Placeholder Expression.

Why?

This feature is useful to easily fetch PlaceholderAPI values in Skript. Since "Ersatz" is no longer maintained, adding this functionality would improve skript-placeholders.

Alternatives Considered

Other alternatives, such as using complex custom code, are possible but not as straightforward. "Ersatz" handled this neatly.

Other

It would enhance usability by reducing the need for external workarounds.

@RyuguDev RyuguDev added the enhancement A feature request or pull request enhancing the addon. label Oct 11, 2024
@APickledWalrus
Copy link
Owner

This expression is already available: https://github.com/APickledWalrus/skript-placeholders/wiki/Obtaining-a-Placeholder's-Value

Did you have any issues with it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature request or pull request enhancing the addon.
Projects
None yet
Development

No branches or pull requests

2 participants