# Economies

```java
/**
 * 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
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://edseries-plugins.gitbook.io/p/developer-api/economies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
