#command execute placeholder

1 messages · Page 1 of 1 (latest)

sharp isle
#

Hello for my deluxse menus i need a placeholder to execute a console command for the player clicking the npc, The placeholder %player% doesnt work and i have no idea what else to use. If you know please help

nimble heart
#

To auto-fill the player name, use "<p>". To autofill the NPC ID, use "<npc>".

#

alternatively, use /npc command add -p <command> to run the command to open the menu as the player (this may require you to add register_command: true to your menu and restart the server)

sharp isle
nimble heart
#

?player

dull atlasBOT
#
FAQ Answer:

Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload