mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-15 23:20:44 +00:00
fix proxy
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user