About Loot Reroll
Didn't like what was in that crate? Roll it again.
Loot Reroll adds a Reroll button to the loot window. Players can spend currency or use a free reroll to instantly regenerate a crate's contents while it's still open. It gives players something to spend their points, cash or scrap on, and it keeps every crate interesting. It's built to be secure, lightweight and fully configurable.
Features
- One-click reroll: a clean button in the loot window shows the price ("Reroll – 50 RP") or how many free rerolls are left.
- Three currency options: ServerRewards, Economics, or any in-game item such as scrap.
- Per-crate control: turn rerolls on or off for each container type, and give each one its own price and VIP price.
- Free and daily rerolls: give players free rerolls each day, cap total daily rerolls, or turn free rerolls off completely.
- VIP and custom ranks: VIP gets its own prices and limits. You can also add as many extra ranks as you like, each with its own free rerolls, daily limit and discount.
- Multiple rerolls per crate: allow more than one reroll on the same crate, with an optional price increase on each extra roll.
- Fixed daily reset: limits reset at a set time each day, in server time or UTC. Players who stay online get their reset too, and limits can reset automatically on map wipe.
- Cooldown and confirm click: optionally add a short cooldown between rerolls, or require a second click to confirm.
- Reroll sound: a satisfying sound plays when the loot changes. You can change it or turn it off.
- Heli crate support: works with heli and Bradley crates, including servers running Heli Signals.
- Fully translatable: every message and the button text can be edited in the language file.
- Oxide and Carbon: both are supported, and configs update automatically without losing your settings.
Permissions
- lootreroll.use: required to use the reroll button
- lootreroll.vip: VIP prices and limits
- lootreroll.admin: use the addrolls commands without being a server admin
- Plus any custom rank permissions you add in the config, such as lootreroll.elite
Player Commands
- /rerolls: shows how many free and daily rerolls you have left
- /rollreport: reports that the reroll button didn't appear
Admin Commands
- Chat: /addrolls <player> <daily|free> <amount>
- Console/RCON: addrolls <player> <daily|free> <amount>
- Example: /addrolls sinkohh daily 5 gives SinKohh 5 daily rerolls.
How Rerolling Works
- Only the first player to open a crate can reroll it.
- The reroll has to happen before you move an item or close the crate. After that, the button goes away.
- Each crate can be rerolled once by default, and you can raise that in the config.
Developer API
IsRerolling(LootContainer) //check whether a crate is being rerolled CanLootReroll //return non-null to block a reroll OnLootRerolled(player, container) //called after the new loot is in place