[GEN] InventorySort v2.0.2 - Sorts your inventory or a chest. [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Wolfwood, Feb 18, 2011.

  1. Offline

    Wolfwood

    Maxwolf Goodliffe and ssechaud like this.
  2. Offline

    gameswereus

    does this work with the latest build 953?
     
  3. Offline

    Shinfo

    Is there a way to auto-sort inv/chests?
     
  4. Offline

    wassilij

    Bukkit 1000, Bukkit Contrib 0.17, Permissions 3.1.5, newest InventorySort Plugin:

    Code:
    2011-07-21 11:17:06 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sort' in plugin InventorySort v1.9.2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        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)
    Caused by: java.lang.NullPointerException
        at Wolfwood.InventorySort.workers.Sort.sortItemStack(Sort.java:29)
        at Wolfwood.InventorySort.commands.SortCommand.perform(SortCommand.java:128)
        at Wolfwood.InventorySort.InventorySort.onCommand(InventorySort.java:124)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    Config:

    Code:
    Stack:
        Default:
            Enabled: true
        Toggle:
            Enabled: true
        Tools:
            Enabled: true
        Armor:
            Enabled: true
    Chest:
        Wand: 280
    NoPermissions:
        OPOnly:
            C_All: false
            C_Top: false
            C_Range: false
            C_Chest: false
            C_Reload: true
            C_Stack: false
            Wand: false
    Users:
        demonspork:
            Stack: true
    Debug:
        Messages:
            Enabled: false
    
     
  5. Offline

    bobsayshello

    Whenever I /reload the server, I get internal errors whenever I attempt to use a sort command afterwards. /sort reload doesn't help, but the problem goes away when I completely reboot the server.

    running CB#1000, Permissions 2.7.4, InvSort 1.9.2

    Code:
    2011-07-25 18:35:52 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sort' in plugin InventorySort v1.9.2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        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)
    Caused by: java.lang.NullPointerException
        at Wolfwood.InventorySort.workers.Sort.sortItemStack(Sort.java:29)
        at Wolfwood.InventorySort.commands.SortCommand.perform(SortCommand.java:128)
        at Wolfwood.InventorySort.InventorySort.onCommand(InventorySort.java:124)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    Code:
    Stack:
        Default:
            Enabled: true
        Toggle:
            Enabled: true
        Tools:
            Enabled: true
        Armor:
            Enabled: true
    Chest:
        Wand: 280
    NoPermissions:
        OPOnly:
            C_All: false
            C_Top: false
            C_Range: false
            C_Chest: false
            C_Reload: true
            C_Stack: false
            Wand: false
    Users:
        bobsayshello:
            Stack: true
    Debug:
        Messages:
            Enabled: false
     
  6. Offline

    snouz

    For what I experienced, /reload messes with everything. I never use it anymore.
     
  7. Offline

    gameswereus

    Is there any change you would be able to make a GUI using Spout? I'd like this very, very much :p
     
  8. Offline

    Gabriel333

    If you want Spout features, you can use SortInventory instead. It has Spout Hotkey feature, and works on Playerinventory, ChestInventory, Doublechestinventory and I have even made integration to SpoutBackPack.
     
  9. Offline

    Snipe76

    not working without permissions...
    it always says that i have no permissions and i am an OP!
     
  10. Offline

    sddddgjd

    Get permissions?
     
  11. Same for me, and for an 8 slot server i am not going to setup a permisson plugin, its just me and some of my friends, we trust each other... so maybe you could make it use the OP setting also ?
     
  12. Offline

    Wolfwood

    I know what the problem is I'll fix it. sorry

    I've updated the plugin.yml's permissions to default to OP that should fix it.
    I just added my project to dev.bukkit.com so grab the jar here.

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

    moonjokes

    Hi, nice plugin.

    Request:
    I'd like the ability to blacklist items from the sorting. For instance tools and weapons and armor.
    Thanks.
     
  14. Hi there, Default to OP has Worked but now every time when i execute one of the /sort commands i get the message: "an internal error occured while attemting to perform this command"

    and my server shows the following:
    Code:
    2011-08-28 16:33:39 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sort' in plugin InventorySort v2.0.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at Wolfwood.InventorySort.workers.Sort.sortItemStack(Sort.java:29)
        at Wolfwood.InventorySort.commands.SortCommand.perform(SortCommand.java:128)
        at Wolfwood.InventorySort.InventorySort.onCommand(InventorySort.java:123)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    Greetz MT
     
  15. Offline

    Wolfwood

    Looking in to it as I post

    Do you mean individual items because it can already be configured not to stack armor and tools.

    Did you by any chance had reloaded the plugins?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 9, 2016
  16. Yes i did several times
     
  17. Offline

    Wolfwood

    Ok, I know what's up I'll get a fix out in a little.

    Fixed in the 2.0.2 update. Jar is at the top and if you have anymore issues please go to http://dev.bukkit.org/server-mods/inventory-sort/ and submit a ticket, thanks.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 9, 2016
  18. now works perfectly, thx ;)
     
  19. Offline

    diannetea

    Could this please be fixed soon:

    Code:
    
    2011-10-27 02:09:09 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'srtc' in plugin InventorySort v2.1.0
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
    	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    	at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.StackOverflowError
    	at org.bukkit.configuration.MemorySection.createPath(MemorySection.java:637)
    	at org.bukkit.configuration.MemorySection.createPath(MemorySection.java:622)
    	at org.bukkit.configuration.MemorySection.getDefault(MemorySection.java:566)
    	at org.bukkit.configuration.MemorySection.get(MemorySection.java:204)
    	at org.bukkit.configuration.MemorySection.getDefault(MemorySection.java:566)
    	at org.bukkit.configuration.MemorySection.get(MemorySection.java:204)
    
     
  20. Offline

    Wolfwood

    What version of Bukkit are you using(/ver)?

    Also a link to a screenshot of the contents of the chest would be nice too. Imgur works. So I can try to replicate.

    Also can you PM your InventorySort config.yml file
     
  21. Offline

    diannetea

    1337.

    It happens randomly with different chests with all sorts of contents. If I /reload it might fix it for me, but then it breaks for someone else.
     

Share This Page