You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description = "Automatically disconnects when in danger or on low health",
45
+
defaultTags = setOf(ModuleTag.COMBAT)
46
+
) {
47
+
privateval health by setting("Health", true, "Disconnect from the server when health is below the set limit.")
48
+
privateval minimumHealth by setting("Min Health", 10, 6..36, 1, description ="Set the minimum health threshold for disconnection.", unit =" hearts") { health }
49
+
privateval crystals by setting("Crystals", false, "Disconnect if an End Crystal explosion would be lethal.")
50
+
privateval creeper by setting("Creepers", true, "Disconnect when an ignited Creeper is nearby.")
51
+
privateval totem by setting("Totem", false, "Disconnect if the number of Totems of Undying is below the required amount.")
52
+
privateval minTotems by setting("Min Totems", 2, 1..10, 1, "Set the minimum number of Totems of Undying required to prevent disconnection.") { totem }
53
+
privateval players by setting("Players", false, "Disconnect if a nearby player is detected within the set distance.")
54
+
privateval minPlayerDistance by setting("Player Distance", 64, 32..128, 4, "Set the distance to detect players for disconnection.") { players }
55
+
privateval friends by setting("Friends", false, "Exclude friends from triggering player-based disconnections.") { players }
0 commit comments