#(link5000) Command to NPC (Me being dumb?)

29 messages · Page 1 of 1 (latest)

forest dust
#

Trying to set up so the command /spawnershop is avalible to the NPC so when clicked it will execute, but in a way that will not let players run it anywhere using just /spawnershop)

Executing with -p requires player to have the permission node which gives them access anywhere
-s does nothing as its opening a GUI for the player
-o does nothing as i have to deny the perm to the default group to not having them do it anywhere which in turn denys it to ops

Im being dumb rn n can't do it so if someone knows and can remind me

elder widgetBOT
#

(link5000) Command to NPC (Me being dumb?)

elder widgetBOT
#

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.

formal cairn
#

What plugin are you using?

forest dust
#

Citizen for the NPC and SpawnerMeta for the spawners

formal cairn
#

Do they have a command to open a shop for a specific player?

forest dust
#

Err i shall check

formal cairn
#

If they do you could run for example /npc command add spawnershop <p>, and let the command run by console

#

<p> is a tag that returns the players name who clicked the npc

forest dust
#

Thats the way i was thinking of i just couldn't remember it. Ill check if they do. If not ill just make a menu ig

#

Thanks Ice, ill find the open for a player command and do that

glossy jay
#

!clickcommands

pliant baneBOT
dreamy socketBOT
#
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.)

#

@forest dust

forest dust
#

Sudo did not solve the issue and currently there is no command for having the shop open for someone else

dreamy socketBOT
#
Marked Invalid

Thread closed as invalid.

forest dust
#

No didn't mean to close it

dreamy socketBOT
#
Thread Reopened

Thread was manually reopened by @forest dust.

dreamy socketBOT
#
Changed to Help/Support

Thread is now a Help/Support thread. A helper will check your thread when available.

glossy jay
#

@forest dust Whats the command

forest dust
#

So currently through the use of SpawnerMeta players are able to use /spawnershop to open a GUI where they can purchase mob spawners for various mobs at varying prices (Essentials Eco on the server)

What i want is rather than it being access'ed anywhere in the world players would have to go to our shopping district to interact with an NPC

The NPC would then when clicked issue the cmd for a player opening the GUI

I have contacted SM Support and they currently don't have a cmd for opening on behalf of a player and am waiting for an update which will contain that.

forest dust
#

Forgot to reply when posting the speell

glossy jay
#

ok, so eventually SM will fix this for you

dreamy socketBOT
#
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.)

#

@forest dust

forest dust
#

Yes seem so. Thank you for your support