Mineuniverse
Log in Register
Plugins

PlayerSaver

Allows for saving players data files once in a while, preventing from inventory rollbacks.
by _ForgeUser7782414
Download Claim this project
2,078 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools Fixes

About PlayerSaver

Description

Very simple plugin - once every given amount of time it forces saving all online players equipment, position, etc. into file (username.dat located in world/players directory).

Why I wrote this plugin

Well... First of all, bukkit saves players data files only during logout of that player. Imagine what will happen if someone plays for few hours and then server crashes. That player inventory and position is being reset to the state of his last logout. Very annoying! Secondly I'm running a bukkit server and despite /save-all runned every hour it still rollbacks players to last logout. Also it saddens me whenever my players loses hours of gameplay due to crash. That's the reason why I was determined to write this little plugin, also I couldn't find any with that functionality. And I want to share it with you, so you can prevent painful rollbacks on your own servers.

Download

Download version 0.1.

Configuration

config.yml

You can set your own saving interval using configuration file that is generated at first run. Only one value - interval, set in seconds. Default is 60 seconds. This timer is common for all players, not individual per player.

Interval: 60

Permissions

In order to save player file he/she must have set permission named playersaver.save to true (default is false). You can use this permission to allow saving only higher ranked players like VIPs or something like that. Currently only PermissionsBukkit is supported.

Bugs

None as far as I known. I've heavly tested it on my local server as well on dedicated linux server which runs 24/7 with many players and it runs fine without any problems.

To-Do

Not much I can think of, but if there will be any interest in this plugin I think of adding multiple timers depending on permission (for example common players will be saved once every 10 minutes, but admins once every one minute, and so on) or/and independent timer for every player.

Changelog

  • 7.11.2011 - Initial release of version 0.1
PlayerSaver
MC CB 1337
Release 2011-11-07 Get

You Might Also Like

PlayerSkinChanger
Change your skin without client mod !
96,438
EndReward
Get a reward for killing the EnderDragon!
9,792
ConfigExp
configurable exp drops for everyone!
9,294
RightOnSpawn
You will never spawn on a roof again!
9,235
Server Resource Packs
Allows for a new way to get players the files for your server Resource Pack.
9,027
SleepDay
It's enough that one player sleep in order to night to day.
8,968