Storage and data
Where zLifeSteal saves player data and what it keeps.
zLifeSteal saves player data to a single YAML file. You do not need a database.
The data file
Player data is stored in plugins/zLifeSteal/data.yml. The plugin writes to it
as players play and on shutdown.
| Kept data | Notes |
|---|---|
| Ban expirations | When an eliminated player's ban ends |
| Death logs | The deaths shown by /ls stats |
| Revive counts | How many times a player has been revived |
Heart counts themselves live on the player's health attribute, so they travel with the player.
Do not edit data.yml by hand while the server is running. The plugin can
overwrite your changes on its next save. Stop the server first if you must edit
it.
Backups
To back up player data, stop the server and copy the plugins/zLifeSteal folder.
That captures the data file and all of your config files in one go.
Resetting a player
To wipe a single player's saved data, stop the server and remove their entry from
data.yml. To reset hearts only, you can instead use
/ls set <player> heart <amount> while the server is running. See
Commands.