Skip to content

Commit 6b518db

Browse files
Fix snakeyaml and add link to wiki
1 parent 5738447 commit 6b518db

3 files changed

Lines changed: 15 additions & 11 deletions

File tree

pom.xml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@
6262
<pattern>org.yaml.snakeyaml</pattern>
6363
<shadedPattern>net.pistonmaster.pistonqueue.shade.snakeyaml</shadedPattern>
6464
</relocation>
65+
<relocation>
66+
<pattern>com.google.errorprone</pattern>
67+
<shadedPattern>net.pistonmaster.pistonqueue.shade.google.errorprone</shadedPattern>
68+
</relocation>
6569
</relocations>
6670
<filters>
6771
<filter>
@@ -169,6 +173,11 @@
169173
</repositories>
170174

171175
<dependencies>
176+
<dependency>
177+
<groupId>org.spongepowered</groupId>
178+
<artifactId>configurate-yaml</artifactId>
179+
<version>4.1.2</version>
180+
</dependency>
172181
<dependency>
173182
<groupId>org.spigotmc</groupId>
174183
<artifactId>spigot-api</artifactId>
@@ -205,11 +214,6 @@
205214
<artifactId>bstats-velocity</artifactId>
206215
<version>2.2.1</version>
207216
</dependency>
208-
<dependency>
209-
<groupId>org.spongepowered</groupId>
210-
<artifactId>configurate-yaml</artifactId>
211-
<version>4.1.2</version>
212-
</dependency>
213217
<dependency>
214218
<groupId>com.comphenix.protocol</groupId>
215219
<artifactId>ProtocolLib</artifactId>

src/main/java/net/pistonmaster/pistonqueue/bungee/PistonQueueBungee.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public void onEnable() {
171171
queueListenerBungee.setMainOnline(false);
172172
}
173173
} else {
174-
getLogger().warning("Main Server \"" + Config.MAINSERVER + "\" not set up!!!");
174+
getLogger().warning("Main Server \"" + Config.MAINSERVER + "\" not set up!!! Check out: https://github.com/AlexProgrammerDE/PistonQueue/wiki/FAQ#server-not-set-up");
175175
}
176176
}, 500, Config.SERVERONLINECHECKDELAY, TimeUnit.MILLISECONDS);
177177

@@ -189,7 +189,7 @@ public void onEnable() {
189189
queueListenerBungee.setQueueOnline(false);
190190
}
191191
} else {
192-
getLogger().warning("Queue Server \"" + Config.QUEUESERVER + "\" not set up!!!");
192+
getLogger().warning("Queue Server \"" + Config.QUEUESERVER + "\" not set up!!! Check out: https://github.com/AlexProgrammerDE/PistonQueue/wiki/FAQ#server-not-set-up");
193193
}
194194
}, 500, Config.SERVERONLINECHECKDELAY, TimeUnit.MILLISECONDS);
195195

@@ -208,7 +208,7 @@ public void onEnable() {
208208
queueListenerBungee.setAuthOnline(false);
209209
}
210210
} else {
211-
getLogger().warning("Auth Server \"" + Config.AUTHSERVER + "\" not set up!!!");
211+
getLogger().warning("Auth Server \"" + Config.AUTHSERVER + "\" not set up!!! Check out: https://github.com/AlexProgrammerDE/PistonQueue/wiki/FAQ#server-not-set-up");
212212
}
213213
} else {
214214
queueListenerBungee.setAuthOnline(true);

src/main/java/net/pistonmaster/pistonqueue/velocity/PistonQueueVelocity.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public void onProxyInitialization(ProxyInitializeEvent event) {
175175
queueListenerVelocity.setMainOnline(false);
176176
}
177177
} else {
178-
logger.warn("Main Server \"" + Config.MAINSERVER + "\" not set up!!!");
178+
logger.warn("Main Server \"" + Config.MAINSERVER + "\" not set up!!! Check out: https://github.com/AlexProgrammerDE/PistonQueue/wiki/FAQ#server-not-set-up");
179179
}
180180
}).delay(500, TimeUnit.MILLISECONDS).repeat(Config.SERVERONLINECHECKDELAY, TimeUnit.MILLISECONDS).schedule();
181181

@@ -189,7 +189,7 @@ public void onProxyInitialization(ProxyInitializeEvent event) {
189189
queueListenerVelocity.setQueueOnline(false);
190190
}
191191
} else {
192-
logger.warn("Queue Server \"" + Config.QUEUESERVER + "\" not set up!!!");
192+
logger.warn("Queue Server \"" + Config.QUEUESERVER + "\" not set up!!! Check out: https://github.com/AlexProgrammerDE/PistonQueue/wiki/FAQ#server-not-set-up");
193193
}
194194
}).delay(500, TimeUnit.MILLISECONDS).repeat(Config.SERVERONLINECHECKDELAY, TimeUnit.MILLISECONDS).schedule();
195195

@@ -204,7 +204,7 @@ public void onProxyInitialization(ProxyInitializeEvent event) {
204204
queueListenerVelocity.setAuthOnline(false);
205205
}
206206
} else {
207-
logger.warn("Auth Server \"" + Config.AUTHSERVER + "\" not set up!!!");
207+
logger.warn("Auth Server \"" + Config.AUTHSERVER + "\" not set up!!! Check out: https://github.com/AlexProgrammerDE/PistonQueue/wiki/FAQ#server-not-set-up");
208208
}
209209
} else {
210210
queueListenerVelocity.setAuthOnline(true);

0 commit comments

Comments
 (0)