I made a config that only farms items. You can change the amount of stuff by changing
"TotalAmountOfPokeballsToKeep": 150,
"TotalAmountOfPotionsToKeep": 50,
"TotalAmountOfRevivesToKeep": 50,
"TotalAmountOfBerriesToKeep":
Im not too good with configs :P
Pastebin