A
Admincraftโ€ข3d ago
Cleons

Maps Clearing

Hello, I've been having issues with this for a bit of time now, I'm running a Spigot/paper server on 1.21.4, this is an issue we've been having for a bit where "old" maps are getting replaced with "new" maps. I would like some help on figuring out how to fix this so I don't have to keep replacing them for players :)
No description
28 Replies
Cleons
CleonsOPโ€ข3d ago
^ Please feel free to ping me if you have a solution
lavaking46
lavaking46โ€ข3d ago
what plugins do you have?
๐๐ข๐ช๐ฎ๐š๐ญ๐ž๐ซ๐ง๐ข๐จ๐ง๐ฌ
Unless you have 4,294,967,296 maps, this is probably being caused by a plugin of yours
lavaking46
lavaking46โ€ข3d ago
!logs
Carl-bot
Carl-botโ€ข3d ago
Please check your server log for errors from your plugins.
If you need further help understanding the errors, please send us the whole log file. Where can I find the server log? Logs are stored in <server_directory>/logs/. Search for a file explorer in your server's management interface and navigate to that directory. Once you've opened that up, search for the latest.log file. Some providers have a separate page for logs and may hide the "logs" folder. On Aternos: โ€ข Go to https://aternos.org/log/. On Minehut and server.pro: โ€ข Go to the "files" tab in the left menu. โ€ข Navigate to the root directory of your server. โ€ข From there navigate to /logs/latest.log. What should I do with the log? โ€ข First of all, read it! I mean, that's what you do all the time when you run a server, isn't it? Try to locate any errors that have anything to do with the issue you are facing. โ€ข If you got the latest.log file or created a .txt file with the necessary errors you can upload these directly to the channel, but we prefer if you upload them to https://mclo.gs/. โ€ข If you have trouble downloading the log file, copy/paste the text to a paste service (like mclogs). Copy the link that it gives you and send it to us. (Don't worry, McLogs hides your users' IPs.)
Admincraft Canned Responses
lavaking46
lavaking46โ€ข3d ago
that will also be helpful
Cleons
CleonsOPโ€ข3d ago
No description
No description
No description
Cleons
CleonsOPโ€ข3d ago
The only plugin that has consistently had errors is just interactive books
lavaking46
lavaking46โ€ข3d ago
FYI you shouldn't use plugman
Cleons
CleonsOPโ€ข3d ago
any reason why?
lavaking46
lavaking46โ€ข3d ago
it frequently breaks plugins and causes a variety of issues because of how it handles adding/removing plugins while the server is running. among other things !plugman
Carl-bot
Carl-botโ€ข3d ago
Do not use /reload or PlugMan's reload feature
These throw plugins out of the memory without them being able to finish their stuff. It is more likely than not to cause runtime issues and may even corrupt plugin or world data. Most plugins have a reload command which you can use, like /plugin reload.
Admincraft Canned Responses
Cleons
CleonsOPโ€ข3d ago
ive never used plugman reload tbh, i just /plugins as a disabled command so i use it to see if a plugin isnt working lol
lavaking46
lavaking46โ€ข3d ago
mmm ok. You can remove /plugins as a command for all but you FYI. it has permissions built in for it.
Cleons
CleonsOPโ€ข3d ago
the only plugin with any error is interactive books, i just went through my latest log file, so im just gonna disable it and see
lavaking46
lavaking46โ€ข3d ago
!binary
Carl-bot
Carl-botโ€ข3d ago
Binary search your plugins
Remove half of your non-essential (ie not things like PAPI or LuckPerm) plugins and see if the problem is fixed. If it still persists, the cause is in the half still installed. Continue to halve the remaining plugins until you've narrowed it down to a single plugin. Congratulations, you found the culprit.
From An unknown user
Admincraft Canned Responses
Cleons
CleonsOPโ€ข3d ago
i have a plugin that saves locked maps so they cant be duplicated but thats literally it
lavaking46
lavaking46โ€ข3d ago
you can try to binary search
Cleons
CleonsOPโ€ข3d ago
even when that was disabled the issue still was happening I disabled treasure maps, still happened it is only removing "old" maps i figured it mightve been an issue from when we ran out of storage awhile ago and had to upgrade (since oraxen started nuking itself as well) the chances that it happens are also so randomized that i dont feel comfortable having to go into a multi hour maintenance to disable a bunch of plugins just for nothing to happen as i disable it, yk
lavaking46
lavaking46โ€ข3d ago
well, make a test server and test their
Mellow
Mellowโ€ข3d ago
Yeah any info on the actual map issue? I believe OP is asking for advice on that not plugman if you read the post Iโ€™m having the same issue
๐๐ข๐ช๐ฎ๐š๐ญ๐ž๐ซ๐ง๐ข๐จ๐ง๐ฌ
How many maps does your world have? Check for entries starting with map_ in world/data/
Cleons
CleonsOPโ€ข3d ago
Last I checked i believe itโ€™s only around 900
๐๐ข๐ช๐ฎ๐š๐ญ๐ž๐ซ๐ง๐ข๐จ๐ง๐ฌ
Yh, I don't think you reached the limit, just needed the number to try and replicate it What build of paper you have? You can check with /version
lavaking46
lavaking46โ€ข3d ago
If he was using it the way I thought it was being used, it could have been related.
๐๐ข๐ช๐ฎ๐š๐ญ๐ž๐ซ๐ง๐ข๐จ๐ง๐ฌ
Can you make a copy of your server without plugins? Try checking if that keeps happening in the copy Could be a paper bug (unlikely), or any of those plugins, but I'm not sure which one tbh You should still do the binary search, as some plugins interact with stuff you're not aware of
Cleons
CleonsOPโ€ข2d ago
No description

Did you find this page helpful?