#GUIs with multiple registered commands don't reload with /dm reload
1 messages · Page 1 of 1 (latest)
it updates for the first command in the open-commands: list
but not for any of the others
GUIs with multiple registered commands don't reload with /dm reload
renamed bc we figured that out just now
- jobslist
- joblist
- jobinfo
- jobsinfo```
doing `/dm reload` applies the changes for jobslist, but not for the other 3
this page is about adding a registered command, which isn't what our issue is
all the registered commands work, and can be opened, but only the first one in the list gets changes applied with /dm reload
what changes aren't applied?
for example, this is the change i just made the the config file, to cross out the £25,000 and add £50,000 on the end - this is what happens when i do /jobslist (the first command in the open_command section)
but it doesn't update in any of the other commands there (this is doing /joblist and /jobinfo)
sorry for the confusion
just tested it on the latest dev build (160) and it isn't working there
Can yall break down the issue so I can look into it?
- have a menu with 2 or more open_command and register_command: true
- restart the server so commands are loaded
- change something in the menu (title for example)
- /dm reload
- use the first open_command, menu updated correctly
- use the another open_command, menu didn't update
Interesting and does this happen only in dev build 160?
I tried with the latest release (1.13.7) and they tried with the latest dev build
and MC versions
I was on 1.19.4
So only with /dm reload but with restart the server it updates it
yeah
We've known for this issue for a while. It happens with any deluxemenus version on spigot 1.13 and higher. It is related to the way commands are registered at runtime. Haven't found a solution yet
oh
could you maybe register all commands as individual commands instead of aliases to the first one? if that's even the issue
maybe? Idk either way it will require some refactoring
as right now each Menu is also a Command