Footprint
Footprint is a server-side Fabric mod to help keep your world file size manageable when players explore lots of terrain quickly, especially using Elytra. Server admins often use (great) tools like MCA Selector to prune chunks that have only been loaded for a very short time. Footprint simply makes this process automatic by not saving those chunks in the first place. There may be reasons you want a chunk to be saved even though it wasn't loaded for long enough, the mod also has a few config options for that. Footprint does NOT delete chunks that have already been saved, so it will never decrease your world size. You can still prune old chunks manually.
Thanks Magistermark for a very easy to use config library.
Known Issue
In the current version, there is an issue causing duplicate entities to spawn when chunks are generated multiple times. This is being worked on.
Features
- Load the server once with the mod installed to generate the config file (
footprint_config.propertiesin your server'sconfigfolder). This config allows you to set conditions for when a chunk should be saved.- Every option is explained within the file itself.
- Restart the server to apply changes.
- Options are:
- Chunks are only saved after they've been loaded by players for a specified amount of ticks (default: 1200, which is 60 seconds). This uses the
inhabitedTimevalue tracked by the vanilla game for local difficulty. - There are a bunch of actions you can turn on/off that will cause a chunk to be saved regardless of the
inhabitedTime. Each of these can additionally specify a range of chunks around the event to also force save.- Block placed by player (default: on, range 0)
- Block broken by player (default: on, range 0). Example: to prevent players from quickly grabbing a resource from the same chunk multiple times.
- Entity hurt (default: off, because entities get hurt naturally quite often)
- Item picked up by player (default: on, range 1)
- Item dropped by player (default: on, range 1). Example: to avoid loss of items dropped while flying over new terrain.
- Chunks are only saved after they've been loaded by players for a specified amount of ticks (default: 1200, which is 60 seconds). This uses the
Disclaimer
I'm a new modder. I needed this for a server I'm working on and made it as a learning opportunity. Therefore, it could be a little messy - use with caution. Make regular backups!! (This mod may even make that easier.) There is a bit of a tradeoff here: chunk generation causes a lot of strain on the server, and chunks that aren't saved may need to be generated again later. So this mod is helpful if world size is your main issue, and not if you're having trouble with lag! Feel free to use the code as you please, and improvement suggestions are welcome! (-:
How to Install Footprint (Mod)
Footprint by JowhJy is verified for Fabric across Minecraft versions 1.20.1, 1.21.10, 1.21.11, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9 (latest release: 1.0.2-beta+26.3, file size: 532 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.21.10, 1.21.11, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Footprint file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Updated to Minecraft 26.3
- Updated Minecraft version to 26.2
- Update to minecraft 26.1 by @CrasyCookie in https://github.com/JowhJy/footprint/pull/9
- Fixed an issue where entities would generate multiple times
- Added option to save chunks where entities have been interacted with
- Backported to Minecraft version 1.21.9
- Updated Minecraft version to 1.21.11
- Updated Minecraft version to 1.21.10
- I don't fully understand this, but it seems that the chunk loading changes in this version have caused
inhabitedTimeto increase faster. Consider increasingmin_inhabited_timein your config accordingly if you start seeing too many chunks saved
- Updated Minecraft version to 1.21.8
- Updated Minecraft version to 1.21.7
- Backported to Minecraft 1.20.1 because someone needed it and it turned out to be easy enough :)
- updated Minecraft version to 1.21.6