• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Claim Auto Repair Block

Hi

Loving the mod. Players on our server are asking if there is a way to increase the speed in which block are repaired. The claim area we have is set to 80.

Thanks

 
Repair speed, once a block is found, can be increased, but not the speed at which blocks are found:
https://github.com/OCB7D2D/ClaimAutoRepair/blob/master/Config/blocks.xml#L29
I'll just quote the pinned nexusmods comment for reasons why find speed is not configurable:

One auto repair block covers a perimeter of normally e.g. 40x40x40 blocks, which equates to 64'000 blocks. We search for a repairable block each `tick`, which is the in-game-engine timing, normally around 1/50s. In order to find every damaged block we would need to check 64k blocks 50 times per second. Doesn't sound like a good idea if you want to leave some CPU power for other tasks. That is why this mod uses a CPU friendly approach. On every tick we only scan a few random blocks (blocks closer will be scanned more often). The further away a block is, the less the chance the auto repair block will find it. And if you have multiple damaged blocks instead of just one, the random scan will much easier find a block to repair (statistics anybody?). If there is only exactly one damaged block in all of the 64k blocks, don't expect the repair block to find it quickly!


 
Last edited by a moderator:
Thanks for this info. I will pass this on to the guys playing on our server.

What happens if they have more than one Auto repair?

 
Thanks for this great mod. I've loved using it in A20. Any change it will get a A21 version? Thanks again for making one of my favorite QoL mods.

 
Hey guys. Any plans to make it compatible with Alpha21 now that's its stable? This mod adds so much qol by repairing 2+ blocks deep builds. Danf zombies and their long a55 arms that damage blocks behind other blocks. Cheers.

 
I got a message saying auto claim could use forged steel? I put 200 forged steel and the message still appears when I click the auto repair block.

any ideas?

 
Last edited by a moderator:
Back
Top