Inactive [MECH] Backpack v2.2.0 (The Ultimate Inventory Expander!) [953]

Discussion in 'Inactive/Unsupported Plugins' started by Afforess, Feb 25, 2011.

  1. Offline


    Because One is never enough!
    Backpack is the ultimate salvation in inventory management. Your standard minecraft inventory has 36 slots in it, just enough to be handy, but terrible for long journeys or mining expeditions to the other side of the map. Backpack nonatuples your existing inventory space. (For those of you not familiar with latin, that's 9x the space).
    How is this massive inventory boost possible? The mouse wheel. (Thanks to Edward Hand for the idea!) Sneaking while Scrolling through each of the quickslots switches you to a new inventory page. This gives you freedom to scroll through NINE different pages. Scrolling without sneaking allows you to scroll through your inventory like normal.

    If you don't quite get it, I've made a short video demonstrating:
    Is there a way to change the number of pages? I only want certain users to have x amount of pages.
    Yes, see the next question down!
    Is there permission or group manager support!
    Nope! There is however a configuration file (aptly named "config.xml") that is created on the first run and allows you to customize the amount of extra inventory pages, and who gets to use them.
    Are your inventories saved between logins and server restarts?
    Yes. Backpack saves the inventories in the same file notch does, in the "player".dat file.
    Updating all those files must be slow/I heard that I/O operations are slow.
    They are. Backpack is multithreaded, so if you have more than 1 core, you won't notice any lag.
    This mod doesn't have anything to do with Minecarts, why the Minecart Mania dependency?
    Minecart Mania offers a useful interface for a lot of things I needed in writing Backpack, and 70% of the code is actually in MM. If you really hate Minecart Mania, you can just install core, and disable all of the features from it's configuration file.
    • /open <page number>
      • Opens a dialog with your current inventory, and the inventory from that page so you can easily swap items between pages. Quick slots are numbered 1-10, with 1 on the leftmost side.
    • /backpack
      • Toggles your backpack on or off.
    (Permissions is optional, but will be used if installed)​
    • backpack.toggle
      • Allows the use of the /backpack command
      • Allows the use of the /open command
    • backpack.saveactionbar
      • Saves the action bar in-between pages
    • backpack.maxpages.# (where # is a number 1-9 [e.g backpack.maxpages.6])
      • The maximum pages allowed for the players
    • Version 0.10
      • Initial Release!
    • Version 0.11
      • Swapped the role of sneaking around
    • Version 0.12
      • Player death is handled correctly
      • When your current inventory page is full, nearby items on the ground will be added to empty slots in other inventory pages.
    • Version 0.13
      • Added a first time login message. Only is triggered once for each player.
    • Version 0.14
      • Added customizable amount of inventory players, through XML.
    • Version 0.15-0.20
      • Bug Fixes
    • Version 0.21
      • Added /open command
    • Version 0.23
      • Reduced I/O operations from being continuous to once per minute
      • Fixed a bug which could cause player inventory pages to be lost if the server shut down in such a way that MM unloaded before the I/O operations finished.
    • Version 1.0
      • Fixed lag caused by I/O operations
      • Player Data now saves correctly, and will not become corrupt during server shutdowns
      • Improved Error Handling
      • Improved Console Log of Information for admins
    • Version 1.0a-1.0g
      • Bug fixes
    • Version 1.1
      • More robust inventory backups
      • /backpack command
    • Version 2.0
      • Supports MC 1.4
      • Action bar no longer switches with new inventory pages
      • Backpack saves with rest of inventory in player.dat file
      • Other plugins can access and correctly see a player's larger inventory w/o being Backpack Aware
    • Version 2.0.1
      • Backpack's work correctly after death
    • Version 2.0.2
      • Small Backpacks work correctly
    • Version 2.0.3
      • Players can choose to save the action bar or have separate action bars via the config
      • Bug fixes
    • Version 2.0.4
      • Improved Error Handling
    • Version 2.0.5
      • Fixed /open command crashing clients
    • Version 2.0.6
      • Fixed item duping on death
    • Version 2.0.7
      • Bug Fixes
    • Version 2.0.8
      • Permissions Support
      • Efficiency Changes
      • Bug Fixes
    • Version 2.0.9
      • Updated to MC 1.5
    • Version 2.1.0
      • Minor fixes/Cleanup
    • Version 2.2.0
      • New saving system
      • Lots of cleanup
      • Lots of bug fixes
  2. Offline


    [diamond][diamond][diamond][diamond][diamond] for you <('-'<) <('-')> (>'-')> I didn't want to update my server without this :D
  3. Offline


    Very great Plugin, thx, but I have two problems:
    2.1 seems to work fine with my MC 1.7 Server, now i updated the plugin to 2.2, but I can´t connect and I got an "Internal Server Error". I patched back to 2.1, but all items are lost (maybe cause the new save system?). I deleted the new save folder , but the items are still lost. Maybe somebody has the same problem.
  4. Offline


    I am having this exact same problem... I remove the plug and everything works fine. Put up the OLD plug til is fixed please.
  5. Offline


    I haven't had any login issues. Is there any exception in the console?
  6. Offline


    i can also confirm this internal server error on connection and it doesnt leave anything in the server log for me
  7. Offline


    Any chance I can log into a server that has this error, just to see it?
  8. Offline


    This is in my server log, when having Backpack.jar v2.2.0 enabled:
    2011-07-04 17:19:44 [INFO] Gnatz [/62.167.140.XXX:49646] logged in with entity id 49 at ([GnatzServer] -9.900349850947578, 65.0, 47.09101860583656)
    2011-07-04 17:19:44 [INFO] Disconnecting Gnatz [/62.167.140.XXX:49646]: Internal server error
    2011-07-04 17:19:44 [WARNING] Failed to handle packet: java.lang.IllegalArgumentException: Listener already listening
    java.lang.IllegalArgumentException: Listener already listening
            at net.minecraft.server.Container.a(SourceFile:32)
            at net.minecraft.server.EntityPlayer.syncInventory(
            at net.minecraft.server.NetLoginHandler.b(
            at net.minecraft.server.NetLoginHandler.a(
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(
    2011-07-04 17:19:44 [INFO] Gnatz lost connection: disconnect.endOfStream
    Tried to remove player's *dat file, same result.

    Great plugin whatsoever, looking forward it being working for me again.
  9. Same thing happens for me
  10. Offline


    I've re-uploaded 2.2.0, let me know if it fixes the issues.
    Gauntlet likes this.
  11. Offline


    Working perfectly here - thank you!
  12. Offline


    Working 100% now thanks for the fast fix
  13. Offline


    Yes, works great, thank you very much :D
  14. Offline


    What plugins does this not work with? Does it work with MultiInv?
  15. Offline

    DJ Olditmes

    you should make it so if your press shift and a number instead of the mouse wheel
  16. Offline

    Celtic Minstrel

    That should work fine, actually. Possibly not with the numpad numbers, but with the main keyboard numbers. Did you actually try it before asking?
  17. Offline


    Upgraded to 2.2.0 resulted in everyone losing all of their inventory. Restored from backup, people put everything in chests and then I upgraded again, same thing. No big deal, all inventory was in chests.

    Players are now reporting that when they log out and back in, they lose their armor. Their inventory and quickslots are OK.

    Plugins installed:
    MineCart Mania Admin Controls
    MineCart Mania Automations
    MineCart Mania Chest Control
    MineCart Mania Core
    MineCart Mania Sign Commands
    MineCart Mania Station
    No Civil Spawns
    Permissions 3
    Retractable Bridge
    Wormhole XTreme
    Wormhole XTreme Worlds

    There are no errors being logged to the console or the log.
    Here's my backpack config:
    <?xml version="1.0" encoding="utf-8"?>
    <!--This XML file is created with Multi Plugin Config GUI by JohnKapsis-->
    <!--Date and time created : 5/17/2011 2:33:34 PM-->
    <!--Comments Enabled-->
    <!--Users not explicitly added to this list use the default settings-->
    <!--Whether the action bar should save between inventory pages-->
    <!--Users not explicitly added to this list use the default settings-->
    <!--Whether the action bar should save between inventory pages-->
    <!--This XML file is created with Multi Plugin Config GUI by JohnKapsis-->

    When I remove the backpack plugin, it stops removing peoples armor.
  18. Offline


    we updated to 2.2.0 a couple of days ago and players all had inventory wiped, now some users also complain about there inventory is being wiped and a very trusted user had a wierd bug where page 1 kept being blanked, items in page 2 got suplicated to page 3 4 5 etc and if he threw stuff out from page 2 3 4 etc then changed page the item was back. no errors in log

    another player lost inventory this time when teleporting :( never had this problem before 2.2.0
  19. Offline


    This sounds interesting, though could you make a version of this, where you just cycle through the 4 rows of the inventory that we have?

    Also, how do we go about disabling stuff from minecart mania in it's config file.
  20. Offline


    my players are sure this is the cause (despite us running it perfectly before) and have demanded its removal.
  21. Any chance we could get an item dependent version?

    IE ~ Have to have a chest equipped in your body armor slot?
  22. Offline


    I like this idea.

    I installed this and lost my inventory that I had. I uninstalled minecart mania and backpack, and the inventory is still gone

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 10, 2016
  23. Offline

    DJ Olditmes

    No because i dont know how to code this stuff i only know how to code config files like the permissions
  24. Offline


    Curse you crummy forum software. Sorry guy - I did not get alerts for any of the posts here. I am taking a look at the issues. I'm pretty sure I know the cause of and can easily fix the missing armor issue.
    mrgreaper likes this.
  25. Offline


    whats that for? i think its for the action bar to stay constant or switch with the inv slots but at my server it doesnt matter what i choose for the default setting. the toolbar keeps switching with the choosen inv.
    also the inventory pages aren't keeping their numbers after logout...
  26. Offline


    I just installed this and on it's first enable it wiped everyone's inventories. Is that normal?
  27. Offline


    Yes, a lot of strange inventory bugs and disappearing items on my server, too. And the server seems to be very unstable since we have updated to 2.2.0, we had a lot of crashs and had to restart the server often, after that, many people also lost their inventorys or had different spawnpoints. I don´t know if that depend on your plugin directly, but maybe there are some problems with the new inventory save direction. Would be nice if someone could help, the last bugfix for Backpack was very fast :)
  28. Offline


    Yeah same here, im not sure why though never had this error, the main problem with my server is when a player logs in and out there armor disappears there full armor, weird.
  29. Offline


    Is your plugin backpack working properly? i don't get any errors but whenever i open an inventory page and put stuff in, close it, then when i open it again everything is gone. this happens when backpack is disabled and enabled for me. i am an admin on the server. craftbukkit version 953. when i mine something i pick it up and it doesnt go into my main inventory. i tried opening my 2nd inventory to see if it went into there and it opened and it was back in my main inventory? i dont know if im using it wrong or what
  30. Offline


    Same error with the empty inventory. No consol error.

    Does it work with CB1000 ??
  31. Offline


    I love this plugin!

    I try it with Bukkit 1000 and give then a Feedback :)

    All my users loose their inventory and the plugin dont work with Bukkit 1000

    2011-07-19 18:48:24 [SEVERE] java.lang.NullPointerException
    2011-07-19 18:48:24 [SEVERE]     at com.afforess.backpack.DataManager.getSaveDirectory(
    2011-07-19 18:48:24 [SEVERE]     at com.afforess.backpack.DataManager.saveContents(
    2011-07-19 18:48:24 [SEVERE]     at com.afforess.backpack.BackpackInventory.a(
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.EntityHuman.b(
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.Entity.d(
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.WorldData.a(
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.PlayerNBTManager.a(
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.ServerNBTManager.a(SourceFile:37)
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.World.w(
    2011-07-19 18:48:24 [SEVERE]     at
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.World.doTick(
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.MinecraftServer.h(
    2011-07-19 18:48:24 [SEVERE]     at
    2011-07-19 18:48:24 [SEVERE]     at
    2011-07-19 18:48:24 [SEVERE] Unexpected exception
        at com.afforess.backpack.DataManager.getSaveDirectory(
        at com.afforess.backpack.DataManager.saveContents(
        at com.afforess.backpack.BackpackInventory.a(
        at net.minecraft.server.EntityHuman.b(
        at net.minecraft.server.Entity.d(
        at net.minecraft.server.WorldData.a(
        at net.minecraft.server.PlayerNBTManager.a(
        at net.minecraft.server.ServerNBTManager.a(SourceFile:37)
        at net.minecraft.server.World.w(
        at net.minecraft.server.World.doTick(
        at net.minecraft.server.MinecraftServer.h(

Share This Page