Automatically sells stocked items on demand via a simple /farmer sell command tied to your Farmer regions.
- Drop the
SellCommandfolder intoplugins/Farmer/modules/ - Restart your server
- A
config.ymland matching language file will be generated underplugins/Farmer/modules/SellCommand/
-
On-Demand Selling
Players can sell a specific stocked item or everything at once with a single command. -
Region-Aware
Works only when the player is inside their own Farmer region (unless bypass permission). -
Configurable “Sell All” Aliases
Define multiple keywords (all,whole,hepsi, etc.) to trigger “sell everything.” -
Toggleable Module
Enable or disable the entire command via onestatussetting in the module’s config.
- status:
true/false— enable or disable the SellCommand module. - sellAllCommands: list of keywords that trigger selling all stocked items (e.g.
all,whole,hepsi).
All options include inline comments in the generated config.yml.
Sell one unit of the specified stocked item
- Requires
farmer.sell.<item>permission
Sell all stocked items at once
- Requires
farmer.sell.allpermission
- Players with
farmer.adminor region-owner rights can always sell. - If you lack permission, you’ll receive the standard “noPerm” language message.
- Fork this repo
- Make your improvements or fixes
- Open a pull request against
develop
Please follow the existing style and update documentation as needed.