Nokorbis / ar-command-signs

Minecraft (Spigot) plugin that allows to transform some blocks (Signs, plates and buttons) into a Commands executor
https://www.spigotmc.org/resources/command-signs.10512/
Apache License 2.0
13 stars 10 forks source link

Is there a player variable? #63

Open BurrowBird opened 3 years ago

BurrowBird commented 3 years ago

What is the version of Spigot you are using ? PaperSpigot 1.16.4

What is the version of CommandSigns you are using ? not sure

What is your question ? I want to run a Slimefun command that looks like this: /sf research (player)

In place of (player) the name of the player is supposed to go, but I want to make it so that whoever clicks the sign is the "player" in that command. I have no idea what I'm doing though... Tried thigns like @p or %player% but to no luck.

I tihnk what I need to ask is, is there a variable inside Command Signs that I could use to identify the player who clicked the sign?

Nokorbis commented 3 years ago

Hello,

%player% is the right one.

See https://github.com/Nokorbis/ar-command-signs/wiki/Structure-of-a-Command-Block#variablesplaceholders for more variables