[Abandoned] ItemNoDrop
ItemNoDrop
Prevent players from dropping their loot when they die.
Documentation
Installation
- Download
- Put In Plugin Directory
- Start Server
- Profit
Suggestions
If you have a suggestion or request please leave it down in the comments below.
To Do
- Implement Permissions
- Implement Multi-World Support
Source Version Control
https://github.com/Favorlock/ItemNoDrop
Change Log
Version 0.1.4
Implemented Config Functionality.
Version 0.1.2
Permission Added: nd.keepxp.
Version 0.1.1
Permission Added: nd.keepitems.
Version 0.0.1
Players will not drop items upon death.
@khoi00091
You don't make much sense. Is "keepexp" true or false?
I want to set dealth penalty is drop experience.But when death noting happen equip still in inventory and yeahh that good.but experience still receive.When i check back config.yml.
keepexp:true.
but i already set to "False".I dont know what the problem.Hope can fix this problem Thanks.
@Gahshunk292
Yes, but it also supports XP and provides permissions. It was primarily designed for the purpose of VIP and Donor rank perks. So in all reality this plugin does more than a simple gamerule.
Doesn't this do the same thing as the "/gamerule keepInventory true" command?
New version will be available soon. Simple hotfix to ensure plugin works as intended.
@Favorlock
Alright, Favorlock. Thanks for the information, and good luck with your stuff.
@Senophoe
I'm not working on this project anymore. So yes, it would be troublesome to add it. Too many things to do, too little time.
Favorlock, is it possible to keep only specified items? If not, would it be too troublesome to add it?
@Macore
Fixed. Thanks for pointing that out. If you ever want more experience you should drop by my teamspeak sometime: ts.omnigamersnation.com
Just download the source from github and compile.
Re: ItemNoDrop looks like has a small bug?
I am wanting to write my own Server Mods, so I looked at the Source for your Mod. Looks like there is a small bug shown in bold in the code fragment pasted below:
if (PLUGIN.getXpSetting() == false) { event.getDrops().clear(); } else { if (player.hasPermission("nd.keepitems") || player.isOp()) { ...
Near as I can tell you meant to call your: public boolean getItemSetting() there insted of the one shown above...
Still love your Mod! Thanks again
Thank you, thank you, thank you!
This Mod works perfectly, I love it!
The durn gamerule: keepInventory built in cheat command stopped working for me for some unknown reason I deleted my MC 1.4.6 client (every piece of it I could fine including the hidden minecraft directory) and the server and re-installed both and though it did work at one time no longer works, not even on my Single Player worlds. So this Mod is a blessing!
Thanks for keeping it updated too!
I am wanting to write my own Server Mods, so I looked at the Source for your Mod. Looks like there is a small bug shown in bold in the code fragment pasted below:
if (PLUGIN.getXpSetting() == false)
{
event.getDrops().clear();
}
else
{
if (player.hasPermission("nd.keepitems") || player.isOp())
{
Near as I can tell you meant to call your: public boolean getItemSetting() there insted of the one shown above...
Still love your Mod! Thanks again
Thank you, thank you, thank you!
This Mod works perfectly, I love it!
The durn gamerule: keepInventory built in cheat command stopped working for me for some unknown reason I deleted my MC 1.4.6 client (every piece of it I could fine including the hidden minecraft directory) and the server and re-installed both and though it did work at one time no longer works, not even on my Single Player worlds. So this Mod is a blessing!
Thanks for keeping it updated too!
Update 0.1.5 coming soon.
So what about the Minecraft built-in gamerule keepInventory?
You could improve by offering per-world configuration so only certain worlds are affected.
@Favorlock okay thanks will be great :d
@dutchrastacraft
A new version will be available soon that supports XP as well.
@favorlock, oh sorry man I read the todo list... :) Nice I'll maybe use this one!
@dutchrastacraft
Try reading the Change Log section...
I really want this but it needs permissions..