diff --git a/09HDscape-server/src/plugin/command/PlayerCommandPlugin.java b/09HDscape-server/src/plugin/command/PlayerCommandPlugin.java
index 9a5764bd6..910849c1e 100644
--- a/09HDscape-server/src/plugin/command/PlayerCommandPlugin.java
+++ b/09HDscape-server/src/plugin/command/PlayerCommandPlugin.java
@@ -168,21 +168,26 @@ public final class PlayerCommandPlugin extends CommandPlugin {
player.sendMessage("
Your message was too short.");
}
return true;
+
case "togglenews":
player.getSavedData().getGlobalData().setDisableNews(!player.getSavedData().getGlobalData().isDisableNews());
player.sendMessage("" + (player.getSavedData().getGlobalData().isDisableNews() ? "You will no longer see news notifications." : "You will now see news notifications."));
return true;
+
case "commands":
case "command":
case "commandlist":
sendCommands(player);
return true;
+
case "quests":
sendQuests(player);
return true;
+
case "donate":
sendDonationInfo(player);
return true;
+
case "reply":
if(player.getInterfaceManager().isOpened()){
player.sendMessage("Please finish what you're doing first.");
@@ -218,19 +223,33 @@ public final class PlayerCommandPlugin extends CommandPlugin {
return;
}
player.getInterfaceManager().open(new Component(275));
+ //CLear old data
for (int i = 0; i < 311; i++) {
player.getPacketDispatch().sendString("", 275, i);
}
- int lineId = 11;
+ // Title
player.getPacketDispatch().sendString("" + GameWorld.getName() + " commands", 275, 2);
+
+ // Content
+ int lineId = 11;
+ player.getPacketDispatch().sendString("::commands", 275, lineId++);
+ player.getPacketDispatch().sendString("Shows this list.", 275, lineId++);
player.getPacketDispatch().sendString("::players", 275, lineId++);
- player.getPacketDispatch().sendString("Shows online player count.", 275, lineId++);
+ player.getPacketDispatch().sendString("Get online player count.", 275, lineId++);
+ player.getPacketDispatch().sendString("::quests", 275, lineId++);
+ player.getPacketDispatch().sendString("Shows a list of all available quests.", 275, lineId++);
player.getPacketDispatch().sendString("::shop", 275, lineId++);
player.getPacketDispatch().sendString("Open the reward credits shop.", 275, lineId++);
+ player.getPacketDispatch().sendString("::credits", 275, lineId++);
+ player.getPacketDispatch().sendString("Get your reward credits balance.", 275, lineId++);
player.getPacketDispatch().sendString("::togglenews", 275, lineId++);
player.getPacketDispatch().sendString("Toggles the news broadcasts.", 275, lineId++);
player.getPacketDispatch().sendString("::toggleatk", 275, lineId++);
player.getPacketDispatch().sendString("Toggles left-click attack option mode.", 275, lineId++);
+ player.getPacketDispatch().sendString("::bankresetpin [pin]", 275, lineId++);
+ player.getPacketDispatch().sendString("Remove your bank pin.", 275, lineId++);
+ player.getPacketDispatch().sendString("::bankresettabs", 275, lineId++);
+ player.getPacketDispatch().sendString("Reset all of your bank tabs.", 275, lineId++);
}
/**