Light-Cleaner

From BergerHealer Wiki
Jump to navigation Jump to search
Light Cleaner
BergerHealer.png
Repair glitched lighting in your world
Spigot: Light Cleaner
GitHub: Light Cleaner


« Go back

Light Cleaner regenerates the light levels of blocks in your Minecraft world. It can do so around the player or for an entire world. The Spigot page has command instructions and configuration overview information.

Commands

The main command is /cleanlight with optionally some arguments

/cleanlight - regenerate lighting for all chunks you can see
/cleanlight 12 - regenerate lighting 25x25 chunks around you
/cleanlight world - regenerate lighting in the current world
/cleanlight world world1 - regenerate lighting for world1
/cleanlight abort - cancels any ongoing lighting operations
/cleanlight status - checks up on the status of the repairs
/cleanlight at [chunk_x] [chunk_z] [chunk_radius] (world) - regenerate lighting remotely (can be run from command blocks)

Repairing Singleplayer Worlds

If you have an existing singleplayer Minecraft world you want to repair but you don't have a server, or you want to repair a world on a different server without impacting your main one, read on.

Step 1. Download Paper

To run Light Cleaner you do need a paper or spigot server. Download the version compatible with your World from https://papermc.io/downloads/all

For modded minecraft hybrid servers exist like Arclight and Mohist that light cleaner can also work on, but setting these up with mods is more complicated and this section will not go into that.

Step 2. Installation

Prepare a new folder on your Desktop or somewhere like your c:// drive. In this tutorial I assume you created a folder at c://light-cleaner/. Adjust this based on your operating system. Ideally choose a folder whose path does not include spaces, but generally this should still work OK.

Next, copy the papermc.io jar you downloaded earlier into this folder.

Step 3. Copy your world

Find where your world data is saved in your Minecraft client. Typically this is in .minecraft/saves located in %appdata% (windows), your user home folder or similar. Copy this save world folder to the root installation folder you created in Step 2.

Rename the folder to "world" so that the server will properly load it on startup.

Step 4. Install Plugins

Create a "plugins" folder in the root server folder. Download Light Cleaner and BKCommonLib