Footprint 图标

Footprint

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.1-beta+26.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/footprint
资源信息

Minecraft 版本: 26.2

平台: fabric

标签: management optimization utility

资源介绍

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.properties in your server's config folder). 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 inhabitedTime value 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.

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! (-:

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
MC VHS

价格:0 墨喵币
下载量:0

查看详情
God of War Custom Items

价格:0 墨喵币
下载量:0

查看详情
Feathers

价格:0 墨喵币
下载量:0

查看详情
Mobs brain upgrades

价格:0 墨喵币
下载量:0

查看详情