Economies
/**
* Retrieves the balance of a specific economy type for a player.
*
* @param uuid The UUID of the player.
* @param eco The name of the economy type.
* @return The balance of the economy type for the player.
*/
public double getEco(UUID uuid, String eco) {
// Method implementation
}
/**
* Adds a certain amount to the balance of a specific economy type for a player.
*
* @param uuid The UUID of the player.
* @param eco The name of the economy type.
* @param amount The amount to add.
*/
public void addEco(UUID uuid, String eco, double amount) {
// Method implementation
}
/**
* Removes a certain amount from the balance of a specific economy type for a player.
*
* @param uuid The UUID of the player.
* @param eco The name of the economy type.
* @param amount The amount to remove.
*/
public void removeEco(UUID uuid, String eco, double amount) {
// Method implementation
}
/**
* Sets the balance of a specific economy type for a player to a certain amount.
*
* @param uuid The UUID of the player.
* @param eco The name of the economy type.
* @param amount The new balance amount.
*/
public void setEco(UUID uuid, String eco, double amount) {
// Method implementation
}
Last updated