Hello, I'm running a server that once in a blue moon has java crash out and the server dying, causing people's inventories to revert to what they were since their last logout (silly design to not save inventories as they go). I used to run a plugin called playersaver, but it's since expired and so thus I need a new plugin to serve this purpose. All I'd like is for it to save the players inventory every X minutes cheers.
Does that save player inventories frequently? Because that is how I've got my server currently and it only saves inventories on log-off. Which is not handy when the server dies.
The built in autosave will save everything to file... But the larger issue is: Why does your server crash? You should figure that out and fix it
http://www.markus-davey.info/minecraft/hs_err_pid22821.log ^ That is what I'm getting as an error report from the crash. Also, I don't believe the autosave is doing what you say it does. How often does it save the player inventories?
Don't use OpenJDK (it's kinda bad) You need more RAM, or you have too many plugins It is likely your server's hardware is damaged (that is a rare error)
Alright. I'll try work out how to install proper Java. it's been 30 mins and none of the player inventories have saved. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
firstly there is a bukkit plugin which can save everything and can do backups as well Here is the link: http://forums.bukkit.org/threads/44085 Comment if you need anyother help Thats not what he is looking for. He is looking for a plugin like that but saves it every X amount of minutes EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I believe I tried this mod, and it just saves the worlds and not the inventories.... For backing up, I've a crontab that zips and backs up the world, so that is no real problem.
No no no. This also does the /save-all command as well. But it does it automatically for you. If it doesnt work try Auto Save
Any idea what goes into the config? I don't want it backing up my worlds, and I want it saving inventories at least every 5 or less minutes...
I have the same crashes as well as this one I have world_saver, but i think that causes this crash, cant remove it though =( /save-on does not save often enough, and save plugins are all outdate, any ideas? 2012-04-09 19:58:53 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 792 2012-04-09 19:58:53 [SEVERE] at org.bukkit.craftbukkit.util.LongHashset.popAll(LongHashset.java:145) 2012-04-09 19:58:53 [SEVERE] at net.minecraft.server.World.l(World.java:1956) 2012-04-09 19:58:53 [SEVERE] at net.minecraft.server.World.doTick(World.java:1759) 2012-04-09 19:58:53 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:538) 2012-04-09 19:58:53 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) 2012-04-09 19:58:53 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 2012-04-09 19:58:53 [SEVERE] Unexpected exception java.lang.ArrayIndexOutOfBoundsException: 792 at org.bukkit.craftbukkit.util.LongHashset.popAll(LongHashset.java:145) at net.minecraft.server.World.l(World.java:1956) at net.minecraft.server.World.doTick(World.java:1759) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:538) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)