# AutoSell

```java
package com.edwardbelt.edprisonapi;

import com.edwardbelt.edprison.utils.autosellUtils;


public interface EdPrisonEnchantAPI {

	void sellMaterial(Player player, Material material, int amount); // AMOUNT: AMOUNT OF ITEMS TO SELL
	void getAmountSell(Material material, String type); // GETS THE AMOUNT OF MONEY|TOKENS|GEMS|CRYSTALS THAT A MATERIALS GIVES TO YOU
	void resetSummary(Player player, String type); // TYPE: MONEY|TOKENS|GEMS|CRYSTALS
	void getSummary(Player player, String type);
	void addSummary(Player player, String type, double amount);
	void removeSummary(Player player, String type, double amount);
	
	
}
	
```


---

# 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://edwardbelt.gitbook.io/edprison-core-documentation/developer-api/autosell.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.
