fix proxy

This commit is contained in:
okx-code
2025-10-07 06:13:32 +01:00
parent 3e126cdc64
commit 5ec6ea74b2
2 changed files with 5 additions and 1 deletions

View File

@@ -42,6 +42,10 @@ services:
CIV_HOSTNAME: 'main.localhost'
CIV_FORWARDING_SECRET: '1234'
CIV_MYSQL_HOST: mariadb
CIV_MYSQL_USERNAME: mariadb
CIV_MYSQL_PASSWORD: mariadb
ports:
- "25565:25577"
volumes:

View File

@@ -35,7 +35,6 @@ public class CivProxyPlugin {
this.logger = logger;
loadConfig(dataDirectory);
loadConnection();
}
public Logger getLogger() {
@@ -44,6 +43,7 @@ public class CivProxyPlugin {
@Subscribe
public void onProxyInitialization(ProxyInitializeEvent event) {
loadConnection();
new PlayerCount(this, server).start();
new PlayerRenamer(this, server, source).start();
new QueueListener(this, server).start();