-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Just to ask for the feature of having a javascript placeholder variant that is compatible with relational placeholders.
I imagine the placeholder being something like this:
%rel_javascript_<one/two>_<placeholder>_[args...]
The <one/two> parameter allows us to decide on who's context we should evaluate the [args] to begin with.
Inside of the script we can then use:
PlaceholderAPI.static.setPlaceholders(BukkitPlayer/BukkitPlayerOne/BukkitPlayerTwo, "%placeholder%")
To have access to any placeholder in the context of either players. BukkitPlayer being the player selected in the <one/two> parameter
SavvaKulikov
Metadata
Metadata
Assignees
Labels
No labels