Need help? Ask on the forum, ask a fellow user or developer (join us on IRC), or contact sk89q.
Contribute to the wiki, edit this page! Register an account, or login with Facebook first.
HEY! Do you integrate (or want to) a plugin into yours? Do you help work on WE/WG/etc.? Please subscribe to our mailing list!
CommandHelper
API
player
From SK's Wiki
< CommandHelper | API
Player
Description: Returns the name of the player running the command
Format: player()
Returns: string.
Example:
# gives the player who called the command one stone run( /give player() 1 1 )