🐛 fix: restore plugin auth and proxy connection info

This commit is contained in:
2026-08-13 02:32:39 +07:00
parent 3df22125dd
commit 5567ac6594
20 changed files with 141 additions and 65 deletions
@@ -30,14 +30,7 @@ class MinikuraWebSocketClient(private val plugin: Main, private val logger: Logg
"test" -> {
logger.info("API Call detected: endpoint=$endpoint, timestamp=$timestamp")
when (endpoint) {
"/servers" -> {
logger.info("dawdawdawdawd")
}
else -> {
logger.info("API endpoint $endpoint was accessed")
}
}
logger.info("API endpoint $endpoint was accessed")
}
"SERVER_CHANGE" -> {
val action = jsonObject.get("action")?.asString
@@ -46,7 +39,7 @@ class MinikuraWebSocketClient(private val plugin: Main, private val logger: Logg
logger.info("Server change detected: action=$action, serverType=$serverType, serverId=$serverId")
when (action) {
when (action?.uppercase()) {
"CREATE" -> {
logger.info("Server '$serverId' was created")
executeRefreshCommand()