Inventory Drop Chance
Inventory Drop Chance
Version: v1.6
(Follow me on Twitter for updates!)
Inventory Drop Chance is a plugin created by Staartvin from a request by DerekZil.
Do you want to your server to be a little more RPG-ish? Are people frustrated by losing items on death?
Well, then Inventory Drop Chance (IDC for short) is something for you! IDC allows admins to set a percentage of retained items on death. The retain percentage is configurable. When a player dies, x% of his/her inventory will be given back. The items that are not given back are dropped on the ground. All items get chosen randomly. This is to prevent players from cheating. You can also specify a delete percentage. IDC will then remove a percentage of the inventory (Those items aren't dropped nor given back). IDC also has custom WorldGuard flags that can be used. These flags are: 'xploss-percentage', 'retain-percentage' and 'delete-percentage'. You can also setup blacklisted or whitelist items. In short, this plugin is super customisable.
Features:
- Can give players x% of their dropped items back.
- Can delete a percentage of their inventory on death.
- Very lightweight
- Extremely simple
- Drop and play
- Permissions
- Multiworld support
- Group based (Example: Give a donor rank 20% loss, but a noob group 100% loss)
- WorldGuard integration (Custom flags 'retain-percentage' and 'delete-percentage')
- Whitelist and blacklists (Some items will always be dropped, some are always kept)
- Automatic version checking
Permissions:
- - idc.group.<groupname> A player with this permission is bound to a group. All percentages are based on a group. If a player hasn't got this permission, it will lose all their xp and items. Just like vanilla Minecraft.
- -idc.keepallitems A player with this permission will retain all of his items when (s)he dies.
- -idc.keepxp A player with this permission will keep all their xp.
- -idc.noticeonupdate A player with this permission will get noticed when a new version of IDC is available.
Commands:
- None yet
Pictures:
Messages shown when a player respawns
Donations
I'm a poor student and I'm developing this plugin in my free-time, if you like my plugin and want to help me, please donate. Donating is the best way to help me out, it goes towards more bug-fixing. Thanks! Donate is in the top right corner. ;)
Donators
Thanks to all the people who donated and downloaded this plugin! I love you all! <3 Especially thanks to my donators who gave me that little boost:
- WayGroovy with 5 dollars
- RsmKaelub with 10 dollars
- deathhzone with 5 dollars
-
View User Profile
-
Send Message
Posted Mar 16, 2013Could you make a customizable list of items that WON'T be dropped. I have a full pvp server, and I want players to not be able to drop just their weapons. Sword/Bow/Staff/Arrows
-
View User Profile
-
Send Message
Posted Mar 6, 2013@MasterMithrandir
Great!
-
View User Profile
-
Send Message
Posted Mar 6, 2013@Staartvin
I see! thank you! I will try using that :)
-
View User Profile
-
Send Message
Posted Mar 6, 2013@MasterMithrandir
Do you use WorldGuard Custom Flags?
-
View User Profile
-
Send Message
Posted Mar 6, 2013xploss-percentage & retain-percentage World Guard flags do not appear on my flag list, any idea why? :C they consequently don't work, I also tried the permission nodes for a specific world and that didn't work either (maybe did it wrong).
-
View User Profile
-
Send Message
Posted Mar 1, 2013@WayGroovy
1.7.0_04
-
View User Profile
-
Send Message
Posted Mar 1, 2013@deathhzone
It depends on your server's operating system, there's not a simple single link for 'newest version'.
windows: http://javatester.org/version.html
Linix: from the command line: java -version
-
View User Profile
-
Send Message
Posted Mar 1, 2013@Staartvin
Idk i can has a link to newest version?
-
View User Profile
-
Send Message
Posted Mar 1, 2013@deathhzone
Hmm, that's odd. It works on my side, what version of Java are you using.
-
View User Profile
-
Send Message
Posted Mar 1, 2013Also, If they have keepallitems perm, they dont keep any equipped armor. Please fix.
-
View User Profile
-
Send Message
Posted Feb 28, 2013@Staartvin
Thanks
-
View User Profile
-
Send Message
Posted Feb 28, 2013@deathhzone
Hmm, remove idc.keepitems and idc.keepxp from the permissions. Have you restarted the server? The permissions plugins requires to be reloaded to have the correct permission.
EDIT: The correct permission is idc.keepallitems.
-
View User Profile
-
Send Message
Posted Feb 28, 2013Doesn't seem to be working, My config: http://pastebin.com/0F5w6nTX
My Permissions: http://pastebin.com/dCHr7yVx
And guards still drop 100% of items, I tried it with ONLY the idc.keepitems and it still didn't work. Help Please.
-
View User Profile
-
Send Message
Posted Feb 20, 2013@TheElm
Great!
-
View User Profile
-
Send Message
Posted Feb 20, 2013I very much enjoy this plugin, good for my pvp server.
-
View User Profile
-
Send Message
Posted Feb 17, 2013@mlopezv
Thanks for telling me, I'll turn your comment into a ticket for more support.
-
View User Profile
-
Send Message
Posted Feb 16, 2013Confirmed. Inventory Drop Chance experience module is bugged.
Way to reproduce this: A character with lvl 30 or more enchants an item, then dies, then all XP can be retrieved (enchant will be kept and initial XP before enchanting too).
-
View User Profile
-
Send Message
Posted Feb 10, 2013I'm having a rare bug and dunno if it's related to this plugin, I'd like some further testings to reproduce it in many environments.
To reproduce the bug: - A character with lvl 30 or more enchants an item, then dies, then all XP can be retrieved (enchant will be kept and initial XP before enchanting too).
Here's my IDC config file:
List of plugins I use:
In the list you can see no other plugins I use modify experience mechanics. Only IDC. Anyways I've sent a BUG report to CraftBukkit staff, it may be related with their API. I'd like to discard this plugin as a cause.
-
View User Profile
-
Send Message
Posted Feb 8, 2013@Staartvin
I am using CombatTag. You are welcome for the clarification.
-
View User Profile
-
Send Message
Posted Feb 8, 2013@iProCombine
Thanks for clearing this out. I though you meant a logger as in a system which logs things. I have never thought about combat loggers and therefore IDC will most likely not work with such loggers. When IDC has encountered an error with a player, it will default to 50%. Those players are not real players, there are copies of players and may therefore not be valid entities. I will try to add support for these loggers. What combat logger plugin are you using?