InventorySave

Inventory Save

What is Inventory saver ?

it's a new way to save your inventory and restore it, in minecraft your inventory can be lost without a real reason like falling in the void because of Server lag! if that happened you can restore your inventory by one simple command! :D

How does it work ?

when you die , it will convert your inventory , Armor and xp level to a string and storage it @ config.yml like this :

Sr4B:
  inv: 36;0#t@3:a@9;1#t@262;2#t@384:a@35;3#t@268;4#t@276:d@9:e@16@2;5#t@295:a@2;
# your LAST inventory, when you dead and you have an inventory here it will remove it and storage the new one.
  lvl: 11
# your Exp level
  location: 3.0388905503598815, 66.10408037809304, 252.68865663410446 @ world
# your death location , X , Y , Z , @ WORLD
  reason: Sr4B died
# death Message , your server admin can read it as a reason :P
  used: true
# is already restored ? 
# default : false
# if it was false , u can restore your inventory or another player inventory again , 'If u have the permission to do that'
# when you or your server admin restored an inventory it will change this value to : true
# and when its true , no one can restore that inventory again! only by changing this value in the config again :D

Commands & Permissions

  • /reinv : this command will clear your inventory and restore the last death items & Armor , 'inventorysave.resetinv'
  • /reinv <player> : this command will clear <player> inventory and restore the last death items & Armor , 'inventorysave.resetinvall'

========

  • 'inventorysave.saveinv' : allow the plugin to save the player inventory when he died.

* * * WARNING * * * you MUST have at least 4 empty spaces in your inventory in order to rsetore your armor! this problem will be fixed in the next update :D

Todo list

1 - configable messages 2 - information command, like /<player> deathlocation :D

Don't forget to leave your comment below :D

* Special thanks to : Phil2812 for the awesome class :D


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    46184
  • Created
    Oct 20, 2012
  • Last Released File
    Never
  • Total Downloads
    7,567
  • License

Categories

Members

Recent Files