Multiple Inventories [Skript] v.1.1

Save and Recall Inventories with a few simple commands!

  1. CaptainJohn
    [​IMG]
    Have you ever (in a busy Owners, Developers or Admins life) had to dash off to help another player while testing plugins, or building structures and just wanted to save your inventory so when you return to what you were doing you have your original inventory. Or have you ever wanted to have an inventory ready for every occasion, instead of having to spawn items in or use a kit as a temporary storage space, and have that inventory, just one command away? Then this Skript is for you.

    This Skript allows you to save your inventories contents under a name then return to them with a simple command. It is currently intended for Admins and other users who regularly use the same items to complete their daily tasks and want to save those items in an easy to access command.

    Commands:
    Note: These are available in game by executing /inv help in game.

    - /SetInv <name> - Saves you current inventory under the specified name.
    - /inv - Displays all your recallable inventories.
    - /inv <name> - Recalls the inventory under the specified name.
    - /inv help - Displays the help prompt for the plugin.
    - /delinv <name> - Deletes the specified inventory.
    - /delinv all - Deletes all of your player inventories.

    Permissions:

    - inv.*
    - All permissions.
    - inv.save - Save your current inventory.
    - inv.recall - Recall a saved inventory and set it as your current inventory.
    - inv.delete - Delete a single, or all your saved inventories.

    Configuration:
    Note: Edits here will require a Skript reload /skript reload MulitpleInventories or Restart to take effect. These are available under the 'options:' section of the Skript.
    Code (Text):

        # The Version of this skript
        # No need to change this, it is just used so I can easily make updates to the Skript without locating Version Information
        version: &2v1.0

        # The Prefix before all messages
        # Change this to sometime specific to your server for some true customisation, for instance, for my server, I use "&6ArcaneInventories &8ยป".
        prefix: &7[&3MultiInventories&7]

        # The colour code used for all messages
        # This is the colour (or color) code used for all the messages displayed to the player.
        colorcode: &c

        # The colour used to highlight and show titles etc.
        # This is the colour code used to highlight certain parts of the text. For instance, the information part of /inv help.
        highlightcolor: &6

        # The permission message use if the user lacks the permission
        permisionmessage: {@prefix} {@colorcode}You are not allowed to do that.
    Requirements:
    - Skript Plugin. (Bukkit Page) (Download) (Documentation)
    Skript is a powerful plugin that allows you to quickly create and distribute 'java like' plugins that by default come with the ability to be easily Changed and Added, without the need for a restart or reload. Skript itself is an English like language with a large support community behind it.

    Installation:
    - Install Skript and Restart. Installation instructions for skript are available here.
    - Navigate to "<Your minecraft servers base directory>/plugins/Skript/skripts"
    - Place "MulitpleInventories.sk" inside that directory.
    - Edit "MulitpleInventories.sk" with your preferred configuration.
    - Execute "/Skript reload MulitpleInventories" in game

    ToDo:
    - Bug fixes
    - Some less ugly menus
    - Fix always saying "Inventory has been changed to OP" even when it has not been changed.
    - Add the abbility for users with permissions to 'invsee' others saved inventories.
    - Leave your suggestions in discussion.

    Servers using this plugin:
    - Play.mcarcane.net - Arcane Factions Server. (Website)
    Comment Below if you are using this on your server and I will add you here. :p

    Please post Bugs or issues in discussion or PM me so I can get to them as fast as possible. If you can make contrubutions to the code please PM me any changes so I can get them added in future releases.
    Kopsukka likes this.

Recent Updates

  1. Fixed code showing false positives.

Recent Reviews

  1. hadzardoes
    hadzardoes
    5/5,
    Version: v.1.1
    nice code but i try to make it cannot dupelicateable but i cant, can u make that ?? if player /inv <text> and drop the item and they can use it again to gain more, i suggest to make it 1x use then clear they saved inventory
  2. Elektroniker
    Elektroniker
    5/5,
    Version: v.1.1
    ----------------------------------------------------------------------
    Cooooolll
    ----------------------------------------------------------------------
  3. Bolean
    Bolean
    5/5,
    Version: v.1.1
    Seriously awesome and nice but please add more features and also add more command and perms . .
    1. CaptainJohn
      Author's Response
      Thanks, I am definitely looking into adding more features so stay tuned.