Insure-Inv

Logo

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

  1. Vault by Sleaker - http://dev.bukkit.org/server-mods/vault/
  2. An economy plugin, such as iConomy - http://dev.bukkit.org/server-mods/iconomy/

Commands

  1. /insure armor | inventory - Insures the users armor or inventory for the specific amount of money defined in config.

Permissions

  1. insure.armor
  2. 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

  1. v0.1 - http://dev.bukkit.org/server-mods/insure-inv/files/1-insure-inv-jar-v0-1/

Known Issues

Doesn't save Enchanted Books (This will be fixed in v0.2)

To Do

  1. Fix Enchanted Books
  2. Add SQL Support

Thanks to PoopYou for getting me started with Plugin Coding!


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files