Перейти к содержимому
Mineforgian

PlayerDataRollback

Can I rollback player data? Sure!

Загрузки
902
Подписчики
4
Обновлён
10 ноября 2024 г.
Лицензия
MIT

Опубликован 1 октября 2024 г.

PlayerDataRollback​

Overview

Losing player data unexpectedly is incredibly frustrating, and finding a reliable solution can be difficult. That's why I created PlayerDataRollback—a plugin designed to automatically back up and restore player data, giving you peace of mind.

The plugin automatically creates a backup every time the server starts. You can also manually back up, restore, and manage backups with simple commands.

Backups are saved in plugins/PlayerDataRollback/Backups

Features

Automatically backs up player data on server startup. Manually create, rollback, and remove player data backups. Filter backups by specific time periods such as days, months, or years. Restore individual player data or all players at once. Supports multi-language (English, Chinese Simplified, Chinese Traditional, and German). Paginated display of backup lists. Kicks all players when rolling back all data to avoid conflicts.

Commands

Backup Management /pld backup create - Create a backup of all player data.

/pld list (xd/xm/xy) - List backups filtered by time (days/months/years ago).

/pld page - Navigate through the list of backups (used after /pld list). Rollback

/pld rollback - Rollback a player's data to a specific backup.

/pld rollbackall - Rollback all player data from a specified time period or backup (this will kick all online players).

Backup Removal

/pld backup remove - Delete a specific backup.

/pld backup removeall <xd/xm/xy> - Delete all backups from a specified time period (days/months/years ago).

Multi-language Support

The plugin supports multiple languages:

English (en_US)

Chinese (Simplified) (zh_CN)

Chinese (Traditional) (zh_TW)

German (de_DE)

Translations are applied automatically based on the server's locale.

Installation

Download the latest version of PlayerDataRollback from SpigotMC.

Place the .jar file into the plugins folder.

Restart the server to generate the configuration and necessary files.

Backups will be automatically created on each server startup, or use the commands for manual control.

Example Usage

Create a backup: /pld backup create myBackup

Rollback a player's data: /pld rollback Steve myBackup

Rollback all player data from 7 days ago: /pld rollbackall 7d

List backups from the last 3 months: /pld list 3m

Support

If you encounter any issues or have suggestions for new features, feel free to reach out via SpigotMC or open a issue on plugin's github repository.

bStats

bStats

Ченджлог

2.1.6-GAРелиз1.21.2, 1.21.3, 1.21.5 · 10 ноября 2024 г.

2.1.6 Achievement Support

Backups and rollbacks of achievements are supported.

2.1.5-GAРелиз1.21.1, 1.21.2, 1.21.3 · 26 октября 2024 г.

2.1.5 Update Check Optimize

Optimized the update check logic so that no update notification will be sent if the latest version is smaller than the current version.

2.1.4-GAРелиз1.20.6, 1.21, 1.21.1 · 12 октября 2024 г.

2.1.4 BUG Fix

Fixed an issue where "rollbackall" was not working.

Fixed an issue where the "rollback" and "remove" language files were incorrect.

2.1.3.1-GAРелиз1.20.6, 1.21, 1.21.1 · 5 октября 2024 г.

2.1.3.1 Translation Correction

Fixed some incorrect translations.

2.1.3-GAРелиз1.20.6, 1.21, 1.21.1 · 4 октября 2024 г.

Fixed an issue where a delete success message was sent when a backup could not be found with "/pld backup removeall". Fixed an issue where custom name backups could not be deleted via removeall.

2.1.2-GAРелиз1.20.6, 1.21, 1.21.1 · 3 октября 2024 г.

Add Update Notification

When a player with the "playerdata.checkupdate" permission joins, an update notification will be sent.

2.1.1-GAРелиз1.20.6, 1.21, 1.21.1 · 3 октября 2024 г.

Add more Translation

日本語 (ja_JP) Français (fr_FR) Русский (ru_MO)

Reduces space usage

No backing up dat_old files.

2.0.3-GAРелиз1.20.6, 1.21, 1.21.1 · 2 октября 2024 г.

Fixed a minor bug

Which you mentioned just listed in this Tracking list and planed to do.

Комментарии

Загружаем…