Currencies
Tokens
package com.edwardbelt.edprisonapi;
import com.edwardbelt.edprison.utils.economy;
public interface EdPrisonEnchantAPI {
double getTokens(Player player);
void addTokens(Player player, double amount);
void setTokens(Player player, double amount);
void removeTokens(Player player, double amount);
}
Gems
package com.edwardbelt.edprisonapi;
import com.edwardbelt.edprison.utils.economy;
public interface EdPrisonEnchantAPI {
double getGems(Player player);
void addGems(Player player, double amount);
void setGems(Player player, double amount);
void removeGems(Player player, double amount);
}
Crystals
package com.edwardbelt.edprisonapi;
import com.edwardbelt.edprison.utils.economy;
public interface EdPrisonEnchantAPI {
double getCrystals(Player player);
void addCrystals(Player player, double amount);
void setCrystals(Player player, double amount);
void removeCrystals(Player player, double amount);
}
Multiplier
package com.edwardbelt.edprisonapi;
import com.edwardbelt.edprison.utils.economy;
public interface EdPrisonEnchantAPI {
double getMultiplier(Player player);
void addMultiplier(Player player, double amount);
void setMultiplier(Player player, double amount);
void removeMultiplier(Player player, double amount);
}
Last updated