#GUIs with multiple registered commands don't reload with /dm reload

1 messages · Page 1 of 1 (latest)

polar solar
#

title :-(

upbeat mountain
#

that's normal

#

you need to restart

#

it's also explained on the wiki

polar solar
#

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

upbeat mountain
#

again, /dm reload won't do anything

#

you have to restart the server

full pewter
#
- jobslist
- joblist
- jobinfo
- jobsinfo```

doing `/dm reload` applies the changes for jobslist, but not for the other 3
upbeat mountain
full pewter
#

this page is about adding a registered command, which isn't what our issue is

upbeat mountain
#

that's what you said though

full pewter
upbeat mountain
#

what changes aren't applied?

full pewter
#

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)

upbeat mountain
#

ah

#

what's your DeluxeMenus version?

full pewter
#

sorry for the confusion

upbeat mountain
#

I don't know what the issue could be

#

make sure you're on the latest version

full pewter
#

just tested it on the latest dev build (160) and it isn't working there

upbeat mountain
#

yeah, got the same issue

#

I guess the devs would need to look at it

rapid monolith
#

Can yall break down the issue so I can look into it?

upbeat mountain
#
  • 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
rapid monolith
#

Interesting and does this happen only in dev build 160?

upbeat mountain
#

I tried with the latest release (1.13.7) and they tried with the latest dev build

rapid monolith
#

and MC versions

upbeat mountain
#

I was on 1.19.4

rapid monolith
#

So only with /dm reload but with restart the server it updates it

upbeat mountain
#

yeah

rapid monolith
#

super interesting bug lmao

#

the plugin has a mind of its own

gray jewel
#

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

rapid monolith
#

oh

upbeat mountain
gray jewel
#

as right now each Menu is also a Command