diff --git a/standalone/src/main/java/com/vexsoftware/nuvotifier/standalone/config/server/BackendServer.java b/standalone/src/main/java/com/vexsoftware/nuvotifier/standalone/config/server/BackendServer.java index 90591ab..c6874af 100644 --- a/standalone/src/main/java/com/vexsoftware/nuvotifier/standalone/config/server/BackendServer.java +++ b/standalone/src/main/java/com/vexsoftware/nuvotifier/standalone/config/server/BackendServer.java @@ -9,7 +9,7 @@ public class BackendServer { public BackendServer() { this.address = "127.0.0.1"; this.port = 25565; - this.token = null; + this.token = "exampleToken"; } public BackendServer(String address, int port, String token) { diff --git a/standalone/src/main/java/com/vexsoftware/nuvotifier/standalone/inject/server/VotifierServerModule.java b/standalone/src/main/java/com/vexsoftware/nuvotifier/standalone/inject/server/VotifierServerModule.java index 538eb44..6a6b5b6 100644 --- a/standalone/src/main/java/com/vexsoftware/nuvotifier/standalone/inject/server/VotifierServerModule.java +++ b/standalone/src/main/java/com/vexsoftware/nuvotifier/standalone/inject/server/VotifierServerModule.java @@ -46,6 +46,7 @@ public StandaloneVotifierPlugin provideStandaloneVotifierPlugin( VotifierServerBuilder builder = new VotifierServerBuilder() .bind(address) .v1KeyFolder(rsaFolder) + .disableV1Protocol(config.isDisableV1Protocol()) .debug(config.isDebug()) .backendServers(config.getBackendServers());