aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/ambientaddons/config
diff options
context:
space:
mode:
authorAppability <appable@icloud.com>2022-10-23 12:00:05 -0700
committerAppability <appable@icloud.com>2022-10-23 12:00:05 -0700
commit0576a7f5304565bb58a499b8ccdcda31ed587dc4 (patch)
tree766fad4c88ec8be5b142e338f097b67aa7322234 /src/main/kotlin/com/ambientaddons/config
parent4f25e7948c7e85151a80c17f7d2b25b72675cecf (diff)
downloadAmbientAddons-0576a7f5304565bb58a499b8ccdcda31ed587dc4.tar.gz
AmbientAddons-0576a7f5304565bb58a499b8ccdcda31ed587dc4.tar.bz2
AmbientAddons-0576a7f5304565bb58a499b8ccdcda31ed587dc4.zip
ping command and display
Diffstat (limited to 'src/main/kotlin/com/ambientaddons/config')
-rw-r--r--src/main/kotlin/com/ambientaddons/config/Config.kt18
1 files changed, 18 insertions, 0 deletions
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") {