/drollbacks
also /drollback, /drb, /invrollback, /inventoryrollback
Browse, restore and manage player inventory backups
/drollbacks help
Saves a copy of every player's inventory automatically, so staff can give items back after a death, a bug or a bad ban. Staff browse and restore backups in a menu or with commands.
Main commands
/drollbacks view Steve/drollbacks list Steve death/drollbacks restore Steve death #214/drollbacks restore Steve death #214 -y/drollbacks search diamond/drollbacks save Steve/drollbacks saveall/drollbacks cleanupCan restoring wipe what a player carries now?
Only with the Replace button, which asks you to confirm and needs the player online. The shulker box options never touch their current items. Set allow-inventory-replace to false to remove the Replace button.
What if the player's inventory is full?
They are told how many slots to free and the items are tried again every few seconds. Nothing is dropped on the ground.
Can a player be left out of backups?
Yes. Give them drollbacks.dontsave.
Does it work with DStaff?
Yes. When a ban kills a player and drops their items, DStaff can have DRollbacks save a Punishment wipe backup first, so lifting the ban can give the items back.
Menus and messages come from the default DRollbacks files. Run a command, click an example, or pick a menu.
No menu open. Run a command below or pick a menu from the list.
<name> you must fill in[name] optionalword typed as shown
also /drollback, /drb, /invrollback, /inventoryrollback
Browse, restore and manage player inventory backups
/drollbacks helpWho has each one before you set anything up is in the middle column.
| Permission | Default | Grants |
|---|---|---|
| drollbacks.view | Operators | List and open a player's backups with /drollbacks list, info and view |
| drollbacks.modify | Operators | Take a copy of single items out of a backup while viewing it; every copy is logged |
| drollbacks.teleport | Operators | Teleport to the spot where a backup was taken |
| drollbacks.restore | Operators | Restore a backup to a player |
| drollbacks.export | Operators | Export a backup's items to your own inventory |
| drollbacks.search | Operators | Search every backup for an item with /drollbacks search |
| drollbacks.reload | Operators | Reload the plugin with /drollbacks reload |
| drollbacks.manualbackup | Operators | Take backups by hand with /drollbacks save and saveall |
| drollbacks.cleanup | Operators | Delete old backups with /drollbacks cleanup |
| drollbacks.discord-request | Operators | Send a backup to Discord from the backup menu |
| drollbacks.dontsave | Nobody | Never have automatic backups taken of this player |
plugins/DRollbacks/config.yml
Rollbacks: automatic inventory backups, so staff can give players their items back (/drollbacks view <player>). Edit, then run /drollbacks reload. The database section needs a restart instead. Help and support: https://discord.devamy.net or dstudios@devamy.net
'�B5FF&lROLLBACKS &8| 'Text shown in front of chat messages from this plugin. & colour codes and &#RRGGBB work.
--- Database --- Where the backups are saved. Changing anything in this section needs a restart. The default (h2) is a file in this plugin's folder. It needs no setup and is fast, so it is the best choice for a single server. sqlite is also a file in this plugin's folder and needs no setup either. Use mysql, mariadb, postgresql or mongodb to keep backups on a database server.
Easiest setup for a database server: put a full address in `url` and leave host, port, database, username and password alone. Examples:
jdbc:mysql://user:password@host:3306/database jdbc:mariadb://host:3306/database?user=name&password=secret jdbc:postgresql://user:password@host:5432/database mongodb://user:password@host:27017/database
If `url` is empty or does not connect, the separate settings below are tried. If nothing connects, the plugin turns itself off and prints a big notice in the console, so a backup is never half saved. The database must already exist.
"h2"Which storage to use. One of: h2, sqlite, mysql, mariadb, postgresql, mongodb Switching type starts with an empty database, so your old backups only show up again if you switch back.
""The whole connection as one address (see the examples above). '' = use the settings below.
127.0.0.1Only for mysql, mariadb, postgresql and mongodb: the address, port, database name and login of your database server.
00 = the normal port for the type (3306, 5432, or 27017 for mongodb).
adminadmin'admin'""Extra connection options, without the leading ? or &. Example: useSSL=false for mysql, or authSource=admin for a mongodb user made in the admin database.
"drollbacks_"Text put in front of every table this plugin creates, so it never mixes with another plugin's tables. Keep the default if you already have backups, or they will not be found.
"data"Only for h2 and sqlite: the name of the database file in this plugin's folder, without the extension.
The connection pool, used by mysql, mariadb and postgresql only. The defaults are fine for most servers. Times are in milliseconds (1000 = 1 second).
101018000000500014--- Cleaning up --- How many days a backup is kept before it is deleted. Example: 14 = two weeks. Old backups are deleted when the server starts and when staff run /drollbacks cleanup.
"yyyy/MM/dd HH:mm:ss"How dates look in the menus. yyyy = year, MM = month, dd = day, HH = hour (24h), mm = minutes, ss = seconds. Examples:
dd/MM/yyyy hh:mm:ss = day/month/year (most used) MM/dd/yyyy h:mm:ss a = month/day/year (USA) yyyy/MM/dd HH:mm:ss = year/month/day (default)
true--- Menus --- Should the menu have an ALL category that lists every backup of a player together?
--- Automatic backups --- Every online player gets a backup on a timer.
truetrue = make backups on a timer. false = only the events below and manual backups.
180How often, in seconds. Example: 180 = every 3 minutes. Do not set it below 1. You can also add a `minutes:` line. If both are set, the longer time is used.
true--- Storage --- Shrinks the database file when the server stops, to save disk space. Turn it off if you have 100,000+ backups and the server is slow to stop, or if you have lots of disk space.
Ways to keep the database small. Every switch here only changes how NEW backups are written or how the database is looked after, and old backups keep opening exactly as before. Nothing in this section deletes a backup unless you fill in retention-days yourself.
compactHow new backups are written. compact is the default: each inventory is stored in a smaller format, every copy is read back and checked before it is kept, and only a copy that passed that check is ever opened. packed writes new backups the way older versions of this plugin did, using compress-items below. Use packed only if you need to go back to an older version of this plugin, because an older version cannot open compact backups. Backups already in the database stay as they are and keep opening either way.
trueOnly used when snapshot-format is packed. true = store each inventory packed together and compressed, which makes those backups about four times smaller. Set it to false only if you need to go back to a much older version of this plugin, because that version cannot read compressed backups.
truetrue = when a player's inventory is exactly the same as one already stored, even from an older backup, the new backup points at that stored copy instead of saving it again. Each backup still has its own time, place and reason. Turning it off only makes the database grow faster.
Only used when snapshot-format is compact.
truetrue = when an inventory differs only a little from the player's previous one, store just the difference. This saves a lot of space for the timed backups. Turn it off if you would rather every backup carry its whole inventory, at the cost of a bigger database.
70A difference is only stored when it is smaller than this percentage of the whole inventory, from 1 to 100. Example: 70 = the difference must be under 70% of the full size. Lower values store fewer differences and more whole inventories, so the database grows. Values outside 1 to 100 are clamped.
Some backups are saved over and over with the same items in them, for example the timed ones while a player stands still. With this on, a backup that is identical to the player's previous backup of the same kind is not saved again.
trueWhich kinds of backup may be skipped. Death, manual, punishment-wipe and ender-chest backups are left out on purpose, because each of those marks something that happened and should always be listed.
truetrue = add an index on player, kind and time. Browsing one player's backups and the save limits get faster, at the cost of a little more disk space. Takes effect at the next restart.
truetrue = stop the h2 database from writing the data.trace.db file, which only collects error text, and remove the one that is already there. It is safe to turn off if a developer asks for that file.
{}Keep some kinds of backup for fewer days than cleanup-after-days. Each line is a kind and a number of days, for example `automatic: 3` or `container-close: 2`. Backups of that kind older than that are deleted by the same cleanup that runs at startup and with /drollbacks cleanup. Empty by default, which means every kind is kept for cleanup-after-days. A kind can only be kept shorter this way, never longer.
10--- Commands --- How many backups /drollbacks list shows on one page.
trueShould the restore menu still offer "Replace player's inventory"? That button erases the items the player is carrying right now, after a confirm menu. false = hide it, so the only ways to give items back are the shulker boxes, which never touch what the player already has.
trueRight before "Replace player's inventory" (or ender chest) erases what the player carries, a backup of it is saved, with the item on their cursor and in an open crafting grid or anvil added in. It shows up in their Manual (or Ender chest) category, named after the staff member who replaced it. If you set this to false, whatever they carried at that moment is gone for good, even if the replace was a mistake. Players with drollbacks.dontsave never get this backup, because they never get any backup.
trueBefore replacing, the menu the player has open is closed, so nothing in it can change hands while their inventory is swapped. Leave this on: if you set it to false, a menu from another plugin that gives items back or saves when it closes (a backpack, a trade window) does that after the replace, and the player can end up with those items on top of the backup.
5A restore that started but never finished (the server crashed or stopped half way) is listed in the console at startup and in /drollbacks status once it is this many minutes old. Until a staff member checks the player and marks it as given or to retry, it is never handed out a second time by itself. Too low and a slow but healthy restore shows up as stuck; too high and you find out late.
The item log records who put items into or took items out of a container, so you can trace a duped or stolen item to the chest it went into. It only stores what changed, added up per player per container while that container is open, not every single click.
truefalse = nothing is logged at all. Moves already in the database stay and can still be looked up.
trueLog players moving items in and out of chests, double chests, barrels, shulker boxes, hoppers, droppers, dispensers, chest boats, storage minecarts and donkey, mule or llama storage. Menus of other plugins are never logged.
trueLog the vanilla ender chest, including when staff open another player's ender chest with a command.
trueLog a player's own ender chest pages from DEnderChests. Staff looking into someone else's DEnderChests chest are not logged yet. Has no effect when DEnderChests is not installed.
30When a container stays open for a long time, what changed so far is written after this many seconds, so a crash loses at most this much. Lower values write more rows for the same moves. The lowest allowed is 5.
Moves are written in the background in batches. You only need to change these if /drollbacks status shows dropped moves. Changes here apply after a restart, not on /drollbacks reload.
500How many moves go into the database in one go.
2000How often the waiting moves are written, in milliseconds, even when a batch is not full yet.
50000How many moves may wait in memory. When the database falls this far behind, new moves are dropped and the console warns once a minute. Higher values use more memory while the database is slow.
How many days moves are kept before they are deleted. Old moves are removed once an hour in small steps, so the server never stalls on it. Longer keeps let you look further back but grow the database.
14[]Worlds where nothing is logged, by folder name, for example [world_creative].
[]Items that are never logged, by material name, for example [COBBLESTONE, DIRT]. Use it for cheap blocks that fill the log on a busy server. A name that is not a material is skipped.
''The name this server is logged under, so a shared database can tell servers apart. Leave it empty to use the server name from DCore and the port. Changing it later makes old moves show under the old name.
--- What gets backed up --- A backup is made when each of these happens. Set one to false to stop making that kind. Some kinds can use a lot of disk space.
ender-chest = a player closes their ender chest
death = a player dies
join = a player joins
quit = a player leaves
world-change = a player goes to another world
gamemode-change = a player changes game mode
container-close = a player closes a chest or other container
punishment-wipe = a ban is about to kill the player and drop their items (the DStaff ban-sweep).
These backups get their own Punishment wipes category, which only shows
for players who have one. Off here means the kill is saved as a normal death.truetruetruetruetruetruetruetrue"%type%What a punishment wipe backup shows as its cause. You can use: %type% (BAN), %id% (the punishment ID), %staff% (who banned, or CONSOLE), %reason%
trueWhen staff lift a ban, the player gets back the items that ban took, packed in shulker boxes. false = staff hand them back by hand from the Punishment wipes category.
10Items waiting for a player (a lifted ban, or a restore granted on Discord) go into their inventory when they are online and have room. With a full inventory they are told how many slots to free, and the items are tried again this often, in seconds. Nothing is ever dropped on the ground.
How many backups of each kind are kept per player. The oldest are deleted first. -1 = no limit. Example: 20 = the newest 20 are kept. `manual` is backups staff made by hand, `automatic` the timed ones, `total` all kinds together.
-1-1-1-1-1-1-1-1-1-1-1false--- Discord --- true = turn on the Discord bot for restore requests. Set it up in discord.yml first.
--- Search --- Settings for /drollbacks search. Searching can slow the server down, so these stop it early.
1000Stop after this many matching backups.
60Stop after this many seconds. Keep it low.
4How many searches can run at the same time. A high number can overload the CPU.
false--- Debugging --- Prints lots of extra lines to the console. Only turn it on if a developer asks you to.
# Rollbacks: automatic inventory backups, so staff can give players their items back (/drollbacks view# <player>).# Edit, then run /drollbacks reload. The database section needs a restart instead.# Help and support: https://discord.devamy.net or dstudios@devamy.net# Text shown in front of chat messages from this plugin. & colour codes and &#RRGGBB work.prefix: '�B5FF&lROLLBACKS &8| '# --- Database ---# Where the backups are saved. Changing anything in this section needs a restart.# The default (h2) is a file in this plugin's folder. It needs no setup and is fast, so it is the best# choice for a single server. sqlite is also a file in this plugin's folder and needs no setup either.# Use mysql, mariadb, postgresql or mongodb to keep backups on a database server.## Easiest setup for a database server: put a full address in `url` and leave host, port, database, username# and password alone. Examples:# jdbc:mysql://user:password@host:3306/database# jdbc:mariadb://host:3306/database?user=name&password=secret# jdbc:postgresql://user:password@host:5432/database# mongodb://user:password@host:27017/database# If `url` is empty or does not connect, the separate settings below are tried.# If nothing connects, the plugin turns itself off and prints a big notice in the console, so a backup is# never half saved. The database must already exist.database:# Which storage to use. One of: h2, sqlite, mysql, mariadb, postgresql, mongodb# Switching type starts with an empty database, so your old backups only show up again if you switch back.type: "h2"# The whole connection as one address (see the examples above). '' = use the settings below.url: ""# Only for mysql, mariadb, postgresql and mongodb: the address, port, database name and login of your# database server.host: 127.0.0.1# 0 = the normal port for the type (3306, 5432, or 27017 for mongodb).port: 0database: adminusername: adminpassword: 'admin'# Extra connection options, without the leading ? or &.# Example: useSSL=false for mysql, or authSource=admin for a mongodb user made in the admin database.parameters: ""# Text put in front of every table this plugin creates, so it never mixes with another plugin's tables.# Keep the default if you already have backups, or they will not be found.table-prefix: "drollbacks_"# Only for h2 and sqlite: the name of the database file in this plugin's folder, without the extension.file: "data"# Not used yet. Leave it false.use-shared-database: false# The connection pool, used by mysql, mariadb and postgresql only. The defaults are fine for most servers.# Times are in milliseconds (1000 = 1 second).pool:maximum-pool-size: 10minimum-idle: 10maximum-lifetime: 1800000keepalive-time: 0connection-timeout: 5000# --- Cleaning up ---# How many days a backup is kept before it is deleted. Example: 14 = two weeks.# Old backups are deleted when the server starts and when staff run /drollbacks cleanup.cleanup-after-days: 14# How dates look in the menus. yyyy = year, MM = month, dd = day, HH = hour (24h), mm = minutes, ss = seconds.# Examples:# dd/MM/yyyy hh:mm:ss = day/month/year (most used)# MM/dd/yyyy h:mm:ss a = month/day/year (USA)# yyyy/MM/dd HH:mm:ss = year/month/day (default)date-format: "yyyy/MM/dd HH:mm:ss"# --- Menus ---# Should the menu have an ALL category that lists every backup of a player together?enable-all-category: true# --- Automatic backups ---# Every online player gets a backup on a timer.automatic-backup:# true = make backups on a timer. false = only the events below and manual backups.enabled: true# How often, in seconds. Example: 180 = every 3 minutes. Do not set it below 1.# You can also add a `minutes:` line. If both are set, the longer time is used.seconds: 180# --- Storage ---# Shrinks the database file when the server stops, to save disk space.# Turn it off if you have 100,000+ backups and the server is slow to stop, or if you have lots of disk space.compact-database: true# Ways to keep the database small. Every switch here only changes how NEW backups are written or how the# database is looked after, and old backups keep opening exactly as before. Nothing in this section deletes a# backup unless you fill in retention-days yourself.storage:# How new backups are written. compact is the default: each inventory is stored in a smaller format, every# copy is read back and checked before it is kept, and only a copy that passed that check is ever opened.# packed writes new backups the way older versions of this plugin did, using compress-items below. Use# packed only if you need to go back to an older version of this plugin, because an older version cannot# open compact backups. Backups already in the database stay as they are and keep opening either way.snapshot-format: compact# Only used when snapshot-format is packed. true = store each inventory packed together and compressed,# which makes those backups about four times smaller. Set it to false only if you need to go back to a# much older version of this plugin, because that version cannot read compressed backups.compress-items: true# true = when a player's inventory is exactly the same as one already stored, even from an older backup,# the new backup points at that stored copy instead of saving it again. Each backup still has its own# time, place and reason. Turning it off only makes the database grow faster.dedup: true# Only used when snapshot-format is compact.delta:# true = when an inventory differs only a little from the player's previous one, store just the# difference. This saves a lot of space for the timed backups. Turn it off if you would rather every# backup carry its whole inventory, at the cost of a bigger database.enabled: true# A difference is only stored when it is smaller than this percentage of the whole inventory, from 1 to# 100. Example: 70 = the difference must be under 70% of the full size. Lower values store fewer# differences and more whole inventories, so the database grows. Values outside 1 to 100 are clamped.min-saving-percent: 70# Some backups are saved over and over with the same items in them, for example the timed ones while a# player stands still. With this on, a backup that is identical to the player's previous backup of the same# kind is not saved again.skip-identical:enabled: true# Which kinds of backup may be skipped. Death, manual, punishment-wipe and ender-chest backups are left out# on purpose, because each of those marks something that happened and should always be listed.categories:- automatic- container-close- join- quit- world-change- gamemode-change# true = add an index on player, kind and time. Browsing one player's backups and the save limits get# faster, at the cost of a little more disk space. Takes effect at the next restart.composite-index: true# true = stop the h2 database from writing the data.trace.db file, which only collects error text, and# remove the one that is already there. It is safe to turn off if a developer asks for that file.silence-h2-trace: true# Keep some kinds of backup for fewer days than cleanup-after-days. Each line is a kind and a number of# days, for example `automatic: 3` or `container-close: 2`. Backups of that kind older than that are# deleted by the same cleanup that runs at startup and with /drollbacks cleanup. Empty by default, which# means every kind is kept for cleanup-after-days. A kind can only be kept shorter this way, never longer.retention-days: {}# --- Commands ---# How many backups /drollbacks list shows on one page.list-page-size: 10# Should the restore menu still offer "Replace player's inventory"? That button erases the items the player# is carrying right now, after a confirm menu. false = hide it, so the only ways to give items back are the# shulker boxes, which never touch what the player already has.allow-inventory-replace: truerestore:# Right before "Replace player's inventory" (or ender chest) erases what the player carries, a backup of# it is saved, with the item on their cursor and in an open crafting grid or anvil added in. It shows up# in their Manual (or Ender chest) category, named after the staff member who replaced it. If you set this# to false, whatever they carried at that moment is gone for good, even if the replace was a mistake.# Players with drollbacks.dontsave never get this backup, because they never get any backup.save-before-restore: true# Before replacing, the menu the player has open is closed, so nothing in it can change hands while their# inventory is swapped. Leave this on: if you set it to false, a menu from another plugin that gives items# back or saves when it closes (a backpack, a trade window) does that after the replace, and the player# can end up with those items on top of the backup.close-open-inventory: true# A restore that started but never finished (the server crashed or stopped half way) is listed in the# console at startup and in /drollbacks status once it is this many minutes old. Until a staff member# checks the player and marks it as given or to retry, it is never handed out a second time by itself.# Too low and a slow but healthy restore shows up as stuck; too high and you find out late.stuck-after-minutes: 5# The item log records who put items into or took items out of a container, so you can trace a duped or# stolen item to the chest it went into. It only stores what changed, added up per player per container# while that container is open, not every single click.logging:# false = nothing is logged at all. Moves already in the database stay and can still be looked up.enabled: true# Log players moving items in and out of chests, double chests, barrels, shulker boxes, hoppers, droppers,# dispensers, chest boats, storage minecarts and donkey, mule or llama storage. Menus of other plugins are# never logged.containers: true# Log the vanilla ender chest, including when staff open another player's ender chest with a command.ender-chests: true# Log a player's own ender chest pages from DEnderChests. Staff looking into someone else's DEnderChests# chest are not logged yet. Has no effect when DEnderChests is not installed.virtual-ender-chests: true# When a container stays open for a long time, what changed so far is written after this many seconds, so# a crash loses at most this much. Lower values write more rows for the same moves. The lowest allowed is 5.session-flush-seconds: 30# Moves are written in the background in batches. You only need to change these if /drollbacks status# shows dropped moves. Changes here apply after a restart, not on /drollbacks reload.write:# How many moves go into the database in one go.batch-size: 500# How often the waiting moves are written, in milliseconds, even when a batch is not full yet.every-millis: 2000# How many moves may wait in memory. When the database falls this far behind, new moves are dropped# and the console warns once a minute. Higher values use more memory while the database is slow.queue-limit: 50000# How many days moves are kept before they are deleted. Old moves are removed once an hour in small# steps, so the server never stalls on it. Longer keeps let you look further back but grow the database.keep-days:moves: 14# Worlds where nothing is logged, by folder name, for example [world_creative].ignore-worlds: []# Items that are never logged, by material name, for example [COBBLESTONE, DIRT]. Use it for cheap# blocks that fill the log on a busy server. A name that is not a material is skipped.ignore-materials: []# The name this server is logged under, so a shared database can tell servers apart. Leave it empty to# use the server name from DCore and the port. Changing it later makes old moves show under the old name.server-name: ''# --- What gets backed up ---# A backup is made when each of these happens. Set one to false to stop making that kind.# Some kinds can use a lot of disk space.# ender-chest = a player closes their ender chest# death = a player dies# join = a player joins# quit = a player leaves# world-change = a player goes to another world# gamemode-change = a player changes game mode# container-close = a player closes a chest or other container# punishment-wipe = a ban is about to kill the player and drop their items (the DStaff ban-sweep).# These backups get their own Punishment wipes category, which only shows# for players who have one. Off here means the kill is saved as a normal death.enabled-backups:ender-chest: truedeath: truejoin: truequit: trueworld-change: truegamemode-change: truecontainer-close: truepunishment-wipe: true# What a punishment wipe backup shows as its cause.# You can use: %type% (BAN), %id% (the punishment ID), %staff% (who banned, or CONSOLE), %reason%punishment-wipe-cause: "%type% #%id% by %staff%: %reason%"# When staff lift a ban, the player gets back the items that ban took, packed in shulker boxes.# false = staff hand them back by hand from the Punishment wipes category.punishment-wipe-return: true# Items waiting for a player (a lifted ban, or a restore granted on Discord) go into their inventory# when they are online and have room. With a full inventory they are told how many slots to free,# and the items are tried again this often, in seconds. Nothing is ever dropped on the ground.restore-retry-seconds: 10# How many backups of each kind are kept per player. The oldest are deleted first.# -1 = no limit. Example: 20 = the newest 20 are kept.# `manual` is backups staff made by hand, `automatic` the timed ones, `total` all kinds together.save-limits:ender-chest: -1death: -1join: -1quit: -1world-change: -1gamemode-change: -1container-close: -1punishment-wipe: -1manual: -1automatic: -1total: -1# --- Discord ---# true = turn on the Discord bot for restore requests. Set it up in discord.yml first.enable-discord-addon: false# --- Search ---# Settings for /drollbacks search. Searching can slow the server down, so these stop it early.search:# Stop after this many matching backups.maximum-matches: 1000# Stop after this many seconds. Keep it low.timeout-seconds: 60# How many searches can run at the same time. A high number can overload the CPU.maximum-tasks: 4# --- Debugging ---# Prints lots of extra lines to the console. Only turn it on if a developer asks you to.debug: falsemenus:# The longest search word a player can type into the search button of the backup menus. Anything longer is cut off. Raise it# only if you search for long item names or player names; a very low value makes searching useless.search-max-length: 40# How often, in ticks, an open backup list checks for new search results and redraws. 20 ticks is one second. A low value# feels live but redraws more often; a value under 2 is raised to 2.live-update-ticks: 10
plugins/DRollbacks/discord.yml
Discord: webhook messages and an optional bot for restore requests. Edit, then run /drollbacks reload. Turn the bot on with enable-discord-addon in config.yml.
""--- Webhooks --- A webhook posts a message to a Discord channel when something happens. Create one in Discord (channel settings > Integrations > Webhooks) and paste its address here. Without it, no webhook messages are sent. You can use in every message: %player% %category% %extrainfo% %date% %location% %restorer% %timestamp%
Posted when a backup is made.
falsefalse by default, because it can be a lot of messages on a big server.
""Plain text above the embed (the coloured box). '' = none.
""The name the message is posted under. '' = the webhook's own name.
""A link to the picture shown next to it. '' = the webhook's own picture.
The coloured box. The fields below are the lines inside it. Leave the ones you do not need as ''.
New backup created"""""#00AAFF""%timestamp%"""""""Player"%player%"Category"%category%"Extra Info"%extrainfo%"Posted when staff restore a backup.
true""""""Backup restored"""""#00AAFF""%timestamp%"""""""Restored by"%restorer%"Player"%player%"Backup Date"%date%"Category"%category%"Extra Info"%extrainfo%"Backup Location"%location%"Posted when staff export a backup into shulker boxes.
true""""""Backup exported as shulker"""""#00AAFF""%timestamp%"""""""Exported by"%restorer%"Player"%player%"Backup Date"%date%"Category"%category%"Extra Info"%extrainfo%"Backup Location"%location%"""--- Discord bot --- The bot only works when enable-discord-addon is true in config.yml. Staff can send a restore request to a Discord channel, and a higher ranking staff member accepts or declines it. Create a bot at https://discord.com/developers/applications and paste its token here. The bot runs inside your Minecraft server, so you do not need to host anything else.
"DRollbacks"The status text the bot shows ("Playing ...").
""The Discord channel where restore requests are posted. Turn on developer mode in Discord, right click the channel and choose Copy ID.
"ADMINISTRATOR"The Discord permission a person needs to accept or decline a request. Names: https://ci.dv8tion.net/job/JDA5/javadoc/net/dv8tion/jda/api/Permission.html
truetrue = each request gets its own thread for discussion. false = no thread.
"Restore"The name of that thread.
Texts the bot sends. & colour codes work in the ones shown in game.
"Restore""Decline""&#FFCC00Your items have been restored to shulkers, check your inventory!""Successfully accepted restore request!""Successfully declined restore request!""#00ff00"The colour of the request box after it is accepted or declined, as a #RRGGBB code.
"#ff0000""You don't have permission to use this!"The request message posted in Discord. Each numbered field is a line in it. You can use: %player% %requester% %date% %location% %category% %cause%
"#00aaff""%player% - restore request"true"Requested by""%requester%"true"Creation date""%date%"false"Location""%location%"true"Category""%category%"true"Cause""%cause%"# Discord: webhook messages and an optional bot for restore requests.# Edit, then run /drollbacks reload. Turn the bot on with enable-discord-addon in config.yml.# --- Webhooks ---# A webhook posts a message to a Discord channel when something happens.# Create one in Discord (channel settings > Integrations > Webhooks) and paste its address here.# Without it, no webhook messages are sent.# You can use in every message: %player% %category% %extrainfo% %date% %location% %restorer% %timestamp%url: ""# Posted when a backup is made.backup-create:# false by default, because it can be a lot of messages on a big server.enabled: false# Plain text above the embed (the coloured box). '' = none.content: ""# The name the message is posted under. '' = the webhook's own name.username: ""# A link to the picture shown next to it. '' = the webhook's own picture.avatar-url: ""# The coloured box. The fields below are the lines inside it. Leave the ones you do not need as ''.embeds:- title:text: New backup createdurl: ""description: ""color: "#00AAFF"timestamp: "%timestamp%"image-url: ""thumbnail-url: ""video-url: ""author:name: ""icon-url: ""url: ""footer:icon-url: ""text: ""fields:- inline: falsename: Playervalue: "%player%"- inline: falsename: Categoryvalue: "%category%"- inline: falsename: Extra Infovalue: "%extrainfo%"# Posted when staff restore a backup.backup-restore:enabled: truecontent: ""username: ""avatar-url: ""embeds:- title:text: Backup restoredurl: ""description: ""color: "#00AAFF"timestamp: "%timestamp%"image-url: ""thumbnail-url: ""video-url: ""author:name: ""icon-url: ""url: ""footer:icon-url: ""text: ""fields:- inline: truename: Restored byvalue: "%restorer%"- inline: truename: Playervalue: "%player%"- inline: truename: Backup Datevalue: "%date%"- inline: truename: Categoryvalue: "%category%"- inline: truename: Extra Infovalue: "%extrainfo%"- inline: truename: Backup Locationvalue: "%location%"# Posted when staff export a backup into shulker boxes.backup-export:enabled: truecontent: ""username: ""avatar-url: ""embeds:- title:text: Backup exported as shulkerurl: ""description: ""color: "#00AAFF"timestamp: "%timestamp%"image-url: ""thumbnail-url: ""video-url: ""author:name: ""icon-url: ""url: ""footer:icon-url: ""text: ""fields:- inline: truename: Exported byvalue: "%restorer%"- inline: truename: Playervalue: "%player%"- inline: truename: Backup Datevalue: "%date%"- inline: truename: Categoryvalue: "%category%"- inline: truename: Extra Infovalue: "%extrainfo%"- inline: truename: Backup Locationvalue: "%location%"# --- Discord bot ---# The bot only works when enable-discord-addon is true in config.yml.# Staff can send a restore request to a Discord channel, and a higher ranking staff member accepts or# declines it.# Create a bot at https://discord.com/developers/applications and paste its token here.# The bot runs inside your Minecraft server, so you do not need to host anything else.token: ""# The status text the bot shows ("Playing ...").bot-activity: "DRollbacks"# The Discord channel where restore requests are posted. Turn on developer mode in Discord, right click the# channel and choose Copy ID.channel-id: ""# The Discord permission a person needs to accept or decline a request.# Names: https://ci.dv8tion.net/job/JDA5/javadoc/net/dv8tion/jda/api/Permission.htmlrequired-permission: "ADMINISTRATOR"# true = each request gets its own thread for discussion. false = no thread.create-thread: true# The name of that thread.thread-name: "Restore"# Texts the bot sends. & colour codes work in the ones shown in game.messages:restore: "Restore"decline: "Decline"restored: "&#FFCC00Your items have been restored to shulkers, check your inventory!"accepted: "Successfully accepted restore request!"declined: "Successfully declined restore request!"# The colour of the request box after it is accepted or declined, as a #RRGGBB code.accepted-color: "#00ff00"declined-color: "#ff0000"no-permission: "You don't have permission to use this!"# The request message posted in Discord. Each numbered field is a line in it.# You can use: %player% %requester% %date% %location% %category% %cause%prompt:color: "#00aaff"title:text: "%player% - restore request"fields:1:inline: truename: "Requested by"value: "%requester%"2:inline: truename: "Creation date"value: "%date%"3:inline: falsename: "Location"value: "%location%"4:inline: truename: "Category"value: "%category%"5:inline: truename: "Cause"value: "%cause%"
plugins/DRollbacks/messages.yml
Rollbacks: every text and menu item. & colour codes, &#RRGGBB and <#RRGGBB> work. Edit, then run /drollbacks reload. Keep the %placeholders% in a text that already has them.
"!FF33Successfully reloaded plugin!"--- Command replies ---
"&#FF3333Failed to reload the plugin! Something is wrong in the &f%file%&#FF3333 file, look in the console or use a yaml validator to fix the errors!"You can use: %file% (the file with the mistake)
"!FF33Successfully cleaned up database!""!FF33Successfully made a manual backup for &f%player%!FF33!"You can use: %player%
"!FF33Successfully made a manual backup for all players!""by: %player%"Shown as the cause of a backup made by hand.
--- Errors ---
"&#FF3333You don't have permission to run this command!""&#FF3333The player must be online to restore their inventory!""&#FF3333This player has no backups saved! &#DDDDDD(error: %number%)"You can use: %number% (the short reason, like "name not found" or "no backups found")
"&#FF3333You must be a player to execute this command!""&#FF3333The world of this location doesn't exist or it isn't loaded."--- Exported shulker box --- The item staff get when they export a backup. It must be some kind of shulker box. You can use: %player-uuid% %date% %location% %staff%
SHULKER_BOX"�CCFFInventory backup"--- Discord requests --- Shown to the staff member after they send a restore request from the menu.
"!FF33You have successfully sent the restore request.""&#FF3333Failed to send restore request. Check the console for errors."--- Backup kinds --- `raw` is the name used for the kind in Discord messages. `name` is the name used in the menus.
"ALL""All""ENDER_CHEST""Ender Chests""DEATH""Deaths""JOIN""Joins""QUIT""Quits""WORLD CHANGE""World Changes""GAMEMODE CHANGE""Gamemode Changes""CONTAINER_CLOSE""Container Closes""PUNISHMENT WIPE""Punishment Wipes""MANUAL""Manual""AUTOMATIC""Automatic"--- Items handed back automatically ---
"DFFB0Your ban was lifted, so the items it took are back in your inventory.""&#FF4D6DYou have items waiting. Free %slots% inventory slots to get them."--- Command errors ---
"&#FF0000Invalid parameter: &#BB0000%value%""&#FF0000Invalid command or subcommand!""&#FF0000Missing argument! You must specify a value for &#BB0000%value%&#FF0000.""&#FF0000You don't have permission to access this command!""&#FF0000The &#BB0000%number% &#FF0000must be between &#BB0000%min% &#FF0000and &#BB0000%max%&#FF0000!""&#FF0000You must be a player to use this command!""&#FF0000The player &#BB0000%player% &#FF0000can not be found!""&#FF0000You can not use this selector in this command!"--- /drollbacks chat commands --- Texts of the chat commands. A backup is named by its time (10-06_18-18-51), and #id also works. The click and hover parts are MiniMessage tags, keep them as they are and change only the words.
"not recorded""yes""no""online, the items arrive at once""offline, the items arrive when they join""GF521never""&#FFB020yes, %times%x, last by %staff% on %date% (%ago%)"" &#FFB020[restored]""&#FFB020a restore of this backup is already waiting to be delivered""%stacks% stacks (%total% items), armour %armor%/4, offhand %offhand%""%stacks% stacks (%total% items)""&#FF5C5Cthe items could not be read""&#FF5C5CUsage: &f/drollbacks list <player> [category] [page]""&#FF5C5CUsage: &f/drollbacks info <player> <category> <backup>""&#FF5C5CUsage: &f/drollbacks restore <player> <category> <backup> [-y]""&#FF5C5CUsage: &f/drollbacks export <player> <category> <backup> [to-me|to-player] [-y]""&#FF5C5CUsage: &f/drollbacks teleport <player> <category> <backup>""&#FF5C5CUsage: &f/drollbacks status &#FF5C5Cor &f/drollbacks status <given|retry|unlock> <id>"" �B5FF» &f/drollbacks help 	B9B9B| This list"" �B5FF» &f/drollbacks list <player> [category] [page] 	B9B9B| Categories of a player, or the backups in one"" �B5FF» &f/drollbacks info <player> <category> <backup> 	B9B9B| Why, when, where and what is in a backup"" �B5FF» &f/drollbacks restore <player> <category> <backup> [-y] 	B9B9B| Give the items back to the player as shulkers"" �B5FF» &f/drollbacks export <player> <category> <backup> [to-me|to-player] [-y] 	B9B9B| Shulkers to you or to the player"" �B5FF» &f/drollbacks teleport <player> <category> <backup> 	B9B9B| Go to where it happened"" �B5FF» &f/drollbacks view <player> 	B9B9B| Open the menu"" �B5FF» &f/drollbacks search <item> 	B9B9B| Find backups holding an item"" �B5FF» &f/drollbacks save <player> 	B9B9B| Make a manual backup"" �B5FF» &f/drollbacks saveall 	B9B9B| Make a manual backup of everyone online"" �B5FF» &f/drollbacks status [given|retry|unlock <id>] 	B9B9B| Item log rate and restores that started but never finished"" �B5FF» &f/drollbacks cleanup 	B9B9B| Delete old backups (see config.yml)"" �B5FF» &f/drollbacks reload 	B9B9B| Reload the files""&#FF5C5CNo backups are known for &f%player%&#FF5C5C.""&#FF5C5C%player% has no backups.""&#FF5C5C%player% has no category &f%category%&#FF5C5C. Pick one of: &f%valid%""&#FF5C5C&f%backup%&#FF5C5C is not a backup name. Use its time, like 10-06_18-18-51, or"&#FF5C5C%player% has no backup &f%backup%&#FF5C5C in &f%category%&#FF5C5C. Tab shows the ones that exist.""&#FF5C5CSomething went wrong, nothing was changed. Look in the console.""�B5FF» &f%player% 	B9B9Bhas &f%total% 	B9B9Bbackups in &f%count% 	B9B9Bcategories""<click:run_command:'/drollbacks list %player% %category%'><hover:show_text:'	B9B9BList the %category% backups'> �B5FF» &f%category% 	B9B9B(%count%) newest &f%latest% 	B9B9B(%ago%)</hover></click>""	B9B9BNext: &f/drollbacks list %player% <category>""�B5FF» &f%player% 	B9B9B/ &f%category% 	B9B9B- page &f%page%/%pages% 	B9B9B(%total% backups, newest first)""�B5FF%token%<newline>	B9B9BWhy: &f%category-name%<newline>	B9B9BCause: &f%cause%<newline>	B9B9BWhen: &f%date% (%ago%)<newline>	B9B9BWhere: &f%location%<newline>	B9B9BRestored: %restored%<newline>�B5FFClick for details""<click:run_command:'/drollbacks info %player% %category% %token%'><hover:show_text:'%hover%'> �B5FF%token% 	B9B9B%ago% &f%category% 	B9B9B| &f%cause% 	B9B9B| &f%location%%restored-flag%</hover></click>"" <click:run_command:'/drollbacks restore %player% %category% %token%'><hover:show_text:'	B9B9BAsks you to confirm first'>�B5FF[Give to player]</hover></click> <click:run_command:'/drollbacks export %player% %category% %token% to-me'><hover:show_text:'	B9B9BAsks you to confirm first'>�B5FF[Take yourself]</hover></click> <click:run_command:'/drollbacks teleport %player% %category% %token%'><hover:show_text:'	B9B9BGo to %location%'>�B5FF[Teleport]</hover></click>""&#FFB020&l! &#FFB020This backup was already restored before. Doing it again gives the items a second time.""&#FF5C5C&l! &#FF5C5CA restore of this backup is already waiting to be delivered, so another one is refused.""	B9B9BNothing was given yet. To confirm, run: &f%command%""GF521Sent backup &f%token% GF521to &f%player%GF521 as shulker boxes. They arrive in their inventory; with a full inventory they are told how many slots to free.""GF521Queued backup &f%token% GF521for &f%player%GF521. They are offline, so it arrives when they join.""&#FFB020A restore of this backup is already waiting to be delivered, so nothing new was sent.""&#FFB020This backup was already restored once, so nothing was sent. To give the items a second time on purpose, run: &f%command%""&#FFB020Someone is restoring this backup right now. Try again in a moment.""�B5FF» &fItem log 	B9B9B| &f%hour% 	B9B9Brows written in the last hour, &f%pending% 	B9B9Bwaiting, &f%written% 	B9B9Bsince start, &f%dropped% 	B9B9Bdropped""�B5FF» &fItem log 	B9B9B| off. Turn it on with logging.enabled in config.yml."" &#FF5C5C%dropped% item moves were dropped because the database could not keep up. Check the console for database errors, or raise logging.write.queue-limit.""�B5FF» &fUnfinished restores 	B9B9B(older than %minutes% minutes)""GF521Nothing is stuck. Every restore older than %minutes% minutes finished."" &#FFB020#%request% 	B9B9Bbackup &f#%backup% 	B9B9Bof &f%player% 	B9B9Bstarted on &f%server% 	B9B9B%ago%. Check the player, then &f/drollbacks status given %request% 	B9B9Bor &f/drollbacks status retry %request%"" &#FFB020op %op% 	B9B9B%kind% of &f%player% 	B9B9Bby &f%staff% 	B9B9Bon &f%server% 	B9B9B%ago% (%note%). Check the player, then &f/drollbacks status unlock %op%""GF521Marked restore"GF521Reopened restore"&#FF5C5CRestore"&#FF5C5CRestore"GF521Unlocked operation %id%. The player can be replaced again.""&#FF5C5C#%id% is not an unfinished restore older than %minutes% minutes. Run &f/drollbacks status &#FF5C5Cto see the list.""&#FF5C5CAnother plugin cancelled this restore. Nothing was given.""GF521Gave you %amount% shulker box(es) with backup &f%token% GF521of &f%player%GF521.""&#FF5C5CYou need %amount% free inventory slots. Nothing was given.""&#FF5C5CThis backup has no items to hand out.""&#FF5C5CThe console has no inventory. Use: &f/drollbacks export <player> <category> <backup> to-player""GF521Teleporting to where backup &f%token% GF521happened: &f%location%"--- Replace --- Messages for "Replace player's inventory" in the restore menu.
"	B9B9BWhat they carry now is saved as a backup first.""&#FF5C5CNo backup is made first, so what they carry now is gone.""before restore by %staff% (backup %token%)""&#FFB020Someone is replacing %player%'s items right now. Try again in a moment.""GF521Replaced %player%'s items with backup &f%token%GF521.""&#FF5C5C%player% left before the replace ran. Nothing was changed."# Rollbacks: every text and menu item. & colour codes, &#RRGGBB and <#RRGGBB> work.# Edit, then run /drollbacks reload. Keep the %placeholders% in a text that already has them.# --- Command replies ---reloaded: "!FF33Successfully reloaded plugin!"# You can use: %file% (the file with the mistake)reload-fail: "&#FF3333Failed to reload the plugin! Something is wrong in the &f%file%&#FF3333 file, look in the console or use a yaml validator to fix the errors!"cleaned-up: "!FF33Successfully cleaned up database!"# You can use: %player%manual-backup: "!FF33Successfully made a manual backup for &f%player%!FF33!"manual-backup-all: "!FF33Successfully made a manual backup for all players!"# Shown as the cause of a backup made by hand.manual-created-by: "by: %player%"# --- Errors ---errors:no-permission: "&#FF3333You don't have permission to run this command!"player-offline: "&#FF3333The player must be online to restore their inventory!"# You can use: %number% (the short reason, like "name not found" or "no backups found")unknown-player: "&#FF3333This player has no backups saved! &#DDDDDD(error: %number%)"not-player: "&#FF3333You must be a player to execute this command!"world-not-found: "&#FF3333The world of this location doesn't exist or it isn't loaded."# --- Exported shulker box ---# The item staff get when they export a backup. It must be some kind of shulker box.# You can use: %player-uuid% %date% %location% %staff%restored-shulker:material: SHULKER_BOXname: "�CCFFInventory backup"lore:- '&#DDDDDD%player-uuid%'- ''- '&8│ &7- �FFFFDate: &f%date%'- '&8│ &7- �FFFFLocation: &f%location%'- '&8│ &7- �FFFFGiven to: &f%staff%'- ''# --- Discord requests ---# Shown to the staff member after they send a restore request from the menu.discord-request:success: "!FF33You have successfully sent the restore request."failure: "&#FF3333Failed to send restore request. Check the console for errors."# --- Menus ---# What the backup menus say in chat. The look of the menus (titles, buttons, colours, where each button sits) is in# menu-hub.yml, menu-backups.yml, menu-backup.yml, menu-filters.yml and menu-confirm.yml.menus:# Sent when someone opens a player who has no backups.no-backups: "&#FF5C5CThis player has no backups saved."# Sent when the items of a backup cannot be read from the database.unreadable: "&#FF5C5CThe items of this backup could not be read. Look in the console."# The title on the search sign (about 15 characters fit) and the line shown when chat is used instead.# Whether a sign or chat is used is set in DCore's config.yml, text-input.search-sign: "Search items"search-prompt: '&7Type an item, enchantment or name to look for in backups, or "cancel" to go back.'search-too-long: "&#FF5C5CThat is too long to search for. Use %max% characters or fewer."# Sent while a search runs. You can use: %query%search-working: "&7Looking through the backups for &f%query%&7..."# You can use: %query% %count% (backups that hold it)search-applied: "GF521Found &f%count%GF521 backups holding &f%query%GF521."search-empty: "&#FF5C5CNo backup holds &f%query%&#FF5C5C."# The cause filter asks for a word that the cause of a backup must contain.cause-sign: "Filter by cause"cause-prompt: '&7Type a word the cause must contain, like &fcreeper&7, or "cancel" to go back.'# What a click on the cause filter does: it types a word while none is set and clears it once one is.cause-verb: "type a word"cause-verb-clear: "clear it"# Named in the Filter button while "only not restored" is on.not-restored-filter: "not restored"# Sent when the compare button is used on a player who is not online.compare-offline: "&#FF5C5C%player% must be online to compare their inventory."# Shown in the filter button when nothing is filtered, and the words used for a switch.filter-none: "nothing"state-on: "GF521on"state-off: "&#FF5C5Coff"verb-on: "turn it off"verb-off: "turn it on"any: "Any"empty-cause: "Any"# --- Backup kinds ---# `raw` is the name used for the kind in Discord messages. `name` is the name used in the menus.categories:ALL:raw: "ALL"name: "All"ENDER_CHEST:raw: "ENDER_CHEST"name: "Ender Chests"DEATH:raw: "DEATH"name: "Deaths"JOIN:raw: "JOIN"name: "Joins"QUIT:raw: "QUIT"name: "Quits"WORLD_CHANGE:raw: "WORLD CHANGE"name: "World Changes"GAMEMODE_CHANGE:raw: "GAMEMODE CHANGE"name: "Gamemode Changes"CONTAINER_CLOSE:raw: "CONTAINER_CLOSE"name: "Container Closes"PUNISHMENT_WIPE:raw: "PUNISHMENT WIPE"name: "Punishment Wipes"MANUAL:raw: "MANUAL"name: "Manual"AUTOMATIC:raw: "AUTOMATIC"name: "Automatic"# --- Items handed back automatically ---restore-delivery:punishment-returned: "DFFB0Your ban was lifted, so the items it took are back in your inventory."need-room: "&#FF4D6DYou have items waiting. Free %slots% inventory slots to get them."# --- Command errors ---commands:invalid-value: "&#FF0000Invalid parameter: &#BB0000%value%"invalid-command: "&#FF0000Invalid command or subcommand!"missing-argument: "&#FF0000Missing argument! You must specify a value for &#BB0000%value%&#FF0000."no-permission: "&#FF0000You don't have permission to access this command!"out-of-range: "&#FF0000The &#BB0000%number% &#FF0000must be between &#BB0000%min% &#FF0000and &#BB0000%max%&#FF0000!"player-only: "&#FF0000You must be a player to use this command!"invalid-player: "&#FF0000The player &#BB0000%player% &#FF0000can not be found!"invalid-selector: "&#FF0000You can not use this selector in this command!"# --- /drollbacks chat commands ---# Texts of the chat commands. A backup is named by its time (10-06_18-18-51), and #id also works.# The click and hover parts are MiniMessage tags, keep them as they are and change only the words.cmd:no-cause: "not recorded"yes: "yes"no: "no"state-online: "online, the items arrive at once"state-offline: "offline, the items arrive when they join"restored-never: "GF521never"restored-yes: "&#FFB020yes, %times%x, last by %staff% on %date% (%ago%)"restored-flag: " &#FFB020[restored]"pending-yes: "&#FFB020a restore of this backup is already waiting to be delivered"contents-inventory: "%stacks% stacks (%total% items), armour %armor%/4, offhand %offhand%"contents-simple: "%stacks% stacks (%total% items)"contents-missing: "&#FF5C5Cthe items could not be read"usage:list: "&#FF5C5CUsage: &f/drollbacks list <player> [category] [page]"info: "&#FF5C5CUsage: &f/drollbacks info <player> <category> <backup>"restore: "&#FF5C5CUsage: &f/drollbacks restore <player> <category> <backup> [-y]"export: "&#FF5C5CUsage: &f/drollbacks export <player> <category> <backup> [to-me|to-player] [-y]"teleport: "&#FF5C5CUsage: &f/drollbacks teleport <player> <category> <backup>"status: "&#FF5C5CUsage: &f/drollbacks status &#FF5C5Cor &f/drollbacks status <given|retry|unlock> <id>"help-header:- ' '- '�B5FF&lBACKUPS 	B9B9BHelp'- '	B9B9BCategory is why the backup was made: death, quit, join, punishment-wipe, automatic, manual...'- '	B9B9BBackup is its time like &f10-06_18-18-51	B9B9B, or &f#id	B9B9B. Press tab to fill each part in.'help:help: " �B5FF» &f/drollbacks help 	B9B9B| This list"list: " �B5FF» &f/drollbacks list <player> [category] [page] 	B9B9B| Categories of a player, or the backups in one"info: " �B5FF» &f/drollbacks info <player> <category> <backup> 	B9B9B| Why, when, where and what is in a backup"restore: " �B5FF» &f/drollbacks restore <player> <category> <backup> [-y] 	B9B9B| Give the items back to the player as shulkers"export: " �B5FF» &f/drollbacks export <player> <category> <backup> [to-me|to-player] [-y] 	B9B9B| Shulkers to you or to the player"teleport: " �B5FF» &f/drollbacks teleport <player> <category> <backup> 	B9B9B| Go to where it happened"view: " �B5FF» &f/drollbacks view <player> 	B9B9B| Open the menu"search: " �B5FF» &f/drollbacks search <item> 	B9B9B| Find backups holding an item"save: " �B5FF» &f/drollbacks save <player> 	B9B9B| Make a manual backup"saveall: " �B5FF» &f/drollbacks saveall 	B9B9B| Make a manual backup of everyone online"status: " �B5FF» &f/drollbacks status [given|retry|unlock <id>] 	B9B9B| Item log rate and restores that started but never finished"cleanup: " �B5FF» &f/drollbacks cleanup 	B9B9B| Delete old backups (see config.yml)"reload: " �B5FF» &f/drollbacks reload 	B9B9B| Reload the files"help-footer:- ' 'unknown-player: "&#FF5C5CNo backups are known for &f%player%&#FF5C5C."no-backups: "&#FF5C5C%player% has no backups."unknown-category: "&#FF5C5C%player% has no category &f%category%&#FF5C5C. Pick one of: &f%valid%"bad-backup: "&#FF5C5C&f%backup%&#FF5C5C is not a backup name. Use its time, like 10-06_18-18-51, or #id."backup-not-found: "&#FF5C5C%player% has no backup &f%backup%&#FF5C5C in &f%category%&#FF5C5C. Tab shows the ones that exist."failed: "&#FF5C5CSomething went wrong, nothing was changed. Look in the console."categories-header: "�B5FF» &f%player% 	B9B9Bhas &f%total% 	B9B9Bbackups in &f%count% 	B9B9Bcategories"category-line: "<click:run_command:'/drollbacks list %player% %category%'><hover:show_text:'	B9B9BList the %category% backups'> �B5FF» &f%category% 	B9B9B(%count%) newest &f%latest% 	B9B9B(%ago%)</hover></click>"categories-hint: "	B9B9BNext: &f/drollbacks list %player% <category>"list-header: "�B5FF» &f%player% 	B9B9B/ &f%category% 	B9B9B- page &f%page%/%pages% 	B9B9B(%total% backups, newest first)"list-hover: "�B5FF%token%<newline>	B9B9BWhy: &f%category-name%<newline>	B9B9BCause: &f%cause%<newline>	B9B9BWhen: &f%date% (%ago%)<newline>	B9B9BWhere: &f%location%<newline>	B9B9BRestored: %restored%<newline>�B5FFClick for details"list-line: "<click:run_command:'/drollbacks info %player% %category% %token%'><hover:show_text:'%hover%'> �B5FF%token% 	B9B9B%ago% &f%category% 	B9B9B| &f%cause% 	B9B9B| &f%location%%restored-flag%</hover></click>"nav-prev: "<click:run_command:'/drollbacks list %player% %category% %prev%'><hover:show_text:'	B9B9BPage %prev%'>�B5FF[< previous]</hover></click>"nav-prev-off: "	B9B9B[< previous]"nav-page: " 	B9B9Bpage &f%page%/%pages% "nav-next: "<click:run_command:'/drollbacks list %player% %category% %next%'><hover:show_text:'	B9B9BPage %next%'>�B5FF[next >]</hover></click>"nav-next-off: "	B9B9B[next >]"nav-console: "	B9B9BPage %page%/%pages%. Another page: &f/drollbacks list %player% %category% <page>"info:- ' '- '�B5FF&lBACKUP &f%token% 	B9B9B(#%id%) of &f%player%'- ' 	B9B9BWhy: &f%category-name% 	B9B9B(%category%)'- ' 	B9B9BCause: &f%cause%'- ' 	B9B9BWhen: &f%date% 	B9B9B(%ago%)'- ' 	B9B9BWhere: &f%location%'- ' 	B9B9BItems: &f%contents%'- ' 	B9B9BRestored: %restored%'- ' %pending%'info-actions: " <click:run_command:'/drollbacks restore %player% %category% %token%'><hover:show_text:'	B9B9BAsks you to confirm first'>�B5FF[Give to player]</hover></click> <click:run_command:'/drollbacks export %player% %category% %token% to-me'><hover:show_text:'	B9B9BAsks you to confirm first'>�B5FF[Take yourself]</hover></click> <click:run_command:'/drollbacks teleport %player% %category% %token%'><hover:show_text:'	B9B9BGo to %location%'>�B5FF[Teleport]</hover></click>"confirm:restore:- ' '- '&#FFB020&lCONFIRM: GIVE THE ITEMS BACK'- ' 	B9B9BWho gets them: &f%player% 	B9B9B(%target-state%)'- ' 	B9B9BWhat: &f%shulkers% shulker box(es) with %contents%'- ' 	B9B9BBackup: �B5FF%token% 	B9B9B(#%id%, &f%category-name%	B9B9B)'- ' 	B9B9BWhen: &f%date% 	B9B9B(%ago%)'- ' 	B9B9BWhy: &f%cause%'- ' 	B9B9BWhere: &f%location%'- ' 	B9B9BRestored before: %restored%'- ' 	B9B9BWhat they carry now is not touched. If their inventory is full they are told to free slots.'export-player:- ' '- '&#FFB020&lCONFIRM: SEND THE ITEMS TO THE PLAYER'- ' 	B9B9BWho gets them: &f%player% 	B9B9B(%target-state%)'- ' 	B9B9BWhat: &f%shulkers% shulker box(es) with %contents%'- ' 	B9B9BBackup: �B5FF%token% 	B9B9B(#%id%, &f%category-name%	B9B9B)'- ' 	B9B9BWhen: &f%date% 	B9B9B(%ago%)'- ' 	B9B9BWhy: &f%cause%'- ' 	B9B9BRestored before: %restored%'export-me:- ' '- '&#FFB020&lCONFIRM: TAKE THE ITEMS YOURSELF'- ' 	B9B9BWho gets them: &fyou 	B9B9B(needs %shulkers% free slots, or nothing is given)'- ' 	B9B9BWhat: &f%shulkers% shulker box(es) with %contents%'- ' 	B9B9BBackup: �B5FF%token% 	B9B9B(#%id%, &f%category-name%	B9B9B) of &f%player%'- ' 	B9B9BWhen: &f%date% 	B9B9B(%ago%)'- ' 	B9B9BWhy: &f%cause%'- ' 	B9B9BRestored before: %restored%'repeat-warning: "&#FFB020&l! &#FFB020This backup was already restored before. Doing it again gives the items a second time."pending-warning: "&#FF5C5C&l! &#FF5C5CA restore of this backup is already waiting to be delivered, so another one is refused."confirm-button: "<click:run_command:'%command%'><hover:show_text:'	B9B9BRuns the command now'>GF521&l[CONFIRM]</hover></click> 	B9B9Bor run &f%command%"confirm-console: "	B9B9BNothing was given yet. To confirm, run: &f%command%"restore-queued-online: "GF521Sent backup &f%token% GF521to &f%player%GF521 as shulker boxes. They arrive in their inventory; with a full inventory they are told how many slots to free."restore-queued-offline: "GF521Queued backup &f%token% GF521for &f%player%GF521. They are offline, so it arrives when they join."already-pending: "&#FFB020A restore of this backup is already waiting to be delivered, so nothing new was sent."already-restored: "&#FFB020This backup was already restored once, so nothing was sent. To give the items a second time on purpose, run: &f%command%"busy: "&#FFB020Someone is restoring this backup right now. Try again in a moment."status:item-log: "�B5FF» &fItem log 	B9B9B| &f%hour% 	B9B9Brows written in the last hour, &f%pending% 	B9B9Bwaiting, &f%written% 	B9B9Bsince start, &f%dropped% 	B9B9Bdropped"item-log-off: "�B5FF» &fItem log 	B9B9B| off. Turn it on with logging.enabled in config.yml."item-log-dropped: " &#FF5C5C%dropped% item moves were dropped because the database could not keep up. Check the console for database errors, or raise logging.write.queue-limit."header: "�B5FF» &fUnfinished restores 	B9B9B(older than %minutes% minutes)"none: "GF521Nothing is stuck. Every restore older than %minutes% minutes finished."claim: " &#FFB020#%request% 	B9B9Bbackup &f#%backup% 	B9B9Bof &f%player% 	B9B9Bstarted on &f%server% 	B9B9B%ago%. Check the player, then &f/drollbacks status given %request% 	B9B9Bor &f/drollbacks status retry %request%"op: " &#FFB020op %op% 	B9B9B%kind% of &f%player% 	B9B9Bby &f%staff% 	B9B9Bon &f%server% 	B9B9B%ago% (%note%). Check the player, then &f/drollbacks status unlock %op%"given: "GF521Marked restore #%id% (backup #%backup%) as given. It is not sent again."retried: "GF521Reopened restore #%id% (backup #%backup%). It is handed out again the normal way as soon as the player is online with room."other-server: "&#FF5C5CRestore #%id% was started on &f%server%&#FF5C5C. Run the retry there, so that server can confirm it is not still handing it out."not-retryable: "&#FF5C5CRestore #%id% cannot be retried: it is still being handed out, it may already have arrived, or someone else just retried it. Check the player, then use &f/drollbacks status given %id%&#FF5C5C if they have the items."unlocked: "GF521Unlocked operation %id%. The player can be replaced again."not-stuck: "&#FF5C5C#%id% is not an unfinished restore older than %minutes% minutes. Run &f/drollbacks status &#FF5C5Cto see the list."cancelled: "&#FF5C5CAnother plugin cancelled this restore. Nothing was given."export-given: "GF521Gave you %amount% shulker box(es) with backup &f%token% GF521of &f%player%GF521."export-need-room: "&#FF5C5CYou need %amount% free inventory slots. Nothing was given."export-empty: "&#FF5C5CThis backup has no items to hand out."export-console: "&#FF5C5CThe console has no inventory. Use: &f/drollbacks export <player> <category> <backup> to-player"teleport-ok: "GF521Teleporting to where backup &f%token% GF521happened: &f%location%"# --- Replace ---# Messages for "Replace player's inventory" in the restore menu.replace:safety-on: "	B9B9BWhat they carry now is saved as a backup first."safety-off: "&#FF5C5CNo backup is made first, so what they carry now is gone."safety-cause: "before restore by %staff% (backup %token%)"busy: "&#FFB020Someone is replacing %player%'s items right now. Try again in a moment."done: "GF521Replaced %player%'s items with backup &f%token%GF521."target-left: "&#FF5C5C%player% left before the replace ran. Nothing was changed."
DCore
LuckPerms, DStaff.
Paper 1.21 or newer, and forks like Purpur and Leaf. Folia is supported. Java 21 or newer.