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 :)

28 Replies
^ Please feel free to ping me if you have a solution
what plugins do you have?
Unless you have 4,294,967,296 maps, this is probably being caused by a plugin of yours
!logs
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
that will also be helpful



The only plugin that has consistently had errors is just interactive books
FYI you shouldn't use plugman
any reason why?
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
Don't reload your server!
https://madelinemiller.dev/blog/problem-with-reload/
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
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
mmm ok. You can remove /plugins as a command for all but you FYI. it has permissions built in for it.
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
!binary
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.

Admincraft Canned Responses
i have a plugin that saves locked maps so they cant be duplicated but thats literally it
you can try to binary search
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
well, make a test server
and test their
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/
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
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
