add ability to withdraw your profits

This commit is contained in:
RedSparr0w
2019-11-23 12:38:41 +13:00
parent b920549af0
commit aa61fc5cbf
6 changed files with 49 additions and 11 deletions
@@ -96,6 +96,9 @@ public class Commands implements PacketType {
case "shop":
BotHandler.playerShop(player);
break;
case "wshop":
BotHandler.takeCoins(player);
break;
case "wealth":
int totalWealth = player.getPlayerAssistant().totalGold();
player.getActionSender().sendMessage("You currently have " + totalWealth + "gp.");
@@ -134,7 +137,7 @@ public class Commands implements PacketType {
player.getPlayerAssistant().closeAllWindows();
break;
case "commands":
player.getActionSender().sendMessage("::players, ::highscores, ::loc, ::stuck, ::randomtoggle, ::debug, ::togglegfx");
player.getActionSender().sendMessage("::players, ::highscores, ::loc, ::stuck, ::randomtoggle, ::debug, ::togglegfx, ::shop, ::wshop");
break;
case "loc":
player.getActionSender().sendMessage(player.absX + "," + player.absY);