Tradeflux is an incredibly simple Minecraft plugin that automates villager behavior to enhance server-side performance and reduce unnecessary entity processing. It disables villagers' awareness when players are nearby and have jobs/job sites, preventing them from wandering or restocking trades unnecessarily.
- Automatic villager awareness toggling based on proximity, profession, and job site presence.
- Periodic trade restocking reset for villagers.
- Commands to manually enable/disable all villagers or reload the config.
- Configurable task intervals via
config.yml.
- Download the plugin JAR from the SpigotMC page.
- Place the JAR in your server's
pluginsfolder. - Restart the server to generate default files.
- Adjust the values in the
config.ymlfile as needed.
Edit config.yml in the plugin's folder:
brain-task-time: Interval (in seconds) to check and toggle villager awareness (default: 60).restocking-task-time: Interval (in seconds) to reset trade uses (default: 600).
/tradefluxreload(aliases:tfr,tfreload): Reloads the config. Permission:tradeflux.reload./tradefluxenableallvillagers(aliases:tfeav,tfeavillagers): Enables awareness for all villagers. Permission:tradeflux.enableallvillagers./tradefluxdisableallvillagers(aliases:tfdav,tfdavillagers): Disables awareness for all villagers. Permission:tradeflux.disableallvillagers.
tradeflux.reloadtradeflux.enableallvillagerstradeflux.disableallvillagers
- 1.20.6+
- No known compatibility issues at this time.
For support, visit my Discord support server.