SelectiveDeathDrops

Allows discerning server administrators to change the way items drop on player deaths.

What does it do?

SelectiveDeathDrops, put simply, allows server administrators to configure a whitelist of items that are able to drop and items that will persist through player respawns. This is especially handy if running with a mini-game plugin which doesn't want item drops.

Configuration

The configuration is simple and consists of only two permission values: 'always_drop' and 'always_keep'. These both take item ID's which can be found here. Items that are not in always_drop will not drop on a players death and items in always_keep will persist in the players inventory (the player will respawn with them). Items that are in both lists will be duplicated. Warnings are sent to console on each duplicate to alert you in-case you did this accidentally. A default configuration can be found here. Nag me on IRC if you need it to be updated.

Example

# Items that will ALWAYS DROP when a player dies (whitelist: items not on this list will NOT drop)
always_drop:
  - 1
  - 2
# Items that will persist in the players inventory when they die (they are re-added to their inventory upon respawn)
always_keep:
  - 267
  - 268

Help & Miscellaneous

As always, source code can be found here and tickets can be sent here. Help can be found by clicking here. Ensure you stick around after asking your question as not all users are able to answer 24/7. If you want to be cool, you can idle in #SoaringCats on irc.esper.net

Stay classy!

About This Project

  • Project ID
    45529
  • Created
    Oct 4, 2012
  • Last Released File
    Oct 4, 2012
  • Total Downloads
    1,247
  • License

Categories

Members

Recent Files