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 static EconomyService instance = new EconomyService(); /*Description Resource Path Location Type
- Cannot instantiate the type EconomyService EconomyService.java /Essentials/src/api/java/com/sosoh/essentials/services line 7 Java Problem*/
- public static EconomyService geInstance(){
- return instance;
- }
- 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