License: MIT
Mod dependencies: none
Optional mod dependencies: none
Contributors: Panquesito7
Damage mode
This mode attempts to prevent players from glitching through protected nodes. By damaging players who interact with a protected position too fast.
Teleport mode
This mode attempts to prevent players from glitching through protected nodes. By recording position every 20 seconds (This can be changed in settings) and teleporting them if the protection interaction happens in a very quick time frame. If a player interacts with a protected node the position will not be recorded for an extra cycle. Before recording a position, the player’s avg_jitter is checked to make sure the player is not lagging out. Latency Protection Settings
The timer for when to record a player position. This only works if punishment is set to teleport.
Code: Select all
latency_protection.timer = 20
Code: Select all
latency_protection.jitter_max = 1.5
Code: Select all
latency_protection.time_max = 10000
Code: Select all
latency_protection.damage = 16
Code: Select all
latency_protection.punishment = "damage"
Browse Code
Download