Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.sosoh.essentials.services;
- import org.spongepowered.api.entity.player.Player;
- public interface EconomyService {
- public int getBalance(Player player);
- public void setBalance(Player player, int amount);
- public void addMoney(Player player, int amount);
- public boolean removeMoney(Player player, int amount);
- public boolean payPlayerPlayer(Player sender, Player receiver, int amount);
- public void setDevise(String name, char symbol);
- public String getName();
- public char getSymbol();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement