Backpacks do not drop

We have the following setting in the config json file:

"Drop on Death (true/false)": true,
"Erase on Death (true/false)": false,

Until now - no issue with this, backpack dropped on death. Since the server and oxide update today, backpacks don't drop on death anymore, even though the settings above haven't been adjusted and no error appears.

Can you confirm you don't have the backpacks.keepondeath permission? A permissions manager plugin can help you determine whether you are inheriting it from a group.

I have the same issue, mentioned permission revoked.

Merged post

anything @WhiteThunder ?

I can't reproduce this issue. Under what circumstances do you see this? Is it 100% of players 100% of the time, or only some players or only sometimes? The more information you can provide, the better.

100% , simply permission   backpacks.keepondeath does not make any difference if it is granted or revoked, you die you keep your backpack stuff when respawn... all players all time.. :( 

I taged you and asked as this if over powered especially during raids so maybe will remove backpacks for now until sorted.

Please try this version of the plugin.

https://raw.githubusercontent.com/WheteThunger/Backpacks/master/Backpacks.cs

Once downloaded, open the Backpacks.cs file and remove the slashes from the line at the top of the file that says "// #define DEBUG_DROP_ON_DEATH" (basically, replace that line with #define DEBUG_DROP_ON_DEATH), then upload that to your server and make sure the plugin reloads. Then put something in your backpack and die somehow. The logs should have more log statements like the following.

[DEBUG_DROP_ON_DEATH] [Player ######] Backpack not dropped because the player has the backpacks.keepondeath permission.
[DEBUG_DROP_ON_DEATH] [Player ######] Backpack not dropped because "Drop on Death (true/false)" is set to false in the config.
[DEBUG_DROP_ON_DEATH] [Player ######] Backpack not dropped because the player has no backpack in memory or on disk.
[DEBUG_DROP_ON_DEATH] [Player ######] Backpack not dropped because it is empty.
[DEBUG_DROP_ON_DEATH] [Player ######] Backpack not dropped because another plugin blocked it via the CanDropBackpack hook.
[DEBUG_DROP_ON_DEATH] [Player ######] Backpack not dropped because it is empty, after reclaiming items for softcore.
[DEBUG_DROP_ON_DEATH] [Player ######] Backpack dropped.

If you don't see these logs, then one possibility is that you are using a plugin which uses the OnPlayerDeath hook in a manner that prevents the OnEntityDeath/OnEntityKill hooks from being called. If suspected, search the code of your other plugins for OnPlayerDeath, and try temporarily unloading those plugins and dying to see if there is any change.

Hi and thanks,
I tried it and it work ok with plugin from github. I tried with original version first and it did not drop it, loaded one with debug and tried and it work ok now.

(11:31:49) | [Backpacks] [DEBUG_DROP_ON_DEATH] [Player 7656xxx] Backpack dropped.

Yeah, having the same issue here with the plugin. It's not 100% of the time. Some people after some time can't reproduce it, others it keeps happening, and others here an there. It's really inconsistent from everything I'm hearing from my players. Some have really tried to break it to keep their stuff. So, that's where I'm at with it right now.

MYK1lpdiebEneOk.jpg GangstaPichu

Yeah, having the same issue here with the plugin. It's not 100% of the time. Some people after some time can't reproduce it, others it keeps happening, and others here an there. It's really inconsistent from everything I'm hearing from my players. Some have really tried to break it to keep their stuff. So, that's where I'm at with it right now.

Have you installed the debug version?

NKXTQs24ExGTuL8.jpg WhiteThunder

Have you installed the debug version?

I do have the debug version now. I haven't heard anything yet though since the install.