From 0576a7f5304565bb58a499b8ccdcda31ed587dc4 Mon Sep 17 00:00:00 2001 From: Appability Date: Sun, 23 Oct 2022 12:00:05 -0700 Subject: ping command and display --- src/main/kotlin/com/ambientaddons/config/Config.kt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/main/kotlin/com/ambientaddons/config') diff --git a/src/main/kotlin/com/ambientaddons/config/Config.kt b/src/main/kotlin/com/ambientaddons/config/Config.kt index 4e4c39f..db2c327 100644 --- a/src/main/kotlin/com/ambientaddons/config/Config.kt +++ b/src/main/kotlin/com/ambientaddons/config/Config.kt @@ -37,6 +37,9 @@ object Config : Vigilant( var cat = true var witherShieldDisplay = 0 + var shouldPing = 0 + var pingDisplay = 0 + var terminatorCps = 0 var cancelInteractions = false var closeSecretChests = false @@ -191,6 +194,21 @@ object Config : Vigilant( description = "Displays remaining wither shield duration", options = listOf("Off", "Default", "Shadow", "Outline") ) + subcategory("Ping and TPS") { + selector( + ::shouldPing, + name = "Enable ping", + description = "Enables ping in command and display. This requires sending packets to the server.", + options = listOf("Off", "In Skyblock", "On Hypixel", "Always") + ) + selector( + ::pingDisplay, + name = "Ping and TPS display", + description = "Displays current ping and TPS. Ping requires ", + options = listOf("Off", "Default", "Shadow", "Outline") + ) + } + } category("Dungeon") { -- cgit