#(LieutenantTymir) Help me run a command

14 messages · Page 1 of 1 (latest)

fluid pumice
#

I'm using Citizens with PlaceholderAPI and a Crates plugin. I'm using the /npc cmd command to give the player a crate key, I'd just like to figure out how to set a maximum use for this NPC and Command, Everytime I right click the NPC, it runs the command again and I'd like to figure out how to make it so it only runs the command the first time you right click it.

calm spokeBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

fluid pumice
#

I've checked the FAQ and Couldn't find anything on it

#

The command i'm trying to run is

#

/npc command add crates key give %player_name% trick-or-treat 1

#

That is the base command

#

I'd like to make it so a player can only run the command the first time they right click it, and to make sure that it doesn't run the command when they right click it again

weak star
#

—n option

#

!clickcommands

jagged apexBOT
fluid pumice
#

Thank you so much!

coarse quarryBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@fluid pumice