Drop backpack during suicide, exploding oneself, falling and drowningSolved

Good day, in my PVE many people abuse teleports with the "dont drop backpacks", they drop only in raid bases, how do you look at adding a function that will at least somehow prevent to do this?) mb you have your own solution this problem. do always backpacks drop i would leave to the last step.. thanks a lot :)

ps. thanks for button and fix saving, its very beutifull :D

I don't completely understand.

I think I understand the title, which suggests dropping the backpack only when the player is killed by select damage types, but what I'm not understanding is the problem/abuse you are describing. Because I don't yet understand the problem, I'm not sure if your proposed feature is the best solution.

That being said, it would be relatively easy to achieve, but I would recommend it be done in an addon plugin for now. Basically you just need to hook the death event, check the damage type, then call the Backpacks API to drop the backpack, like the Raidable Bases plugin does.

I use NTeleportation with a limited number of TPs, but many players transfer all the necessary items in a backpack and commit suicide, and then stand in the right place for them. Experienced players abuse it, and beginners or those who do not like or do not want to do this for some reason - suffer, because they do not keep up with the abusers in terms of moving around the map. yes, I repeat, I'm not sure if this problem concerns you and your plugin, but for some reason I decided to clarify this directly. sorry for text understanding, google translate :(

Merged post

oh.. i make drop always, thanks, and sorry for waste u time.

Locked automatically