本项目是 ChunkPurge 在 1.6.4 版本上的分支,并经过大量修改。
它旨在与 Minecraft v1.7.10 Infitech 2 v3.1.14 配合使用。
虽然该项目此前已被分支并更新至 1.7.10,但当时既未编译,也无法在 Infitech 2 中正常运行。
GitHub:
Description
该模组通过定期扫描每个维度中配置为被扫描的已加载区块,并识别那些与任何有效区块观察者(chunk watchers)隔离的区块。随后,这些区块将被安排卸载。有效的区块观察者包括玩家、区块加载票证(强制加载区块)以及某些维度的出生点区域。
通过仅卸载孤立的区块,我们避免了破坏能量网络和其他多区块对象。部分卸载这些对象会导致显著的延迟峰值。使用泛洪填充算法来识别哪些区块仍然与区块观察者链接,然后卸载剩余的区块。
命令
这些配置选项也可以在 ChunkPurge.cfg 中编辑。对于所有命令,省略参数即可查看当前设置。
/chunkpurge delay [ticks]
在尝试卸载区块之间等待的刻数。默认值:600
/chunkpurge debug [true|false]
向控制台日志记录从每个维度卸载的区块数量,以及计算哪些区块需要卸载所花费的时间。默认值:false
/chunkpurge enable [true|false]
设置为 false 将阻止任何卸载区块的尝试。默认值:true
/chunkpurge pradius [# of chunks]
设置每个玩家周围的忽略半径。玩家的忽略半径是服务器设置的玩家视距与 pradius 之和。超出忽略半径的区块将被强制卸载,无论这些区块是否与玩家加载的区块相连。默认值:4
/chunkpurge tradius [# of chunks]
设置每个强制加载区块(区块加载票)周围的忽略半径。超出忽略半径的区块将被强制卸载,无论这些区块是否与强制加载的区块相连。默认值:5
/chunkpurge sradius [# of chunks]
设置出生点加载区块周围的忽略半径。出生点的忽略半径是出生点加载区块数(8)与 sradius 之和。超出忽略半径的区块将被强制卸载,无论这些区块是否与出生点加载的区块相连。默认值:3
/chunkpurge dimlist
列出 ChunkPurge 当前正在检查是否卸载的维度 ID。默认设置为仅检查主世界(dim 0)以进行卸载。默认值:0
/chunkpurge dimlist add [DimID,DimID,ect.]
添加要由 ChunkPurge 检查是否卸载的维度 ID。默认设置为仅卸载主世界(dim 0)中的区块。但是,使用 /chunkpurge dimlist add -1,1 会将下界和末地也设置为被检查。可以一次添加任意数量的 dimID,用逗号分隔且中间不要有空格。
/chunkpurge dimlist remove [DimID,DimID,ect.]
移除 ChunkPurge 在卸载时需检查的维度 ID。如果配置设置为检查主世界、下界和末地,使用 /chunkpurge dimlist remove -1,1 将使下界和末地不再被检查。可以一次移除任意数量的维度 ID,以逗号分隔且中间不能有空格。
This project is a forked and now heavily modified version of ChunkPurge for 1.6.4.
It is intended to work with Minecraft v1.7.10 Infitech 2 v3.1.14
While the project had already been forked and updated to 1.7.10, it was both uncompiled, and didn't work with infitech 2.
GitHub:
Description
This mod works by periodically scanning the loaded chunks in each dimension that are configured to be scanned, and identifying those which are isolated from any valid chunk watchers. Those chunks are then scheduled for unloading. Valid chunk watchers are players, chunkloading tickets (force loaded chunks), and the spawn areas of certain dimensions.
By only unloading isolated chunks, we avoid breaking energy nets and other multi-chunk objects. Partially unloading these would cause significant lag spikes. A flood fill algorithm is used to identify which chunks are still linked to chunk watchers, and the remaining chunks are unloaded.
Commands
These configuration options can also be edited in ChunkPurge.cfg. For all commands omit the parameter to view the current setting.
/chunkpurge delay [ticks]
The number of ticks to wait between chunk unloading attempts. Default: 600
/chunkpurge debug [true|false]
Logs to console the number of chunks unloaded from each dimension, and how long is spent calculating which chunks to unload. Default: false
/chunkpurge enable [true|false]
Setting to false will prevent any attempts to unload chunks. Default: true
/chunkpurge pradius [# of chunks]
Sets the ignore radius around each player. Ignore radius for the player is the sum of server set player view distance and pradius. Chunks outside the ignore radius will be forced to unload regardless of whether or not those chunks are connected to player loaded chunks. Default: 4
/chunkpurge tradius [# of chunks]
Sets the ignore radius around each force loaded chunk (chunk loading ticket). Chunks outside the ignore radius will be forced to unload regardless of whether or not those chunks are connected to force loaded chunks. Default: 5
/chunkpurge sradius [# of chunks]
Sets the ignore radius around spawn loaded chunks. Ignore radius for spawn is the sum of spawn loaded chunks (8) and sradius Chunks outside the ignore radius will be forced to unload regardless of whether or not those chunks are connected to spawn loaded chunks. Default: 3
/chunkpurge dimlist
Lists the current dimension ID's being checked by ChunkPurge for unload. The default is set to only check the Overworld (dim 0) for unload. Default: 0
/chunkpurge dimlist add [DimID,DimID,ect.]
Adds dimension ID's to be checked by ChunkPurge for unload. The default is set to only unload chunks in the overworld (dim 0). However, using /chunkpurge dimlist add -1,1 would set the Nether and End to be checked as well. Any number of dimID's can be added at one time in a comma seperated list with NO spaces.
/chunkpurge dimlist remove [DimID,DimID,ect.]
Removes dimension ID's to be checked by ChunkPurge for unload. If the the config is set to check Overworld, Nether, and End, using /chunkpurge dimlist remove -1,1 would set the Nether and End to no longer be checked. Any number of dimID's can be removed at one time in a comma seperated list with NO spaces.
评论 0
登录后参与评分
还没有评论,来抢沙发吧