Refactor event group management and routing system

This commit is contained in:
2025-05-08 17:32:12 +02:00
parent c633694222
commit e3179c69aa
11 changed files with 385 additions and 170 deletions
@@ -20,7 +20,6 @@
package de.steamwar.routes
import de.steamwar.ResponseError
import de.steamwar.data.Groups
import de.steamwar.data.getCachedSkin
import de.steamwar.plugins.SWAuthPrincipal
import de.steamwar.plugins.SWPermissionCheck
@@ -102,9 +101,6 @@ fun Route.configureDataRoutes() {
}
call.respond(YamlConfiguration.loadConfiguration(file).getStringList("Server.Maps"))
}
get("/groups") {
call.respond(Groups.getAllGroups())
}
}
get("/server") {
try {