InventoryRollbackPlus

InventoryRollbackPlus 1.6.2

InventoryRollbackPlus is a plugin which will backup player inventories for various events. New and regularly updated!

Spigot Link:
https://www.spigotmc.org/resources/85811/
Tested Versions:
1.8, 1.9, 1.10, 1.11, 1.12, 1.13, 1.14, 1.15, 1.16
Donation Link:
https://www.gcnt.net/donate
Author:
TechnicallyCoded
Terms of service:
https://www.gcnt.net/terms-of-service

v1.6.2: Custom Plugin Prefixes, Huge Performance Improvements & more!

This update adds custom plugin prefixes in chat and console, fixes issue #35 on github which will now reduce tick time massively if using a MySQL database and will still improve performance when using YML files, a start to translated messages, and other bug fixes. (See the full changelog below)



If you find any bugs in this version, please report them on github.



If you just want to say thank you for the work I do, you can leave an awesome review here, on spigot, and a star on github *wink* *wink*. (Or, if you are feeling real crazy, you can choose to donate using the link on the spigot description/download page)



Changelog:

- Added option to change the plugin prefix in chat

- Added information to button when one-click restore is disabled

- Added pre-translated versions of the messages.yml file on github

- Added alert message visible by only admin players regarding bundle incompatibility

- Added the name of the player or block which shot a projectile killing another player (example: it used to just show that an arrow killed the player, now it shows who shot the arrow too)

- Fixed old inventory saves not being purged asynchronously

- Fixed some gui button titles going off-screen when using a high gui-scale setting

- Fixed minor non-optimized section in the player death events

- Updated bStats

- Other minor fixes



Planned upcoming features:

- Save economy when creating backups

- Support for custom sized enderchests when using Purpur

- Switching languages using a config option

(Suggest more features on github!)



Contribution credits:

- hemanth4121 - Very useful spark logs which helped me make this plugin use no more than 0.01% at its worst

- EpicPlayerA10 - Fix for IRP still logging a death even if worldguard region is cancelling damage

(You may also contribute to the project if you wish by submitting pull requests on github ^^)

[?IMG]
InventoryRollbackPlus
Introduction

Description
InventoryRollbackPlus is a plugin which will backup player inventories for various events. This is very useful if players lose items due to lag, griefing and more!

Note: This plugin is a fork (extended version) of InventoryRollback but with more features and faster updates.

Why should you I use this version?
There are many core features missing from the original plugin. Here are some of the features in this version that are not present in the original:
  • Tab completion for commands
  • Single button click to restore the entire inventory
  • Help message if you run /inventoryrollback without anything else
  • & more coming soon..
When does the plugin backup player inventories?
When the a player: Joins, Leaves, Dies, Changes world, or when requested by staff.

What does the plugin save?
The plugin saves the player's: Inventory, Enderchest, Location, Health, Hunger, XP.

How do I use the plugin?
When a backup is created, it is added to a list of available backups to view and restore.

Players with the required permission can open a rollback menu by running the command
/ir restore . You will be presented will all the recent backups the plugin has made. To view a backup just click on the corresponding icon. You can now choose to restore what you want or go back to the list of backups.

The plugin saves 50 deaths and 10 joins, leaves and world changes by deafult. New deaths, joins, leaves and world changes will push old backups into deleted space :O
You can change these values in the configuration file.


Documentation

Commands
/ir restore - Open a menu to view all player backups
/ir forcebackup - Create a backup manually
/ir enable - Enable the plugin if disabled
/ir disable - Disable the plugin if enabled
/ir reload - Reload the configuration file

Permissions
inventoryrollback.restore - (Default: OP) Allow /ir restore command
inventoryrollback.forcebackup - (Default: OP) Allow /ir forcebackup command
inventoryrollback.enable - (Default: OP) Allow /ir enable command
inventoryrollback.disable - (Default: OP) Allow /ir disable command
inventoryrollback.reload - (Default: OP) Allow /ir reload command

inventoryrollback.deathsave - (Default: All) Allow backup on death
inventoryrollback.joinsave - (Default: All) Allow backup on join
inventoryrollback.leavesave - (Default: All) Allow backup on leave
inventoryrollback.worldchangesave - (Default: All) Allow backup on world change