Skip to content

Relational Scripts #66

@Gabo6480

Description

@Gabo6480

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions