#Long delay when executing a menu command (DeluxeMenus)
1 messages · Page 1 of 1 (latest)
Spark profile please, using the latest release of the plugin.
This does not help me whatsoever. A spark profilin will help me determine where in the plugin the lag is coming from.
Ok, I'll install it for you.
Now please explain to me what steps to follow to send you the Spark report.
/spark profiler
Open the menu, make sure the lag happens
/spark profiler --stop
Share the link given.
Let it run for about 10-15 seconds before you run the command to create the lag and then wait about 10 - 15 seconds after the menu finally opens to stop it.
https://spark.lucko.me/sTXk6kjr4j
Ready
Not seeing any lag there.
Is the menu a bunch of custom heads and does it only happen on the first open?
The delay is generated in the plugin, it does not affect the server.
It happens in absolutely every opening.
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
Put the menu in this and send the link
https://youtu.be/wmIa_W_Br2w
There I have executed several commands and you can see in the bar above that there is no delay in the server.
ok
If those are all custom skull textures, it's most likely your client having to contact the Mojang API to load all the textures.
Is this a cracked server?
The server is online and offline mode, my account is premium.
Might just be something related to your client not caching those textures. Not really much can be done if it's not causing lag to the server.
I have another survival server in the same version and with the same version of Deluxemenus, however this does not happen.
Sorry, maybe someone else will know then. It doesn't make sense that it works fine on one server and not on another unless something was different.
Ok, I've already found a part of the problem. Does your plugin have anything to do with BungeeCord?
When I disconnect the server from my Network and connect directly with the ip address, this delay stops happening! Maybe with that discovery you can help me
The only thing related to Bungeecord would be if you're using [connect] as a click action for an item, but otherwise no afaik.
Well, when I connect it to BungeeCord, this happens. Checked
How's that for [connect]?
That click action connects them to a different server on the network.