Skip to content

Commit a3a669d

Browse files
docs: add wiki links to commands and README
- Fix FAQ anchor in server not set up error message - Add wiki link to /pq help and /pq version command output - Add links to Installation, Configuration, Commands, and FAQ in README
1 parent 02df5bc commit a3a669d

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ It is a recreation of the 2b2t.org queue system design, but adds a lot of featur
2626

2727
Check out the [wiki](https://github.com/AlexProgrammerDE/PistonQueue/wiki) for a tutorial on how to set up PistonQueue.
2828

29+
- [Installation Guide](https://github.com/AlexProgrammerDE/PistonQueue/wiki/Installation)
30+
- [Configuration](https://github.com/AlexProgrammerDE/PistonQueue/wiki/Configuration)
31+
- [Commands & Permissions](https://github.com/AlexProgrammerDE/PistonQueue/wiki/Commands-and-Permissions)
32+
- [FAQ & Troubleshooting](https://github.com/AlexProgrammerDE/PistonQueue/wiki/FAQ)
33+
2934
## 🌈 Community
3035

3136
Feel free to join our Discord community server:

shared/src/main/java/net/pistonmaster/pistonqueue/shared/command/MainCommandShared.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ default void onCommand(CommandSourceWrapper sender, String[] args, PistonQueuePl
5151
sender.sendMessage(component().text("PistonQueue").color(TextColorWrapper.GOLD));
5252
sender.sendMessage(component().text("Version " + plugin.getVersion() + " by").color(TextColorWrapper.GOLD));
5353
sender.sendMessage(component().text(String.join(", ", plugin.getAuthors())).color(TextColorWrapper.GOLD));
54+
sender.sendMessage(component().text("Wiki: ").color(TextColorWrapper.GOLD)
55+
.append(component().text("https://github.com/AlexProgrammerDE/PistonQueue/wiki").color(TextColorWrapper.GREEN)));
5456
sendLine(sender);
5557
}
5658
case "stats" -> {
@@ -198,6 +200,8 @@ default void help(CommandSourceWrapper sender, Config config) {
198200
sender.sendMessage(component().text("/pq unshadowban").color(TextColorWrapper.GOLD));
199201
}
200202

203+
sender.sendMessage(component().text("Wiki: ").color(TextColorWrapper.GOLD)
204+
.append(component().text("https://github.com/AlexProgrammerDE/PistonQueue/wiki").color(TextColorWrapper.GREEN)));
201205
sendLine(sender);
202206
}
203207

shared/src/main/java/net/pistonmaster/pistonqueue/shared/plugin/PistonQueuePlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ default void scheduleTasks(QueueListenerShared queueListener) {
138138
queueListener.getOnlineServers().remove(server);
139139
}
140140
} else {
141-
warning("Server \"%s\" not set up!!! Check out: https://github.com/AlexProgrammerDE/PistonQueue/wiki/FAQ#server-not-set-up".formatted(server));
141+
warning("Server \"%s\" not set up!!! Check out: https://github.com/AlexProgrammerDE/PistonQueue/wiki/FAQ#server-not-set-up-error".formatted(server));
142142
}
143143
} finally {
144144
latch.countDown();

0 commit comments

Comments
 (0)