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 10, 2014@dragonslayermcmx
same here, It shows as red when I type "/plugins"
-
View User Profile
-
Send Message
Posted Mar 9, 2014Can't get the plugin to run, not sure if its because its a 1.7.4 server or something else, tried everything, no errors, but it wont run :/
-
View User Profile
-
Send Message
Posted Mar 3, 2014I have permissions like that:
Why for player _Tyzun_ is working idc.group.vip, but isnt working idc.group.premium. I dont want to make for all groups their own perms without inheritance as I have a very long list of permissions, it is uncomfortable. What me to do?
-
View User Profile
-
Send Message
Posted Feb 27, 2014@CommodoreAlpha
No problem!
-
View User Profile
-
Send Message
Posted Feb 27, 2014@Staartvin
Ah, thank you! It doesn't fit all my needs at the moment, but it's pretty simplistic, and I could either play with the code myself or ask the developer to add a percentage loss feature.
-
View User Profile
-
Send Message
Posted Feb 27, 2014@CommodoreAlpha
I saw this, but I'm not sure if it fits your needs.
http://dev.bukkit.org/bukkit-plugins/xpguardian/
-
View User Profile
-
Send Message
Posted Feb 26, 2014@Staartvin
Sad to see the exp feature go, but that's alright.
I'm just curious, do you happen to know of a similar plugin that lets you control xp loss (and doesn't offer a million other features not related to that)?
-
View User Profile
-
Send Message
Posted Feb 22, 2014@TeamCraftMC
Yes, it's sad but I recognise that Essentials is essential ;)
-
View User Profile
-
Send Message
Posted Feb 21, 2014I've had to disable the EXP feature due to the Essentials' compatibility problem. Essentials is just...essential :P
@Staartvin , If you decide to remove the EXP feature and compile the project against CB 1.7.2 it will be really great, even losing the EXP capabilities.
Under any circumstance, this was, is and will be a great plugin.
Kind regards.
-
View User Profile
-
Send Message
Posted Feb 12, 2014@Ducky_333
Yes, it is known bug. Essentials overrides the experience set when a player dies and I've tried to override Essentials again, but to no avail. I think I'm gonna remove the experience system as it is far too buggy and Essentials keeps messing with it.
-
View User Profile
-
Send Message
Posted Feb 12, 2014Using this plugin on my server now and everything appears to be fine, bar one feature, even alongside Essentials. No reports of duplicated items or anything, but there were a lot of reports of exp issues when i had that feature enabled. Players could die with 8 levels, and randomly spawn with upwards of 40, and then go pick up the levels dropped as well.
-
View User Profile
-
Send Message
Posted Jan 27, 2014@MystTheReaper
Yes, you could use a test server. I'll try to fix the problem, Essentials is a big part of a lot of servers, so I know you can't just remove it.
-
View User Profile
-
Send Message
Posted Jan 27, 2014@Staartvin
I do have Essentials. I'm sorry, but I can't disable Essentials to test, most of my commands and features on my server run off Essentials, and players are on usually 24/7. I can try to add Essentials and IDC to a test server and do that.
I hope that you can fix the issue with Essentials soon, as Essentials is used on almost every bukkit server in existence.
-
View User Profile
-
Send Message
Posted Jan 27, 2014@Ducky_333
You can try to use it on a test server first. I hope I can get a fix out soon.
-
View User Profile
-
Send Message
Posted Jan 27, 2014I have essentials on my server and I'm looking to add this. I take it i should wait for an update before I risk it? Or are the issues only happening to certain people,and it may be fine?
-
View User Profile
-
Send Message
Posted Jan 26, 2014@MystTheReaper
Do you have Essentials running? If so, what happens if you disable it temporarily?
-
View User Profile
-
Send Message
Posted Jan 26, 2014So, I my config set up as the following: http://pastebin.com/MaZe90tC, and I gave a permission group "idc.group.donordrop", and yet they still drop all their items on death, none get deleted, the message shows up saying they kept 0% of items, and 0% were deleted. No error in console, either at startup, or at death.
I'm running version 1.5.1, with Spigot build 1211, version 1.7.2(4) of MC
-
View User Profile
-
Send Message
Posted Jan 26, 2014@tibbpow
I have been trying. I will contact the Essentials build team and see if they can help me any further.
-
View User Profile
-
Send Message
Posted Jan 25, 2014@Staartvin
Could you do it though? Considering that pretty much all servers use essentials, without the compatibility between essentials and this plugin, your plugin is pretty much dead.
-
View User Profile
-
Send Message
Posted Jan 13, 2014@Welite
The item duplication is happening due to Essentials. It is very hard to fix.