InvRecover
Description
Few things are worse than falling in lava when mining. This plugin allows players to get their inventories back after dying. Don't want players to get abuse this? Use death cause permissions to configure when players can recover their inventories. Trusted ops (invrecover.recover.others permission) can recover other players' inventories on request.
Features
- Auto recovery upon respawn
- Broadcasts recoveries
- Death causes
- Experience
- Permissions, config
Commands
/invrecover [player/reload]
- aliases: /ir, /recover
Permissions
invrecover.* | Gives all InvRecover permissions. default: op |
invrecover.recover.self | Allows to recover own inventory |
invrecover.recover.others | Allows to recover other players' inventories |
invrecover.recover.auto | Allows auto-recovery on respawn if set in config.yml. default: true |
invrecover.quiet.self | Doesn't broadcast when player recovers own inventory |
invrecover.quiet.others | Doesn't broadcast when player recovers other players' inventory |
invrecover.reload | Allows use of /invrecover reload |
invrecover.cause.* | Gives all invrecover.cause permissions. Note: these permissions are ignored if use-death-causes is false |
Config
- auto-recovery <sub>(default: false)</sub> - automatically recovers players' inventories when they respawn
- broadcast-item-recovery <sub>(true)</sub> - broadcast inventory recoveries
- drop-on-death <sub>(true)</sub> - if false, disables dropping items on death. These items are not removed when inventory is restored. Note: drops will not be removed if inventory was not saved due to death causes
- one-recovery <sub>(true)</sub> - if false, it will allow players to recover their inventory multiple times per death. Warning: This can be used to duplicate items
- save-if-empty <sub>(false)</sub> - if false, it prevents inventory from being saved if it's empty, this way the previous inventory is still recoverable.
- use-death-causes <sub>(false)</sub> - Uses invrecover.cause.* permissions to decide whether to save items or not when a player dies.
- Custom messages
Installation
Drag InvRecover.jar into /plugins directory and reload the server. Configure if necessary.
Note
Reloading your server (/reload) will delete all saved (and unclaimed) inventories. To prevent this use /<command> reload if applicable
TODO
- Multi-world support
- Save unclaimed inventories to file
- Economy support
- Delete original items after inventory was recovered
Awesome plugin, sadly no offline player support, so for an HCF server it just isn't good enough :/
(HCF= DeathBans)
what is the chance of this updating? please? multiworld support too??
I dearly miss this plugin. Is it coming back?
@omegastaralpha
one-recovery prevents this. It's true by default. It makes sure that inventory can only be recovered once per death. You might also want to switch drop-on-death to false to prevent players from picking up items they dropped.
I player has reported that he can dupe his inventory spaming the /recover command as he drops items in a chest.
@omegastaralpha
Created a ticket for you. Please read
I have auto-recovery: true but all players still must type /recover after death. I also have invrecover.recover.auto permission set. Running on a tekkit server, only other plugins are permissionsex, dynmap and essentials.
@1mpre55
It's because of the bukkit bug that you spawn in a wall or in midair and die. I could try to use recover on suffocate but that wouldn't fix the problem if someone spawn on his bed and dies because of falldamage (also known bukkit bug). It just would be easier for me and my adminteam to restore inventorys. If theres no workaround it would be awesome if you could add that feature. (Maybe as a true/false config so that servers with less diskspace can disable it)
@squ1by
Sure, I'll add that to the todo list. I'm currently working on a new (bigger) plugin, I'll update this one in a few days
Could you add multiverse support for disabling item recovery in certain worlds?
@Mon3y13ankeR
No (not yet at least), but you can use death causes permissions to prevent it from saving inventory on certain types of death (it keeps the previously saved inventory recoverable). You can also make it auto-recover the inventory after death. If none of these solutions work for you, I could add this feature to the next version.
Is it possible to have multiple inventories for one player that can be recovered? Let's say he died 3 times and the second time was because of a bug. So I could reload his saved inventory from death number two?
@Wert1311
There is no 1.3.2 recommended build, and most servers should not be using beta builds
Also, the plugin should work with 1.3.2
@anime5167
Next time file a ticket please
From what I can tell from the stack trace, your config.yml contains an illegal character <sub>(0xFFFD)</sub>. There is nothing I should (although can) do to prevent this because bukkit handles the config files. Delete /plugins/InvEdit/config.yml file and reload the server.
If this doesn't fix the problem, please file a ticket, uploading the config.yml file.
i cant wait for 1.3.2 :)