4445464748495051525354
return true; } String formattedMoney = plugin.getAPI().format(money); victim.deposit(money); Phrase.PLAYER_GRANT_MONEY.sendWithPrefix(sender, formattedMoney, victim.getName()); Player receiverPlayer = plugin.getServer().getPlayerExact(victim.getName());
123124125126127128129130131132133
if (account == null) { return new EconomyResponse(0, 0, ResponseType.FAILURE, "Account doesn't exist"); } account.deposit(amount); return new EconomyResponse(amount, account.getMoney(), ResponseType.SUCCESS, ""); } @Override