
Also available in: Українська · Čeština · Deutsch · Français · Español · Português (Brasil) · 简体中文 · 한국어 · 日本語
Made by srdevs.net. This plugin came from ASA and uses the same license.
Let your players retrieve their dead bodies!
Plugin features:
- Let players bring back their own dead bodies and item caches with a chat command.
- Bring the body or item cache to the player, or put the items straight into their inventory.
- Start dragging the body right after it is brought back.
- Bring back bodies lying on dinos or platforms, with equipped armour and weapons.
- Set cooldowns after enemy kills, after respawn and between uses.
- Charge ArkShop points for each use.
- Give every Permissions group its own cooldowns, cost and restore mode.
- Block retrieving bodies that hold items like Element or fertilized Rock Drake eggs.
- Find and restore bodies or reset cooldowns of any player from the console or RCON.
- Save a copy of a player's items on death, on a timer and on logout, so admins can give them back after a crash or a rollback.
- Save tamed dinos with their inventory and bring them back.
- Approve a snapshot for a player. Online players get the items right away, others claim them with
/recover. - Skip items the player already has and take recovered items from the old body, so nothing is duplicated.
- Roll back many players at once, with a confirm step.
- Let players turn on
/autolootand get their loot back right after they respawn. - Charge points per item, give free uses per day, and limit uses, death age, death causes, maps and zones per permission group.
- Write every recovery to an audit log, with an optional Discord webhook.
- Rename chat commands and change every message in the config.
- MySQL or SQLite database. Cooldowns follow players across servers on one MySQL database.
How it works:
- A player dies. The body stays on the map, and when it is gone the items are left in an item cache.
- The player types
/mylootand sees their bodies and item caches, each with an id. /getloot idbrings one back to the player, or puts its items into their inventory.- The cooldown starts and the points are taken only after a successful restore. A refused
/getlootcosts nothing.
Commands:
| Command | Type | Description |
|---|---|---|
/getloot id | Chat | Brings back one of your bodies or item caches. Without an id it picks one for you |
/myloot | Chat | Lists your bodies and item caches on the map with their ids |
deathretriever.findloot SteamID | Console & RCON | Shows the bodies and item caches of a player |
deathretriever.removecooldown SteamID | Console & RCON | Removes the death and command cooldowns of a player |
deathretriever.restore SteamID AsCache ReturnToTarget id | Console | Restores a player's body or item cache to them or to you |
deathretriever.restore SteamID AsCache id | RCON | Restores a player's body or item cache to them |
/recover number | Chat | Claims items an admin approved for you. Without a number it lists them |
/autoloot on|off | Chat | Turns automatic retrieval after respawn on or off |
DeathRetriever.Deaths SteamID limit | Console & RCON | Lists a player's saved snapshots |
DeathRetriever.SnapshotInfo snapshot | Console & RCON | Shows the items in a snapshot |
DeathRetriever.RestoreSnapshot SteamID snapshot force items=1,3-5 note | Console & RCON | Approves a snapshot, all of it or some items, for a player |
DeathRetriever.Inbox SteamID | Console & RCON | Lists a player's pending recoveries |
DeathRetriever.RevokeGrant grantid | Console & RCON | Takes back a recovery that was not claimed yet |
DeathRetriever.DinoSnap dinoid | Console & RCON | Saves a snapshot of a tamed dino with its inventory |
DeathRetriever.Dinos dinoid | Console & RCON | Lists a dino's snapshots |
DeathRetriever.DinoInfo snapshot | Console & RCON | Shows a dino snapshot |
DeathRetriever.RestoreDino dinoid snapshot | Console & RCON | Brings a dino back from a snapshot |
DeathRetriever.Rollback players when | Console & RCON | Gives many players a snapshot back at once, after you confirm with the code it replies |
DeathRetriever.Reload | Console & RCON | Reloads plugin configuration |
JSON:
{
"LicenseKey": "YOUR_LICENSE_KEY", // Your License Key
"File": "", // Path to another config file to use instead of this one (optional). Leave empty to use this file.
"Database": { // Where the plugin keeps players, death snapshots, recoveries and creature snapshots
"Driver": "mysql", // mysql, mysql_xapi (needed for SSL) or sqlite. If MySQL can't connect, the plugin falls back to SQLite.
"Mysql": { // MySQL Credentials
"MysqlHost": "127.0.0.1", // MySQL Host
"MysqlPort": 3306, // MySQL Port
"MysqlUser": "plugindb", // MySQL User
"MysqlPass": "", // MySQL Password
"MysqlDB": "ark_database", // MySQL Database
"MysqlTable": "NP_Players", // Players table name. The _Snapshots, _Inbox and _Dinos tables are named after it.
"SSL": false, // Use SSL (mysql_xapi driver only)
"LegacyAuth": true, // Allow the older MySQL password login (mysql_native_password)
"SSLCa": "" // Path to the CA certificate for SSL (optional)
},
"SQLite": { // Used when Driver is sqlite
"SQLitePath": "./DeathRetriever.db" // SQLite database file
}
},
"srdevs.net": { // srdevs.net services
"EnableAutoUpdates": true, // Download new versions of the plugin automatically
"DisableTelemetry": false, // Set true to stop sending anonymous usage statistics
"EnableCrashDumps": true // Send a scrubbed crash report when the server crashes inside the plugin
},
"Messages": { // How times are written in messages
"Seconds": "{Seconds} seconds", // Less than a minute
"Minute": "{Minutes} minutes", // Less than an hour
"Hour": "{Hours} hours", // Whole hours
"HrMinute": "{Hours} hours {Minutes} minutes", // Hours and minutes
"NoCooldown": "no cooldown" // Shown when there is no cooldown
},
"Commands": { // Command List
"Restore": { // Chat command to retrieve your body or item cache: /getloot (id). Without an id it picks the latest one.
"Command": "/getloot", // Command Name
"DragBodyAfterRetrieve": true, // Automatically drag the body after it is retrieved
"Permissions": { // Permission groups. A player in several groups gets the one with the highest Priority.
"Default": { // Group Name
"Priority": 0, // Group Priority (Higher - Better)
"Enabled": true, // Is the command enabled for this group?
"RestoreAsItemCache": true, // If true restores as an item cache or body, if false restores as items
"CooldownIfDiedFromEnemy": 600, // Cooldown in seconds after being killed by an enemy (-1 is ignore)
"RestoreCooldown": 21600, // Cooldown in seconds after the command was used (-1 is ignore)
"RespawnCooldown": 10, // Seconds to wait after respawning before the command can be used (-1 is ignore)
"CommandCost": 10, // ArkShop points to use the command (-1 is free)
"CostPerItem": 0, // Extra ArkShop points for each item retrieved
"ItemCosts": {}, // Extra points for certain items, by blueprint text, e.g. { "Element": 5, "Cryopod": 20 }. The first match sets the price.
"MaxCost": -1, // Highest total price (-1 is no limit)
"FreeUsesPerDay": 0, // Uses per day that cost nothing
"MaxUsesPerDay": -1, // Uses per day (-1 is no limit)
"MaxDeathAgeSeconds": -1, // Deaths older than this can't be retrieved (-1 is no limit)
"AllowAutoRetrieve": true, // Can players of this group use /autoloot?
"BlockRetrievingIfHas": [ // Blocks retrieving when the body or cache has these items (blueprint text, * and ? allowed)
"Element",
"Egg_RockDrake_Fertilized"
],
"OnBlockedItems": "Deny", // Deny: refuse the whole retrieval. LeaveBehind: retrieve the rest and leave blocked items.
"BlockedCauses": [], // Death causes that can't be retrieved: PvP, EnemyTribe, Creature, Environment, Suicide, Unknown
"BlockedMaps": [], // Maps where the command can't be used, e.g. [ "TheIsland" ]
"BlockedZones": [] // Places where the command can't be used, e.g. [ { "Name": "the volcano", "Center": [ 0, 0, 0 ], "RadiusMeters": 300 } ]
},
"Admins": { // Group Name
"Priority": 1,
"Enabled": true,
"RestoreAsItemCache": true,
"CooldownIfDiedFromEnemy": -1, // -1 is ignore
"RestoreCooldown": -1,
"RespawnCooldown": -1,
"CommandCost": -1,
"CostPerItem": 0,
"ItemCosts": {},
"MaxCost": -1,
"FreeUsesPerDay": 0,
"MaxUsesPerDay": -1,
"MaxDeathAgeSeconds": -1,
"AllowAutoRetrieve": true,
"BlockRetrievingIfHas": [ "Egg_RockDrake_Fertilized" ],
"OnBlockedItems": "Deny",
"BlockedCauses": [],
"BlockedMaps": [],
"BlockedZones": []
}
},
"Messages": {
"CommandDisabled": { // Shown if the command is not enabled for the player's group
"Message": "This command is disabled.", // Message Text
"DisplayTime": 10.0, // Display Time in seconds
"TextSize": 2.0, // Text Size
"Color": [ 255, 0, 0 ] // R G B Colors
},
"NoPermission": { // Not shown by this version, kept for older configs
"Message": "You don't have permission to use that command.",
"DisplayTime": 10.0,
"TextSize": 2.0,
"Color": [ 255, 0, 0 ]
},
"NotEnoughPoints": { // Shown if the player does not have enough points. {Cost} is the price.
"Message": "Not enough points ({Cost}) to use that command.",
"DisplayTime": 10.0,
"TextSize": 2.0,
"Color": [ 255, 0, 0 ]
},
"DiedFromEnemy": { // Shown if the player was recently killed by an enemy. {Time} is the time left.
"Message": "You were recently killed by the enemy team, try again in {Time}.",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 255, 0, 0 ]
},
"Cooldown": { // Shown if the command is on cooldown. {Time} is the time left.
"Message": "Chill! Command is not ready yet, try again in {Time}.",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 255, 255, 0 ]
},
"ItemsNotFound": { // Shown if no bodies or item caches were found
"Message": "You don't have any active item caches or bodies to get.",
"DisplayTime": 10.0,
"TextSize": 2.0,
"Color": [ 255, 255, 0 ]
},
"InvalidIndex": { // Shown if the body or cache id is wrong
"Message": "This index is not found.",
"DisplayTime": 10.0,
"TextSize": 2.0,
"Color": [ 255, 255, 0 ]
},
"ItemsRestored": { // Shown after a successful retrieval. {Time} is the cooldown, {Cost} is the price paid.
"Message": "Your items were restored! This command is set on cooldown for {Time}.",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 0, 255, 0 ]
},
"ContainsRestrictedItem": { // Shown if the body or cache holds blocked items and OnBlockedItems is Deny
"Message": "Can't restore inventory, it contains restricted items.",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 255, 0, 0 ]
},
"RespawnCooldown": { // Shown if the player respawned too recently. {Seconds} is the seconds left.
"Message": "Can't restore inventory, please wait {Seconds} second(s) after respawn.",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 255, 0, 0 ]
},
"DailyLimit": { // Shown when MaxUsesPerDay is reached. {Limit} is the limit.
"Message": "You already used this command {Limit} time(s) today.",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 255, 255, 0 ]
},
"CauseBlocked": { // Shown when the death cause is in BlockedCauses. {Cause} is the cause.
"Message": "Items from a {Cause} death can't be retrieved with this command.",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 255, 0, 0 ]
},
"TooOld": { // Shown when the death is older than MaxDeathAgeSeconds. {Age} is how long ago.
"Message": "That death is too old to retrieve ({Age} ago).",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 255, 255, 0 ]
},
"BlockedMap": { // Shown on a map in BlockedMaps
"Message": "This command can't be used on this map.",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 255, 0, 0 ]
},
"BlockedZone": { // Shown inside one of the BlockedZones. {Zone} is the zone name.
"Message": "You can't retrieve your items in {Zone}.",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 255, 0, 0 ]
},
"ItemsLeftBehind": { // Shown when OnBlockedItems is LeaveBehind and items stayed. {Count} is how many.
"Message": "{Count} restricted item(s) were left behind.",
"DisplayTime": 10.0,
"TextSize": 1.4,
"Color": [ 255, 255, 0 ]
},
"RestoreFailed": { // Shown if the retrieval failed. Nothing is charged and no cooldown starts.
"Message": "Retrieval failed, nothing was charged.",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 255, 0, 0 ]
}
}
},
"MyLoot": { // Command to list the bodies and item caches the player has on the map
"Command": "/myloot", // Command Name
"Messages": {
"Display": { // First line. {Bodies} body count, {Caches} item cache count, {Cost} price of the latest one, {Lines} the list.
"Message": "Found {Bodies} bodies and {Caches} item caches!\nUse /getloot (id) to retrieve items.\nNotice that this command will cost you {Cost} points.{Lines}",
"DisplayTime": 10.0,
"TextSize": 1.4,
"Color": [ 0, 255, 0 ]
},
"LineBody": "\nId: {Id} - Body - Expires in: {Time} - Items: {Items} - {Distance}m away", // One body. Also {Cause}, {Cost} and {Killer}.
"LineCache": "\nId: {Id} - Item Cache - Expires in: {Time} - Items: {Items} - {Distance}m away" // One item cache. Same placeholders.
}
},
"Recover": { // Command to claim recoveries an admin approved: /recover (number)
"Command": "/recover", // Command Name
"Messages": {
"Display": { // List of pending recoveries. {Count} is how many, {Lines} the list.
"Message": "You have {Count} pending recovery(ies):{Lines}\nType /recover (number) to claim one.",
"DisplayTime": 12.0,
"TextSize": 1.4,
"Color": [ 0, 255, 0 ]
},
"Line": "\n#{Index} - {Items} items - died {Age} ago{Note}", // One recovery. {Note} is the admin's note.
"NothingPending": { // Shown if nothing is waiting
"Message": "You have no pending recoveries.",
"DisplayTime": 8.0,
"TextSize": 1.6,
"Color": [ 255, 255, 0 ]
},
"LoginNotice": { // Shown after login when recoveries are waiting. {Count} is how many.
"Message": "An admin approved {Count} inventory recovery(ies) for you. Type /recover to claim.",
"DisplayTime": 12.0,
"TextSize": 1.6,
"Color": [ 0, 255, 0 ]
},
"Approved": { // Shown when an admin approves a recovery while the player is online
"Message": "An admin approved an inventory recovery for you. Type /recover to claim.",
"DisplayTime": 12.0,
"TextSize": 1.6,
"Color": [ 0, 255, 0 ]
},
"Delivered": { // Shown after a recovery. {Items} is how many items, {Age} how long ago the player died.
"Message": "Recovered {Items} items from your death {Age} ago!",
"DisplayTime": 10.0,
"TextSize": 1.8,
"Color": [ 0, 255, 0 ]
},
"Partial": { // Shown when some items could not be given. {Items} given, {Skipped} not given, {Age} how long ago.
"Message": "Recovered {Items} items, {Skipped} could not be given (already owned or restricted).",
"DisplayTime": 12.0,
"TextSize": 1.6,
"Color": [ 255, 255, 0 ]
},
"Failed": { // Shown if the recovery could not be delivered
"Message": "The recovery could not be delivered, please contact an admin.",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 255, 0, 0 ]
},
"Looted": { // Not shown by this version, kept for later use
"Message": "Part of that death's loot was already taken, so it can't be recovered. Ask an admin.",
"DisplayTime": 12.0,
"TextSize": 1.6,
"Color": [ 255, 0, 0 ]
},
"Expired": { // Shown if the recovery expired
"Message": "That recovery has expired.",
"DisplayTime": 8.0,
"TextSize": 1.6,
"Color": [ 255, 255, 0 ]
},
"AlreadyClaimed": { // Shown if the recovery was already claimed or revoked
"Message": "That recovery was already claimed.",
"DisplayTime": 8.0,
"TextSize": 1.6,
"Color": [ 255, 255, 0 ]
},
"MustBeAlive": { // Shown if the player is dead
"Message": "You must be alive to recover items.",
"DisplayTime": 8.0,
"TextSize": 1.6,
"Color": [ 255, 255, 0 ]
},
"InvalidIndex": { // Shown if the number is wrong
"Message": "No recovery with that number. Use /recover list.",
"DisplayTime": 8.0,
"TextSize": 1.6,
"Color": [ 255, 255, 0 ]
},
"NotYours": { // Shown when Recovery.Ownership refuses the recovery
"Message": "This recovery was made for a different tribe or character than the one you have now, so it can't be delivered. Ask an admin.",
"DisplayTime": 12.0,
"TextSize": 1.6,
"Color": [ 255, 0, 0 ]
}
}
},
"AutoRetrieve": { // Command players use to switch automatic retrieval after respawn on or off: /autoloot (on/off)
"Enabled": true, // Is the feature enabled?
"Command": "/autoloot", // Command Name
"DelaySeconds": 6, // Seconds after respawn before the retrieval runs (1 to 120). The group's RespawnCooldown is waited too.
"Messages": {
"Enabled": { // Shown when the player turns it on
"Message": "Auto-retrieve is ON: your latest loot is brought to you after you respawn.",
"DisplayTime": 8.0,
"TextSize": 1.6,
"Color": [ 0, 255, 0 ]
},
"Disabled": { // Shown when the player turns it off
"Message": "Auto-retrieve is OFF.",
"DisplayTime": 8.0,
"TextSize": 1.6,
"Color": [ 255, 255, 0 ]
},
"NotAllowed": { // Shown if the player's group has AllowAutoRetrieve false
"Message": "Auto-retrieve is not available for you.",
"DisplayTime": 8.0,
"TextSize": 1.6,
"Color": [ 255, 0, 0 ]
}
}
}
},
"Snapshots": { // Copies of a player's items saved to the database, so an admin can give them back later
"Capture": "Always", // When to save on death: Always, PvP (killed by a player or enemy tribe) or Off
"MinItems": 1, // Only save when the player carries at least this many items
"MaxItems": 500, // Most items saved per snapshot (1 to 5000)
"RetentionDays": 14, // Delete snapshots older than this (0 keeps them forever)
"IncludeEquipped": true, // Also save equipped armor and weapons
"Timed": { // Snapshots of living players
"Enabled": false, // Save online players every IntervalMinutes
"IntervalMinutes": 30, // Minutes between rounds (1 to 1440)
"KeepPerPlayer": 6, // Timed and logout snapshots kept per player (1 to 100)
"OnLogout": true, // Also save when a player logs out
"SkipUnchanged": true // Don't save again when the inventory has not changed
}
},
"DinoSnapshots": { // Copies of tamed creatures with their inventory. Only admins can restore them.
"Capture": "Off", // OnDeath: save a tame when it dies. Off: only by admin command.
"MinLevel": 1, // Only save creatures of this level or higher
"RetentionDays": 14, // Delete creature snapshots older than this (0 keeps them forever)
"KeepPerDino": 3 // Snapshots kept per creature (1 to 50)
},
"Rollback": { // Admin command to give many players a snapshot back at once
"ConfirmSeconds": 120, // Seconds the admin has to confirm with the code (10 to 3600)
"MaxPlayers": 200 // Most players in one rollback (1 to 5000)
},
"Recovery": { // How approved snapshots are given back
"AutoDeliverOnApproval": true, // Give the items right away when the player is online, without /recover
"InboxExpiryDays": 7, // Days an approved recovery waits before it expires (0 is never)
"MaxPendingPerPlayer": 10, // Most recoveries waiting per player (1 to 100)
"LoginNoticeDelaySeconds": 20, // Seconds after login before the player is told recoveries are waiting
"AntiDuplication": { // Stops the same items being received twice
"Enabled": true, // Turn the checks below on
"BlockIfLooted": true, // Refuse approval if the original body or bag was already partly looted (admin force overrides)
"DestroyOriginal": true, // Remove the recovered items from the original body or bag
"SkipItemsAlreadyOwned": true // Skip items the player already has
},
"Blacklist": { // Items never given back by a recovery (admin force overrides)
"Enabled": false, // Turn the blacklist on
"Items": [] // Blueprint text, * and ? allowed, e.g. [ "Element", "*Cryopod*" ]
},
"Ownership": { // Extra checks. Off by default: items belong to the player.
"RefuseIfTribeChanged": false, // Refuse when the player is in another tribe than when the snapshot was taken
"RefuseIfCharacterChanged": false // Refuse when the player has a different character than when the snapshot was taken
}
},
"Audit": { // Log of everything the plugin gives back
"WriteFile": true, // Write audit.jsonl in the plugin folder
"MaxFileMB": 5, // Size in MB before the file is rotated (1 to 500)
"DiscordWebhook": "", // Discord webhook URL for the events below (empty is off)
"WebhookEvents": [ // Events sent to Discord (empty list sends all). Also available: retrieve, snapshot.saved, grant.revoked, dino.saved
"grant.created",
"grant.claimed",
"admin.retrieve",
"claim.failed",
"claim.refused",
"dino.restored",
"rollback.done"
]
}
}
Requirements:
- Self-hosted Windows server (or Proton GE) with ARK Server API. Nitrado is not supported.
- Visual C++ 2022 Redistributable.
- Permissions plugin. ArkShop only if you want a cost per use.
- MySQL 8 or MariaDB 11 for clusters, or SQLite for a single server.
LicenseKey. Running ASA? The same license works with Death Retriever Ascended.



