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

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

  1. Offline

    Afforess

    Backpack
    Because One is never enough!
    Preface:
    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:
    FAQ:​
    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.
    Dependencies:
    Commands:
    • /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:
    (Permissions is optional, but will be used if installed)​
    • backpack.toggle
      • Allows the use of the /backpack command
    • backpack.open
      • 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
    Changelog:
    • 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

    Gilbertamie

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

    DarthNomad

    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

    cidiantoby

    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

    Afforess

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

    Gauntlet

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

    Afforess

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

    Gnatz

    This is in my server log, when having Backpack.jar v2.2.0 enabled:
    Code:
    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(EntityPlayer.java:87)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:101)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    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

    Afforess

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

    Gnatz

    Working perfectly here - thank you!
     
  12. Offline

    Gauntlet

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

    DarthNomad

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

    treymok

    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

    killraven

    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:
    BackPack
    mcMMO
    MineCart Mania Admin Controls
    MineCart Mania Automations
    MineCart Mania Chest Control
    MineCart Mania Core
    MineCart Mania Sign Commands
    MineCart Mania Station
    MyHome
    No Civil Spawns
    Permissions 3
    PorteCoulissante
    Retractable Bridge
    SimpleSave
    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-->
    <Configuration>
    <Players>
    <!--Users not explicitly added to this list use the default settings-->
    <Player>
    <Name>default</Name>
    <InventoryPages>9</InventoryPages>
    <!--Whether the action bar should save between inventory pages-->
    <SaveActionBar>False</SaveActionBar>
    </Player>
    <!--Users not explicitly added to this list use the default settings-->
    <Player>
    <Name>MyPlayerID</Name>
    <InventoryPages>9</InventoryPages>
    <!--Whether the action bar should save between inventory pages-->
    <SaveActionBar>False</SaveActionBar>
    </Player>
    </Players>
    </Configuration>
    <!--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

    mrgreaper

    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

    dupsmckracken

    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

    mrgreaper

    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

    dupsmckracken

    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

    Afforess

    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

    Dadadada

    <saveActionBar>true</saveActionBar>
    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

    THEK

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

    DarthNomad

    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

    Stephen92

    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

    xglsuperbounce

    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

    DaddyCool64

    Same error with the empty inventory. No consol error.

    Does it work with CB1000 ??
     
  31. Offline

    wassilij

    I love this plugin!

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

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


    Code:
    2011-07-19 18:48:24 [SEVERE] java.lang.NullPointerException
    2011-07-19 18:48:24 [SEVERE]     at com.afforess.backpack.DataManager.getSaveDirectory(DataManager.java:47)
    2011-07-19 18:48:24 [SEVERE]     at com.afforess.backpack.DataManager.saveContents(DataManager.java:11)
    2011-07-19 18:48:24 [SEVERE]     at com.afforess.backpack.BackpackInventory.a(BackpackInventory.java:27)
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.EntityHuman.b(EntityHuman.java:358)
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.Entity.d(Entity.java:912)
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.WorldData.a(WorldData.java:84)
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.PlayerNBTManager.a(PlayerNBTManager.java:116)
    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(World.java:216)
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.World.save(World.java:205)
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.World.doTick(World.java:1718)
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-07-19 18:48:24 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-19 18:48:24 [SEVERE] Unexpected exception
    java.lang.NullPointerException
        at com.afforess.backpack.DataManager.getSaveDirectory(DataManager.java:47)
        at com.afforess.backpack.DataManager.saveContents(DataManager.java:11)
        at com.afforess.backpack.BackpackInventory.a(BackpackInventory.java:27)
        at net.minecraft.server.EntityHuman.b(EntityHuman.java:358)
        at net.minecraft.server.Entity.d(Entity.java:912)
        at net.minecraft.server.WorldData.a(WorldData.java:84)
        at net.minecraft.server.PlayerNBTManager.a(PlayerNBTManager.java:116)
        at net.minecraft.server.ServerNBTManager.a(SourceFile:37)
        at net.minecraft.server.World.w(World.java:216)
        at net.minecraft.server.World.save(World.java:205)
        at net.minecraft.server.World.doTick(World.java:1718)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     

Share This Page