VillagerRefresh is a lightweight Minecraft plugin that solves the issue with villager trade refreshing when the doDaylightCycle gamerule is disabled. It periodically refreshes villager trades regardless of the day/night cycle, allowing players to continue trading and leveling up villagers normally.
- Automatically refreshes all villager trades at configurable intervals;
- Works with disabled
doDaylightCyclegamerule; - Preserves all trade properties (experience rewards, villager experience, price multipliers);
- Minimal performance impact;
- Simple configuration.
- Minecraft Server version 1.12.2-latest;
- Java 8 or higher;
- Bukkit-based core (Spigot, Paper, Purpur etc.) server software.
Download the latest release, place it in your server's plugins folder and restart the server or use the /reload command.
The plugin will generate a default configuration file at plugins/villager-refresh/config.yml.
The plugin uses a simple configuration file (EXAMPLE of config.yml):
# Trade update interval in minutes
refresh-interval-minutes: 20
# Log refreshes into console?
log-refreshes: true
Plugin has permission villagerrefresh.commands to prevent regular players use plugin commands.
/vrefresh reload- reload config/vrefresh set [minutes]- set interval for refreshing villagers & reload config
If you encounter any issues or need assistance:
- Check if the server meets the requirements;
- Verify the configuration file is correctly formatted;
- Check server logs for any error messages.
This plugin is open source and available under the MIT License.