Rerollager
A lightweight Paper plugin for rerolling villager trades. Sneak and right-click a villager and its trades refresh on the spot, with no breaking and replacing the workstation. Keep rerolling until you get the enchanted book, tool, or price you want.
Made for the latest Minecraft (Paper 26.1.2 & 26.2). No dependencies.
What it does
In vanilla you can only reroll a villager's trades before you have traded with it, and the usual trick is to keep breaking and replacing its lectern or workstation. Rerollager skips that. Sneak and right-click an employed villager and its trades regenerate at its current level, keeping the same profession, level, XP, and name. It even works on villagers you have already traded with and leveled up, so you can reroll a maxed librarian without starting over.
Features
- Reroll trades in place with a sneak and right-click. No workstation breaking.
- Keeps the villager's profession, level, XP, and custom name.
- Works on villagers you have already traded with, not just fresh ones.
- Optional cooldown, tracked per player and per villager.
- Optional cost per reroll: items, XP, or both, with optional scaling by villager level or profession.
- Trade locking so a villager cannot be rerolled by accident. Lock and unlock with a configurable item.
- Permission based. Nothing is granted to players by default, so you decide who can use it.
- Lightweight with no external dependencies.
How to use
- Find or make an employed villager by placing a job site block next to it (a lectern makes a Librarian).
- Sneak and right-click it with an empty hand. Its trades reroll.
- To lock a villager, sneak and right-click it while holding the lock item (a Tripwire Hook by default). Do it again to unlock.
By default only operators can reroll and lock. Grant rerollager.use (and rerollager.lock) to the players or groups you want to give access to.
Commands
/rerollager infoshows the current cooldown, cost, and lock settings./rerollager reloadreloads the config. Alias:/rrl.
Permissions
| Permission | Default | Description |
|---|---|---|
rerollager.use |
op | Reroll villager trades |
rerollager.lock |
op | Lock and unlock a villager |
rerollager.bypass.cooldown |
none | Reroll without waiting for the cooldown |
rerollager.bypass.cost |
none | Reroll without paying the cost |
rerollager.bypass.lock |
none | Reroll a villager whose trades are locked |
rerollager.admin |
op | Use /rerollager reload |
Nothing is granted to regular players automatically. Assign these with a permissions plugin such as LuckPerms.
Requirements
- Paper or a Paper fork such as Purpur, for Minecraft 26.1.2
- Java 25
Links
Source and issues on GitHub | MIT licensed
