Villager Refresh
A plugin to update villager trades that ignores the gamerule doDaylightCycle.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Villager Refresh
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.
Features
- Automatically refreshes all villager trades at configurable intervals; - Works with disabled `doDaylightCycle` gamerule; - Preserves all trade properties (experience rewards, villager experience, price multipliers); - Minimal performance impact; - Simple configuration.
Requirements
- Minecraft Server version 1.12.2-latest; - Java 8 or higher; - Bukkit-based core (Spigot, Paper, Purpur etc.).
Installation
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`.
Configuration
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 ```
Permissions
Plugin has permission `villagerrefresh.commands` to prevent regular players use plugin commands.
Commands
- `/vrefresh reload` - reload config - `/vrefresh set [minutes]` - set interval for refreshing villagers & reload config