SmartInvs - Advanced Inventory API 1.2.7

Advanced Inventory API for your Minecraft Bukkit plugins.

  1. MinusKube
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    Source Code:
    https://github.com/MinusKube/SmartInvs
    [​IMG]
    SmartInvs is an advanced Inventory API for your Minecraft Bukkit plugins.


    [​IMG]

    • Inventories of any type (workbench, chest, furnace, ...)
    • Customizable size when possible (chest, ...)
    • Custom titles
    • Allows to prevent the player from closing its inventory
    • Custom listeners for the event related to the inventory
    • Iterator for inventory slots
    • Page system
    • Util methods to fill an inventory's row/column/borders/...
    • Actions when player clicks on an item
    • Update methods to edit the content of the inventory every tick


    [​IMG]

    The source code of this API is available here!



    [​IMG]

    Click here to read the docs on Gitbooks



    [​IMG]

    To use the SmartInvs API, either:
    • Put it in the plugins folder of your server, add it to your dependencies in your plugin.yml (e.g. depend: [SmartInvs]) and add it to the dependencies in your IDE.
    • Put it inside your plugin jar, initialize an InventoryManager in your plugin (don't forget to call the init() method), and add a .manager(invManager) to your SmartInventory Builders.

    You can download the latest version on the Releases page on Github.
    It is also recommended to use a build system:

    Gradle
    Code (Text):
    repositories {
        mavenCentral()
    }

    dependencies {
        compile 'fr.minuskube.inv:smart-invs:1.2.7'
    }

    Maven
    Code (Text):
    <dependency>
      <groupId>fr.minuskube.inv</groupId>
      <artifactId>smart-invs</artifactId>
      <version>1.2.7</version>
    </dependency>


    [​IMG]

    If you have a problem with the API, or you want to request a feature, make an issue here.
    wysohn, Michey, ANDREI923 and 7 others like this.

Recent Reviews

  1. hackerG7
    hackerG7
    5/5,
    Version: 1.2.7
    Excellent resource!! Very generous developer who shared this code with everyone.
  2. _Explosive_Mine_
    _Explosive_Mine_
    5/5,
    Version: 1.2.7
    This is amazing, I've been searching for something like this for a long time. It helps me a lot and it makes making gui much easier.
  3. ColeRiggle
    ColeRiggle
    5/5,
    Version: 1.2.7
    Excellent resource for anything GUI related with detailed documentation and examples.
  4. wysohn
    wysohn
    5/5,
    Version: 1.2.7
    I've been looking for a consistent, light, readable, and reliable API to deal with all those tedious GUI works, and this is exactly what I was looking for. Thank you for making this resource.
  5. apik007
    apik007
    5/5,
    Version: 1.2.7
    Wow, I had been looking for nice and easy to use InventoryAPI... But I found this and I will never use anything else! Amazing work! No bugs, no problems and nice click events.
  6. MCMDEC
    MCMDEC
    5/5,
    Version: 1.2.7
    I know some people who always complain about me using APIs i haven't written myself, but with this InventoryAPI i honestly don't care. I have my own InventoryAPI but i still prefer this one over my own as it's just so stable and nice to use. I have been using it for over a year now. Excellent Resource
  7. 6IU
    6IU
    5/5,
    Version: 1.2.7
    Works amazingly.
    I've been using it as a plugin API for the plugin I'm working on, and I was wondering how to register it as a manager so I can compile the API with my plugin. I understand you need to use .manager(InventoryManager ...) but I'm not sure what to call there. Could you please assist me here, I'd rather not have to have my users install 2 files.
    1. MinusKube
      Author's Response
      Thank you, you have to create an InventoryManager in your plugin, init it, and make sure it's accessible for the inventory, for example (in your main class):

      private InventoryManager invManager;

      @Override
      public void onEnable() {
      this.invManager = new InventoryManager(this);
      this.invManager.init();
      }

      public InventoryManager getInvManager() {
      return invManager;
      }
  8. lordxarus
    lordxarus
    5/5,
    Version: 1.2.7
    Amazing API. I use it in all my plugins, it lets me worry about the stuff that matters to me and it's easy and powerful to use.
  9. eXpresS
    eXpresS
    5/5,
    Version: 1.2.7
    Best API, documentation ever I seen for Inventories.
    Continue developing please :-)
  10. Valentina_pro
    Valentina_pro
    5/5,
    Version: 1.2.7
    Most useful inventory api I could find. Using this on all my inventory plugins from now on.
    1. MinusKube
      Author's Response
      Thank you very much :D