RollbackCore [1.4.7-1.20.3+] icon

RollbackCore [1.4.7-1.20.3+] -----

Aggressively rollback arenas without lag! Easy integration! Scalable!




If you have saves from before 1.20.3, you are going to want to install this update as soon as possible. 1.20.3 updated the grass block, and without this update, old saves will load grass as stone. New saves will still work on the old version, but old saves will require this update to rename the block.

Changes in 3.6.2:
- Added new grass block to grass mappings
- Added initial support for hanging signs. Improved support coming in version 3.7.
- Updated dependencies
- Skript is now updated to 2.7.2

Current limitations:
- Back-side sign text is not supported. This is coming in version 3.7.

Changes in 2.5.2:
- Update Skript dependency to 2.6.4
----------, Dec 6, 2023

I spent many hours testing this version, but as usual, make backups just in case.

Fixes:
  • Fixed the task manager, preventing issues with slow operations in specific cases (like a duplicate paste ending early)
  • Fixed structure (tree) growth not listened to for WatchDogRegion rollback.
Changes:
  • 3.6.0 specific: Updated mappings to 1.17.1. Which exclusively affects the grass path block rename.
  • Allow updating/re-saving regions (arenas) that were previously saved. (this was a requested feature)
Other changes:
  • Moved code to GitHub and split it into two repositories: one for the new version, and one for the legacy version.
  • Added project to JitPack for maven for developers.
----------, Jul 27, 2021

**IMPORTANT - UPDATE IMMEDIATELY IF 1.13 OR NEWER**
Fixes a rare but severe bug that corrupted some saves that had more than 254 different types of blocks. If you lost a build due to this, contact me and I can try to help.
A special thanks to @DeadSteveGaming and @Kapitan_Floww for reporting it!
---------------------------------------
Full sign support for newer sign types has been added.
1.13.2 - 1.16.x compatibility has been retained for the 1.13.2+ version.
---------------------------------------
Added new EXPERIMENTAL world-rollback feature.

This feature is experimental. Do /save-all, then manually backup your world before using.
It works by backing up the entire world, then unloading the world and loading the backup when requested.
(Only added on the 1.13.2+ version)
---------------------------------------

I spent a lot of time updating then testing this version, so I would very much appreciate donations: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Y2ZEWAJAN23CC
----------, Jan 15, 2021

This is a major update for RollbackCore's 1.13+ version! This should future-proof RollbackCore.

This version will update the BlockData from whatever version the region was saved on to the newest version that it has the update data for. I loaded in 1.13 up until 1.14.4. However, this version allows you to specify your own updates, so in the event that a new Minecraft version is released that changes the BlockData, you can use the format that will be documented on the plugin page to manually specify the replacement.
Updates from me will be quick because no code should need to be changed for simple BlockData changes. Just a change of a file.

RollbackCore is now also tolerant of outdated BlockData, so in the event that you are using this version on a future update, and you are not manually specifying the updates, the region will not be misread. It will instead place stone and move on without further issues.

I thoroughly tested this update, and it was even able to update a rollback region saved in from the early versions of RollbackCore to 1.14.4! If you experience any issues, please let me know as soon as possible in the discussion section or the issue tracker on BitBucket, NOT THE REVIEW section! Thank you.

Bug fixes:
  • This version also fixes an issue that two users have experienced where the output folder is not created. This bug is fixed for both version 2 (1.12.2 and older), and version 3 (1.13+). Thank you to those that reported it.
  • I made compression off by default because there was one report of corruption. If you continue with compression enabled to save space, in the event of corruption send me a copy of the world so I can find the root of the issue. Backups are recommended.
I put in almost a week of my time for this update, so any donations and 5-star reviews are appreciated! https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Y2ZEWAJAN23CC Thank you!

You can see the code changes here: https://bitbucket.org/lizardfreak321/rollbackcore/commits/dab57eeb6fd87607aa11a13f0773d33ad5d55d76
----------, Aug 25, 2019

This update adds support for worldedit-bukkit-7.0.0-beta-04
----------, Dec 12, 2018

The plugin can now load without Skript installed.
----------, Nov 12, 2018

  • Added support for Skript events. See plugin page for details.
  • Updated bStats.
----------, Nov 12, 2018

I updated both the 1.12 version and the 1.13 version to support the copying and pasting of command blocks. 1.12->1.3 upgrade support has also been added for command blocks.

Make backups, and let me know if you find any bugs or issues with command block copying, since I am not a command block expert.

Note: Old saves will not contain all command block data. If you use command blocks, make sure you copy them with the new version.

To test this update I copied a region using 2.3.3, 2.3.4, and 3.3.0. I then pasted them using 3.3.0. It upgraded them. The version copied in 2.3.3 did not have the correct direction, and it did not have the command. The version copied in 2.3.4 was identical to the one copied in 3.3.0.
----------, Nov 9, 2018

The same warnings from the last versions still apply!

- Updated 1.13 version to 1.13.2
- Updated BStats
- Fixed issue with case sensitivity in the command arguments.
----------, Oct 28, 2018

The previous warnings still apply! Make sure you read them!

Added basic skull support. It now saves the UUID of the skull and will set the rollback-ed skull to this UUID.

NOTE: Currently it does not work well if the skull's owner is offline. I don't know how to fix this without lagging the server. If I find a good solution I can update this.

Previous files will work, and files created in this version will work with a warning on the older version when it hits a skull (though I would recommend updating).
----------, Sep 3, 2018

ALL WARNINGS FROM THE PREVIOUS POST STILL APPLY. THIS VERSION IS STILL BETA AND WILL NOT UPDATE PRE-1.13 REGIONS PERFECTLY.

This plugin has been updated to 1.13.1 and version 7.0.0 or newer of Worldedit that you can get here: http://builds.enginehub.org/job/worldedit/last-successful?branch=master

If you are using 1.12.2 or older, use the old worldedit jar and the 2.3.3 version of RollbackCore provided in the zip file.
----------, Aug 30, 2018

CAUTION: This is a beta update! Keep backups! There may be bugs! Please see below for details.

The converter is not perfect! It will not connect blocks like fences! If this matters to you, rollback the region in 1.12, update both Minecraft and RollbackCore to 1.13, then copy it.
Also, if it starts spewing out errors, disable compression, delete the converted file, rename the <name>.dat_old file to <name>.dat, then try again, or just convert it using Minecraft as stated above.
If it starts saying "Unknown <number> <number" then let me know. I needed to manually add a lot of the blocks that were missing, so I may have missed a few.

Note: 2.3.3 is for 1.12.2 and older, and 3.0.0 is for 1.13.

Changes:
  • Supports 1.13 (completely changed how blocks are stored to make this possible)
  • Includes a working (but not perfect) converter that converts even the oldest RollbackCore files to 3.0.0's 1.13 format. Tested on saves as early as 2016.
  • Supports optional LZ4 compression (enabled be default). If there are a lot of errors, disable this and let me know.
  • Lower storage usage in most cases with and without compression!
  • More efficient! Faster on a native 1.13 server than the 1.12 version is on a 1.12 server (I didn't expect this because it's more complicated now). It's about 4-5 times faster than the 1.12 version is on a 1.13 server due to the limits of the compatibility layer that the Spigot team added, so please use the native 1.13 version on 1.13!
  • Improved the progress message to show estimated time left.
  • Improved the paste command to enable the use of the flags without needing to manually specify the coordinates or the world.
  • Updated to bStats.
A lot of time went into this update. If it doesn't work, let me know and I will fix it. If it works, leave a nice review and spread the word on how good this plugin is!
----------, Aug 3, 2018

The "/rollback rollbackarena" command now supports two new arguments, "-ignoreAir" and "-clearEntities"

The IgnoreAir argument will result in it not rolling back blocks that are stored in the file as air.

ClearEntities clears the entities of the region. By default it will not clear: PLAYER, ENDER_CRYSTAL, PAINTING, LEASH_HITCH, or ARMOR_STAND.

Note for devs: I doubt anyone used it, but the prePaste method has been removed.
----------, Sep 24, 2017

Please backup your arenas folder (in the main server directory) if you have one!

Changes:
  • Redid the arena/region save system to allow several per world
    • Saved regions are no longer associated with a world. The only difference in use is you need to specify the region name in the "/rollback addregion <name>" command.
    • Note: It is important that you name it the same as the world name if you are following my instructions on how to make this work with the survivalgames plugin.
    • I added an alias for the commands. "addarena" now has the alias "addregion", and "arena" now has the alias "rollbackregion" (or just "region") since it makes more sense that way.
    • In addition to this I moved the arena save folder into the RollbackCore plugin folder. It will move when the server starts, so please backup the folder before the server starts!
    • Thanks to @ANDREI923 for the suggestion.
  • When copying and pasting files, if you do not specify a file extension, it will add .dat, and if you also do not specify a path, it will put it in the RollbackCore plugin folder.
    • Keep in mind, however, that this command is still only intended for trusted people, as it is still possible to get files anywhere on your computer they dare.
    • Let me know if this breaks anything in the discussion.
    • Thanks to @lanceryy for the suggestion.
Bug fixes:
  • Fixed error on pre-1.8 servers with pistons. Thanks to @xbxy for reporting.

You can view the code changes here: https://bitbucket.org/lizardfreak321/rollbackcore/commits/
Feel free to contribute if you know how to code!
----------, Sep 4, 2017

This update just fixes an issue with the events. Thanks to @Futurize for pointing it out.

This version will work on 1.4.7 to 1.11.2.
----------, Apr 16, 2017

This update is so big I more than doubled the jar size! It's a lot better now, please see the changelog below.

Changelog:
-Now checks sign text on paste-rollback.
-Now checks data values on paste-rollback instead of just the material ID.
-Copy and pastes are now progressive.
-All tasks don't take more than a configurable amount of time per tick. Spreads time evenly between operations.
-Increased efficiency of the copy operation by more than 50%.
-Now optionally clears entities on restore rollback operations.
-Optionally ignores blocks in the config defined as air.
-Custom prefixes for developers to use to seamlessly integrate this into their plugin.
-New events to let developers know when operations have completed.
-New WatchDogRegions [BETA] to scale for larger arenas.
-Added a ClearEntities class that is open for developers to use.
-Safely unloads chunks to save memory.
-Improved commands.
-Updated to 1.10
-Added backwards compatibility back to Spigot 1.4.7!
-Now open source under LGPL license.

Known issues:
-Chunks sometimes mysteriously disappear during or after a rollback. Report this if it happens to you, I want to get rid of it as soon as I can.
----------, Jul 5, 2016

This update should be used if this plugin's API is being used, otherwise this is a completely optional update. I will be releasing the JavaDocs.
----------, Mar 12, 2016

Updated to the 1.9 API. This update is recommended if you are using this with end blocks on a 1.9 server. It should still work on 1.7-1.9.

Caution: 1.9 blocks saved in 1.0 will not work on 1.1.

This update requires no changes.
----------, Mar 9, 2016

Resource Information
Author:
----------
Total Downloads: 8,667
First Release: Feb 15, 2016
Last Update: Dec 6, 2023
Category: ---------------
All-Time Rating:
24 ratings
Find more info at www.shadowxcraft.net...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings