Advertisement
Guest User

EconomyService

a guest
Jul 29th, 2015
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. package com.sosoh.essentials.services;
  2.  
  3. import org.spongepowered.api.entity.player.Player;
  4.  
  5. public interface EconomyService {
  6.  
  7. public int getBalance(Player player);
  8. public void setBalance(Player player, int amount);
  9. public void addMoney(Player player, int amount);
  10. public boolean removeMoney(Player player, int amount);
  11. public boolean payPlayerPlayer(Player sender, Player receiver, int amount);
  12. public void setDevise(String name, char symbol);
  13. public String getName();
  14. public char getSymbol();
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement