#(arefunstop) How can I make an NPC open a menu from the deluxemenu plugin?
36 messages · Page 1 of 1 (latest)
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.
That feature is built-in to Citizens now
Can we add cmd command in Citizens plugin now?
Look at the wiki page I pulled up for you ^
If so, can you write me a menu command that will open when I right click on the npc and type /kit?
I'm Turkish and I don't understand much about wiki pages.
I mean, I don't know what commands does your server have - does doing /kit open the menu?
yes
However, it would be more useful for me if you write me a menu opening command like deluxemenu.open.
And does it have to be the player running /kit? or is there something like /kit <player name> that the server/an admin can run to open the menu for the player?
By typing /kit, players can open the kit menu in deluxemenu.
In summary, what I want is to add a command to the chat where the player will type /kit when clicking on the NPC.
In short, when you click on the NPC, it should write /kit for the player.
So basically the NPC doesn't write anything, it just opens a GUI from a separate plugin? I don't see why the NPC should execute a command for the player, when it could just be programmed to open a gui screen instead
Yes, this is exactly what I want. I am using the Deluxemenus plugin and I want to open a menu when I right click on the NPC, how can I do that?
Sorry if I'm making you repeat things, but how is this menu opened? Is it through a command from DeluxeMenus? If it is, it should be as simple as selecting the NPC with /npc select and running /npc command add -p <command>. The -p flag makes the NPC run the command as the player rather than as the server. If you have a fancy command that opens the menu from the server and requires a player argument, you can run /npc command add <command> <playerName> etc.
FİX
?
Hello, i think i have the same problem every command works except Deluxe Menues
@coral edge@haughty isle can you make your own thread and share a startup log please?
sorry depresifmutluiinsan, i meant to ping just enthy
Well i dont have what to show, its just a normal citizens startup message
!makepost
If you have a support question, please make a forum post for it!
"But it's just a yes/no question!"
We hear this from users quite often, and, frankly, it almost never is just a yes/no question - many seemingly simple questions lead to long answers or complex debugging or interesting discussions or...
"But you've probably gotten this question before and have the answer prepared"
All the more reason to use forum posts! When you're typing the title, it auto-searches existing posts, and thus if you're asking a repeat question, you'll instantly find the prior time it was asked, and the answer it had then, before you even press enter on your post!
"But it's not worth bothering"
Good news: it takes almost no more effort to make a post than to type in a channel! It's really really easy!
"But I don't want to annoy the helpers"
A forum post won't annoy us! We prefer it! Most of us don't get pinged or anything, it's fine!
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.)
Error: Missing thread owner. Did they leave the Discord? If so, just use </resolved:1028673926114594866> yourself.
Thread closed as invalid.
Thread was manually reopened by @cerulean umbra.