> For the complete documentation index, see [llms.txt](https://edwardbelt.gitbook.io/edprison-core-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edwardbelt.gitbook.io/edprison-core-documentation/developer-api/autosell.md).

# 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);
	
	
}
	
```
