dropmanager

last built 2 months ago
Build #11
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Community Plugin
This plugin does not compile with the latest version of RocketMod.
Contact the author and kindly ask him to update this plugin or consider fixing it on GitHub.

The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

DropManager

This plugin makes death of naked players helpful to other players: you can add tomatos, cola, money and other items to players drop.

Or you can use it for fun: just let players drop only “meat” after their death.

 

Example: i.imgur.com/ccxjPnY.jpg

Example: i.imgur.com/iRTQZRN.jpg

Example of config: i.imgur.com/GLqqj4C.png

 

See Unturned items id list here: steamcommunity.com/sharedfiles/filedetails/?id=384578439

 

Features:

  • Clean player inventory before death (default: off). Read FAQ below to find out, how to set it on.
  • Set in percentage amount of items, which will be dropped from player. For example: if set value “LeftOtherDrop” to 50%, it will remove half of player inventory before death
  • Add unlimited amount of items to drop
  • Configure minimum and maximum amount of drop for each item (it will choose random amount between min and max)
  • Configured blacklist for prevent to drop some items
  • Players inventory and clothing, who has permission “dropmanager.alwaysclear”, will be fully cleaned before death.
  • Admins always drops no loot, because they have all plugins permissions. Need to fix this.

 

Permissions:

  • dropmanager.alwaysclear – players with this permission will not drop their loot (their inventory will be fully cleaned before death)

 

FAQ:

  • How to prevent all players to drop loot (clean their inventory before death)?
    • Set in config: <LeftOtherDrop>0%</LeftOtherDrop>
    • Or add “dropmanager.alwaysclear” permission to default players group
  • Do admins automaticly have “dropmanager.alwaysclear” permission?
    • Yes
  • What does “ShowWarnings = true” show?
    • It will show most of common errors, if they appear. If you got warning, and cant fix it, write me, and until i will fix it, you can disable this warnings for prevent flood in your server colsole.

 

ToDo:

  • Add command “/loot”, which can give your loot back, if you had dead.
  • Convert items to money before death
  • Fix that admins have all permissions, so they have “dropmanager.alwaysclear”
  • Fix abusing of suicide for getting items. Maybe to set radnom delay in seconds or remember name of last killer.
  • add drop by groups

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<DropManagerConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ShowWarnings>true</ShowWarnings>
  <LeftOtherDrop>100%</LeftOtherDrop>
  <Items>
    <Item>
      <name>Venison Raw meat</name>
      <id>514</id>
      <min>1</min>
      <max>2</max>
    </Item>
    <Item>
      <name>Tomato</name>
      <id>340</id>
      <min>0</min>
      <max>1</max>
    </Item>
    <Item>
      <name>5 dollars</name>
      <id>1051</id>
      <min>1</min>
      <max>1</max>
    </Item>
  </Items>
  <BlackListIds>47132, 58950, 41829</BlackListIds>
</DropManagerConfiguration>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />

Commands and permissions


Git changelog


773007e1ece0777 2019-05-23 11:13:50

Fixed.

    5a0f31eb6d0b4a5 2016-11-06 07:26:50

    Updated ro 1.3.3

    • 1. Admins wil drop loot as normal players, by default
    • 2. New items will be added to everyone loot (if enabled in config)

    ca6eaf1600cd26b 2016-11-06 07:17:16

    Updated to 1.3.2

    • Updated to latest Rocket/unturned

    ce94b8aa2c5c43a 2016-02-08 08:05:54

    Updated to rocket 4.9.0.0

      931980d01bf824b 2015-11-25 16:55:21

      Set in percentage amount of items, which will be dropped from player

        32b639fcdab07a7 2015-11-21 19:24:55

        Added permission for prevent drop by admins

          90008d085be86dd 2015-11-21 18:57:56

          Add 5 dollar to config drop

            2a22d76343c3cd3 2015-11-21 18:53:45

            Improved code and stability

              ead02a28da4e08c 2015-11-21 15:36:37

              Added blacklist for clothes

                753a54cfba95c05 2015-11-21 15:23:00

                Unload bug fixed

                  3eeb3ddf4c8809d 2015-11-21 15:20:41

                  Added blacklist feature

                    aea73bbd7f055db 2015-11-16 12:58:26

                    Update Assembly

                      8cef9a8c5b29b32 2015-11-16 12:54:08

                      Improved perfomance

                        b6c207f5c71a4c4 2015-11-14 10:31:19

                        First upload