TeamJM / journeymap

JourneyMap mod for Minecraft
http://journeymap.info
122 stars 10 forks source link

[Bug]: journeymap causes the server to lag #680

Closed Lindsaydoodle closed 3 months ago

Lindsaydoodle commented 3 months ago

What happened?

A bug happened! JourneyMap make lagg server spark profiler WUCq5mn1jn.zip

No entiendo dónde mirar y cómo lo entiendo todo. Pero la sensación es realmente ruina todo journeymap por favor, sólo ayuda será muy feliz

minecraft 1.20.1 tested on Forge legacy and Mohist resultado es el mismo

Mod Loader

Forge

Minecraft Version

1.20.1

Version

5.9.18

Relevant log output

No response

mysticdrew commented 3 months ago

Provide a link to spark that you get when you stop the profiling. The file you provided does not work. image

mysticdrew commented 3 months ago

I was able to get it to work. Strange, first time it did not work, 2nd time it did.

Anyways, there is nothing in here that points to Journeymap causing any issues.

mysticdrew commented 3 months ago

Looks like there was a very large spike when you teleported with JourneyMap, likely because it was to an area where chunks were not generated and that caused a couple seconds of lag due to minecraft having to generate those chunks. Overall your tps is fairly low. If you are teleporting all over the place really quickly, minecraft will lag as it is generating chunks. Which is what looks like what was happening.

I will close that as there is nothing for me to fix. Either slow down your teleporting to populate the map, or deal with slowdowns with minecraft chunk generation. This is not a journeymap issue.

Lindsaydoodle commented 3 months ago

I rewound all the settings of the server side and left only the teleport to the points and the server stopped lagging. But now there is no drawing, no display of players and entity

mysticdrew commented 3 months ago

probably because you disabled everything.

mysticdrew commented 3 months ago

I looked through your spark profile. Everything causing slowdowns because of journeymap was due to teleporting and the proceeding chunk generation after the teleport. JourneyMap does very little on the server, it does not do any mapping on the server, it primarily sends permission data and player locations if enabled.

Teleporting to waypoints uses vanilla teleporting mechanics.