Player argument for command?Solved

Is there a variable for player?

With another plugin, ServerRewards, it lets you make clickable, purchasable commands. I want to do /rewards add command <name> <command> and have the command be "give <whateveritem> <quantity> <playername>"

Thanks

From the plugin's page:
  • give <item id or item name> [amount] [player name or id]
Wulf... Do you know what a variable is? I need something that will grab the senders name.

EX.

/torch -> 'give torch 1 $player' or something
That'd be a question for Server Rewards or whatever you are using to run the command.
No.. I need to know if GIVE has any variables for player... BEcause I am executing the GIVE command
No, this plugin doesn't provide replacement variables like what you are suggesting, nor do most plugins. Those are generally provided by the system you are using that handles the commands.

If you were to execute the plugin's commands directly, you'd simply specify the name of the player or ID. This can be provided by whatever you use for executing the command.
Damn that sucks. So I guess i have to make it a timed kit or something. Was hoping to put it in a graphical interface of ServerRewards but RIP to that idea. Normal kit it is. Thanks.
Locked automatically