SaveInventory 1.1

Save and load your inventory in-game.

  1. Vextricity
    [​IMG]

    Introduction
    SaveInventory
    is a simple plugin that allows the ability for players to save and load their inventories in-game. I made this plugin after seeing tons of requests for a simple plugin like this.

    Features
    - Saves Inventories, Armor, and Potion Effects.
    - Ability to automatically save your kit upon death.

    Commands
    /inventory (save/load) - Saves / loads your inventory.

    Permissions
    inventory.save - Gives players access to /inventory.
    inventory.save.death - Players with this permission will have their inventory automatically saved upon death.
    If you're op / have * permissions and you don't want to have your inventory saved upon death, give yourself the -permission (-inventory.save.death)

    Config
    Click here to view the config.

    API
    You can add this plugin into your java build path for your own development.
    Usage:
    - Add the plugin to your plugins folder.
    - In Eclipse, or whatever program you use to code in, add the plugin to your java build path.
    - Inside of the class you would like to use the API in, do the following:
    Code (Java):
    SaveInventory si = new SaveInventory();
    - Finally, save / load the player's inventory (the saveInventory method throws an IOException, so make sure to surround it in a try/catch):
    Code (Java):
    si.saveInventory(player);
    or
    Code (Java):
    si.loadInventory(player);
    If you would like to remove the commands from the plugin, you can do so in the plugin.yml.

    If you have any issues with the API, please let me know! :)

    Bugs
    As of now, there are no bugs noted in the plugin. If you find one, please be sure to report it.

Recent Reviews

  1. Alry_FireBlade
    Alry_FireBlade
    3/5,
    Version: 1.1
    You all can read what the Plugin is meant to do, so I only say, why I removed 2 Stars.

    - No Possibility to save XP too
    - Overwrites a saved Inventory upon Death
    - Seems not possible to only use it as KeepInventory (You must give Players permission for saving manually)

    It would be nice if you would add the Possibility to save XP too and maybe saving Multiple Inventories to avoid overwrite stored ones.

    Usually I would write in Discussion first but because the last Update was more than 3 years ago, I think that isn't needed.
  2. xXkguyXx
    xXkguyXx
    5/5,
    Version: 1.1
    I... Love you... I will try the api in the morning
  3. xXkguyXx
    xXkguyXx
    5/5,
    Version: 1.0.2
    Love it. Could you add a api for developers? I want to hook this plugin into my plugin staff mode. Thanks!
    1. Vextricity
      Author's Response
      Updated! Let me know if you're having any issues.
  4. Elijah
    Elijah
    5/5,
    Version: 1.0.2
    Could you add multiple saving inventories? LIke /inv save <#>? and when I type /inv save it saves to #1 by default : )
    1. Vextricity
      Author's Response
      Coming soon! :)
  5. Roissica
    Roissica
    5/5,
    Version: 1.0.2
    I try it, it's good but can you add for put in command block?
  6. Savetheslimes
    Savetheslimes
    5/5,
    Version: 1.0.2
    Works as said in description
  7. FloThePony
    FloThePony
    5/5,
    Version: 1.0.2
    yey bb ty
  8. Savetheslimes
    Savetheslimes
    3/5,
    Version: 1.0.1
    Once you save the inventory, it disappears once it's loaded and you die you can't load it again
  9. Savetheslimes
    Savetheslimes
    1/5,
    Version: 1.0
    1. Vextricity
      Author's Response
      Could you give me the error log in console? It could be your version.