1.18 Experimental Build (Deprecated) - LootrMinecraft/Lootr GitHub Wiki

Deprecated

Please see the Data Migration - 1.18 and later page.

I'm currently working on an experimental version of Lootr for 1.18.1 that stores data differently. I'm looking for people interested in testing this in both single-player and on servers.

This page contains information on how to back-up your current Lootr data to prevent any loss in your world, as well as instructions on how to ensure the experimental build is functioning properly.

I am extremely confident in its current functioning but I'd like some testing done before release.

The test build can be found linked at the end of this post.

Installation steps

  1. Before installing the version attached to this post, please go to your world/ directory and make a back-up copy of the world/data folder (for servers), or, for single-player, go to the saves/Your World Name Here directory and make a back-up copy of the saves/Your World Name Here/data directory. (Directory structure will look something like this: image).
  2. Replace the version of Lootr you have installed with the one attached to this point.
  3. Once you have launched the server or joined the single-player world, please make a copy of the logs/latest.log file named Lootr-migration.log. In addition, in this log you will find a message indicating how many files were moved into subdirectories. (Looking something like this: image )
  4. Please confirm that the data/lootr directory now exists with subfolders (and the various Lootr-XXXData.dat files).

Testing steps

  1. Please ensure that chests you have previously looted do not suddenly get new loot added to them.
  2. If you are using chests for storage, please ensure that such items still exist.
  3. Please ensure that any future chests you open do not create additional files in the world/data (or equivalent) directory. These would be in the format of Lootr-chest-<dimension>-UUID, Lootr-entity-<uuid> and Lootr-custom-<dimension>-<uuid>. (New directory structure should look like this: image)
  4. Ensure that the /lootr clear <player> functions properly.

Handling issues

If any of these testing steps fail, or you experience a crash, please open an issue report with the following:

  1. A copy of your original back-up world/data (or equivalent) folder (as a zip file)
  2. A copy of your current, new world/data (or equivalent) folder.
  3. A copy of the Lootr-migration.log file.
  4. Any crash reports, screenshots or other information that is relevant.

Please file an issues on the tracker if you experience any bugs or problems. For general questions, you can ask in the #lootr channel of my Discord.

Reporting successes

If you find no issues with this update, please also let me know. The most convenient place to do so would be in the #lootr channel of my Discord.

Reversion

To revert, after having stopped your server/game:

  1. Delete the world/data/lootr directory.
  2. From your original world/data back-up, copy all files beginning with Lootr- into the world/data folder.
  3. Remove 1.18-0.1.15.49 and replace with the most recently released version on CurseForge (0.1.14.48)
  4. Relaunch your server/single-player.

Please note that any inventories create since after testing the update will have regenerated their contents; this is not an issue and is to be expected when reverting to a back-up.

Build

Please use the following build: lootr-1.18-0.1.15.49.

⚠️ **GitHub.com Fallback** ⚠️