Insure-Inv
This is a simple Inventory Insurance Plugin used for players to buy insurance on their inventory, so that they will not lose their items when they die.
Video Tutorial
Dependencies
- Vault by Sleaker - http://dev.bukkit.org/server-mods/vault/
- An economy plugin, such as iConomy - http://dev.bukkit.org/server-mods/iconomy/
Commands
- /insure armor | inventory - Insures the users armor or inventory for the specific amount of money defined in config.
Permissions
- insure.armor
- insure.inventory
Config
Options: Insure-Armor: true Insure-Inventory: true First-Time-Join: Armor-Insured: false Inventory-Insured: false Prices: Armor: 100.00 Inventory: 500.00
You can also configure custom strings in the config.
Data Storage
Player insurance states are saved in insured.yml in plugins/Insure-Inv. However, all Inventory / Armor data is saved in serialized files unser plugins/Insure-Inv/players/PLAYER-NAME/playername.INV and playername.ARM
Source Code
https://github.com/thefiscster510/Insure-Inv/
Download
Known Issues
Doesn't save Enchanted Books (This will be fixed in v0.2)
To Do
- Fix Enchanted Books
- Add SQL Support
Thanks to PoopYou for getting me started with Plugin Coding!
working good in 1.8.8
Insurance-Inv is compatible with craftbukkit 1.6.4?
No /reload for this plugin?
@nateracecar5 When you insure your inventory, It will actually save whatever is in your inventory upon death, Not whatever is in your inventory upon the purchase of insurance.
@NGGPhantom WOAH MAN! Long time no see xD
This is the Plugin I have been looking for, FOREVER! Thank you so much. Oh by the way, its Godlyman9, from Sil mane. I read the name and was, holy crap, is that him? Haha! I have put this on my server now, thanks bro!
I have a question: If you insure your inventory with some armor, then you put that armor on, then die, wouldn't that cause a dupe because you dropped the armor and kept it at the same time. I am just thinking that when you ensured your armor in your inventory, it saved it. Then you put it on, and it would drop the armor? Or does it auto update your inventory every time you mine/drop a block. Just a thought. Also, if it DOES auto update, how laggy would this be? Sorry for all the questions, I am trying to figure out if I want this for my server.
Agree with bobeeb and remdul. Both features would be perfect for my type of server. As I have a PVE Survival, PVP Survival as well as Factions. Also including the 8 different ranks being able to adjust the price possibly for each would be awesome. Still downloading regardless, this plugin has some great potential.
feature request: can you add group based prices for insurance? so an builder pays more like a member...
btw nice plugin
@remdul
I can certainly try to add that feature in the next update :)
Amazing Idea! I'd definitely love to use this, but one thing prevents me from jumping on board. Is there a way to disable insurance claims on PvP deaths? If I can only allow PvE death-oriented insurance claims to be filed, this would be an amazing addition to my server. However, I would like to prevent those who PvP from using it, as the "loot" from their killed enemies is considered rewards for victory, regardless if it's ensured or not. Thank you for your consideration!
@predawnia
Yes :)
Is it safe from item duplication?