Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When adding a command from the DeluxeMenus plugin, an unknown command is written 1.12 ERROR ServerSigns? #67

Closed
fr0zenqq opened this issue Jan 16, 2025 · 15 comments
Assignees
Labels
❗ Bug Something isn't working

Comments

@fr0zenqq
Copy link

fr0zenqq commented Jan 16, 2025

I wrote /serversigns create (my command from the deluxe menu) and click on the sign an unknown command is writing to me!
Write a command without a sign and menu everything works.
(the menu from DeluxeMenus has register_command: true)

@fr0zenqq fr0zenqq changed the title When adding a command from the DeluxeMenus plugin, an unknown command is written 1.12 ERROR When adding a command from the DeluxeMenus plugin, an unknown command is written 1.12 ERROR ServerSigns? Jan 16, 2025
@EpiCanard EpiCanard added the ❗ Bug Something isn't working label Jan 16, 2025
@EpiCanard EpiCanard self-assigned this Jan 16, 2025
@EpiCanard
Copy link
Collaborator

EpiCanard commented Jan 17, 2025

Hello,

To work correctly the command must be launch has a player.

Your config must looks like this in delux menu

    left_click_commands:
      - '[player] serversigns create'

@fr0zenqq
Copy link
Author

you don't understand me

@fr0zenqq
Copy link
Author

your plugin does not see:
open_command:

  • menu

@fr0zenqq
Copy link
Author

does not open the menu and writes unknown command

@EpiCanard
Copy link
Collaborator

You mean inside a signs you execute the command /deluxemenu open <your_menu> ?

@fr0zenqq
Copy link
Author

no

@fr0zenqq
Copy link
Author

/serversigns create menu

@fr0zenqq
Copy link
Author

the menu works if you write it manually without a sign.

@fr0zenqq
Copy link
Author

I'm sorry if I didn't describe my problem well, English is not my native language.

@EpiCanard
Copy link
Collaborator

The command /serversigns create doesn't take arguments so if you type /serversigns create menu it is normal if it doesn't work

Can you try to explain your issue from start with the steps you followed ?

And if maybe your config files (deluxe gui menu and the content of the sign if you have one)

Sorry if we have difficulty to understand each other, English is not my native language too

@fr0zenqq
Copy link
Author

  1. I wrote /serversigns create menu (I look at the sign)
  2. click on the sign with the right mouse button (for command to register for sign)
  3. I click on the sign and see that "unknown command" is writing to me
    The menu works if you do it without a sign (just write menu and everything is fine)

I want the menu to slide out without entering a command when I click on the sign.
(I say right away that the plugin does not issue any errors in the log and console)

@fr0zenqq
Copy link
Author

Image

@EpiCanard
Copy link
Collaborator

So if I understand well.
You are trying inside a sign to execute the command /menu. This command has been created by deluxe menu to open a menu.
It seems that serversigns doesn't recognize this command because this command has been created after the server start.

There is another way to open a deluxe menu you can use the following command and right click on the sign
ˋ/serversigns add deluxemenu open your_menu `

Replace your_menu by the name of your menu

@fr0zenqq
Copy link
Author

It's working! Thanks!

@EpiCanard
Copy link
Collaborator

Nice !

Have a good day :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❗ Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants