[INACTIVE] [MECH/DEV] SpoutBackpack v2.3.6_3 - Give your players a Backpack [1317]

Discussion in 'Inactive/Unsupported Plugins' started by NeatMonster, Aug 10, 2011.

  1. Offline

    NeatMonster

    Please now use BukkitInventoryTools which contains SpoutBackpack.
    This thread is now useless, please don't post any longer on it.
    -----------------------​
    You can find the Bukkit Dev' thread HERE.
    Please use it, this thread will no longer be updated.

    ------------------------​
    SpoutBackpack v2.0.1
    Give your players a Backpack w/ Spout.

    Because pictures / video are always better than thousand words:
    [​IMG]
    [​IMG]
    (Unofficial video by IAMWIN but outdated: v1.9.5)​

    Features:
    • Pressing a key to open your backpack ;
    • Economy widget if you want it ;
    • Not just backpack, workbench too ;
    • Drop on death (configurable) ;
    • Permissions and economy plugins support ;
    • Allow your players to expand their Backpack ;
    • Restictions of upgrades & commands ;
    • Multiworld support with different Backpacks ;
    • Hooks into WorldGuard, MobArena and Jail ;
    • Key and name can be customized ;
    • API for developers ;
    • Backpacks are saved on server ;
    • Works even on reload.
    Requirements:
    • Spout and Spoutcraft - Required to launch and use the plugin.
      Tested with RB #1.0.5.227 of Spout and RB #1.0.5.256 of Spoutcraft.
    • (OPTIONAL) Permissions - Required if you want to customize the size or upgrade.
    • (OPTIONAL) PermissionsBukkit - Required if you want to customize the size or upgrade.
    • (OPTIONAL) PermissionsEx - Required if you want to customize the size or upgrade.
    • (OPTIONAL) GroupManager - Required if you want to customize the size or upgrade.
    • (OPTIONAL) iConomy - Required if you want to upgrade.
    • (OPTIONAL) BOSEconomy - Required if you want to upgrade.
    • (OPTIONAL) Essentials Economy - Required if you want to upgrade.
    • (OPTIONAL) MultiCurrency - Required if you want to upgrade.
    • (OPTIONAL) WorldGuard - Not required but compatible.
    • (OPTIONAL) MobArena - Not required but compatible.
    • (OPTIONAL) Jail - Not required but compatible.
    Configuration:
    Code:
    Widget:
        PositionY: 5
        PositionX: 3
        Enabled?: true
    Permissions:
        UseGroupManager?: false
        UsePermissions?: true
        UsePermissionsBukkit?: false
        UsePermissionsEx?: false
    Backpack:
        Name: Backpack
        Key: B
        Price:
            '45': 40.0
            '36': 30.0
            '18': 10.0
            '54': 50.0
            '27': 20.0
        RegionWhereBackpacksAreDisabled:
        - region1
        - region2
        world:
            Administrators:
                UpgradeSize: 54
                Size: 54
            Players:
                UpgradeSize: 27
                Size: 9
            Guests:
                UpgradeSize: 0
                Size: 0
            InventoriesShare?: true
            Moderators:
                UpgradeSize: 45
                Size: 27
            Joueurs:
                UpgradeSize: 36
                Size: 18
    Workbench:
        Enabled?: true
        Key: W
        NeededInInventory?: false
    Saves:
        Log?: false
        Interval(InMinutes): 5
    
    For PermissionsBukkit and PermissionsEx, you need to add permissions backpack.worldname.groupname. You also need to order your groups in the configuration file (eg. Admins, then Mods, then Players and then Guests). I'm sorry of this but those two plugins doesn't have the methods I need.

    Permissions:
    • backpack.workbench : Allow the player to open a virtual workbench.
    • backpack.nodrop : No drop of the items in the Backpack on death.
    • backpack.clear : Allow the player to clear his own Backpack.
    • backpack.clear.other : Allow the player to clear others inventories.
    • backpack.info.other: Allow the player to show info about others.
    • backpack.upgrade.other: Allow the player to upgrade others' Backpack.
    • backpack.open.other : Open other players' Backpack.
    • backpack.reload : Allow the use of the /backpack reload command.
    • NOTE: If you use OP system, size for not-Op players will be 9 and 54 for OP players.
    Commands:
    • /backpack clear (Player) : Clear your / player's inventory.
    • /backpack info (Player): Show information about your / player's Backpack.
    • /backpack open [Player] : Open player's Backpack.
    • /backpack upgrade [Player]: Upgrade your /player's Backpack.
    • /backpack reload : Reload Backpack's configuration.
    • NOTE: /backpack's alias is /bp.
    Downloads:
    Highly recommended:
    Credits:
    • The portage from BukkitContrib to Spout of this plugin was made by kazimir!
    • All credits go to captainawesome7 for his awesome BCBackpack plugin!
    TO-DO:
    • Permissions support ; DONE IN 1.3
    • Configuration of the key ; DONE IN 1.3
    • Multiple chest sizes ; DONE IN 1.4
    • iConomy integration ; DONE IN 1.6
    • MobArena hook ; DONE IN 1.6.1
    • BOSEconomy support ; DONE IN 1.6.2
    • PermissionsBukkit support ; DONE IN 1.6.3
    • Multiworld support ; DONE IN 1.7
    • Separate inventories ; DONE IN 1.7
    • WorldGuard regions support ; DONE IN 1.7.1
    • GroupManager support ; DONE IN 1.7.2
    • Workbench ; DONE IN 1.8
    • Jail support ; DONE IN 1.8.1
    • Add an option to disable workbench ; DONE IN 1.8.2
    • Restriction on Workbench ; DONE IN 1.8.4
    • Support of Essentials economy ; DONE IN 1.8.5
    • Economy widget ; DONE IN 1.9
    • Command to clear Backpack ; DONE IN 1.9
    • Restrictions on upgrades ; DONE IN 1.9
    • API ; DONE IN 1.9
    • Setting for the widget position ; DONE IN 1.9.2
    • Lookup in others' Backpack ; DONE IN 1.9.2
    • Support for PermissionsEx ; DONE IN 2.0
    • Handle deaths without Spout client ; DONE IN 2.0
    • Upgrade other players' Backpack ; DONE IN 2.0
    • Furnaces.
    Notes:
    • If you put something in your Backpack and close Minecraft by clicking the "X" without closing your backpack, all items you put in since opening your Backpack are lost. That's not a bug - It's a feature to prevent duping.
    API:
    You want to hook into SpoutBackpack? Fine, I have what you need.
    1. Import SpoutBackpack.jar as a library in your project ;
    2. Import me.neatmonster.spoutbackpack.SBHandler ;
    3. In your main class, add this object creation :
      Code:
          public SBHandler spoutBackpackHandler;
    4. Somewhere on your onEnable, add this line :
      Code:
              setupSpoutBackpack();
    5. So, this is the setupSpoutBackpack function :
      Code:
          private void setupSpoutBackpack() {
                                                      if (spoutBackpackHandler != null) {
                                                          return;
                                                      }
                                                      Plugin spoutBackpackPlugin = this.getServer().getPluginManager().getPlugin("SpoutBackpack");
                                                      if (spoutBackpackPlugin == null) {
                                                          return;
                                                      }
                                                      spoutBackpackHandler = new SBHandler();
                                                      return;
                                                      }
    6. To check somewhere in your code if SpoutBackpack is enabled, use :
      Code:
              if (spoutBackpackHandler != null) {
                                            return;
                                     }
    7. And finally to use a method of SpoutBackpack :
      Code:
              spoutBackpackHandler.theMethodYouWant();
      You can find all the methods HERE.
    8. If you need more methods, or if I made a mistake, do not hesitate to contact me.
    Changelog:
    Version 2.0.1
    • PermissionsBukkit & PermissionsEx fix.
    Version 2.0
    • Improved Backpacks' save system ;
    • PermissionsBukkit full support ;
    • PermissionsEx full support ;
    • Bug fix when client doesn't use Spoutcraft ;
    • Upgrade other players' Backpack.
    Other versions (open)
    Version 1.9.5
    Other versions (open)

    • Added methods for the API.
    Version 1.9.4
    • Fixed API.
    Version 1.9.3
    • Removed debug messages.
    Version 1.9.2
    • Setting for the position of the widget ;
    • Command to open other players' Backpack.
    Version 1.9.1
    • New method added to the API.
    Version 1.9
    • Economy widget when you opens your Backpack ;
    • Commands to clear Backpack(s) ;
    • Restrictions on updates ;
    • Creation of an API ;
    • Bug fixes with economy.
    Version 1.8.5
    • Support of Essentials Economy ;
    • Support of MultiCurrency.
    Version 1.8.4
    • Option to only use workbench if you have one in inventory.
    Version 1.8.3
    • No more saves when nobody is online ;
    • Fixed bug on upgrade.
    Version 1.8.2
    • Workbench toggle in the config.
    Version 1.8.1
    • Jail support.
    Version 1.8
    • Now with you can give your players a virtual workbench ;
    • You can close the workbench with the same key ;
    • Now the workbench will not appear when typing in the chat.
    Version 1.7.3
    • GroupManager full support.
    Version 1.7.2
    • GroupManager support ;
    • Permission for drop on death.
    Version 1.7.1
    • You can specify WorldGuard region where Backpacks will be disabled ;
    • More, more, more and more keys.
    Version 1.7
    • New multiworld support ;
    • Separate inventories ;
    • Common inventories ;
    • Reload command ;
    • Smart detection of plugins you've installed ;
    • Some code rewrite = more proper code.
    Version 1.6.3
    • Added PermissionsBukkit support with configuration options.
    Version 1.6.2
    • Support for BOSEconomy, no configuration needed ;
    • More anti-cheat messages and information for users.
    Version 1.6.1
    • Hooks in MobArena : when a player is inside an arena, I can't open his BackPack ;
    • For more security, it checks if iConomy is installed.
    Version 1.6
    • Added iConomy support & /backpack commands, which allow your players to expand their Backpack by paying some iConomy money (configurable in config.yml) ;
    • Minor bug fixes & code cleanup.
    Version 1.5
    • Added support for multiword (see in config.yml).
    • More and more help in the config.yml.
    Version 1.4
    • New permissions for different sizes.
    Version 1.3
    • Closing you backpack will now saves his content.
    • Permissions support.
    • You can now change the key used to open the backpack in the configuration.
    Version 1.2
    • Original version.



    [​IMG]
     
  2. Offline

    NeatMonster

    You're welcome!

    Really really strange. This command calls the same method used to determinate the size of player's Backpack. The output says the size returned is 9. I can't understand why your players have a 54 slots Backpack.
     
  3. Offline

    pyrobryant

    That makes two of us.
     
  4. Offline

    Ziggy

    Itll be time to upgrade in a few seconds - tommarow!
     
  5. Offline

    NeatMonster

    Maybe, I hope a new RB of CraftBukkit will be released soon!
     
  6. Offline

    IronPython

    have been getting this error after i updated the server to run the new bukkit 1109+

    once that happens the server is down and needs to be restarted happens every time someone tries logging in tried updating spout to the new 337 and a clean 227 but i think for now ill just tern off all plugins using spout so i can at lest use the server
     
  7. Offline

    NeatMonster

    I'll update it as soon as possible.

    Edit: I'll only update when a new CraftBukkit RB for 1.8 will be released.
     
  8. Offline

    Svettnes

    So, I'm using PermissionsBukkit;
    Added ability to open workbench in permissions, which works just fine.
    Tho, I can't seem to open backpack at all?

    Edit:
    I don't see any permission node to use simply open/use backpack?
     
  9. Offline

    NeatMonster

    See "Installation & Configuration" page on SpoutBackpack's thread on Bukkit Dev'.
     
  10. @NeatMonster

    I have a problem. This is my BackPack Config:

    Show Spoiler

    Code:
    Widget:
        PositionY: 5
        Enabled?: true
        PositionX: 3
    Workbench:
        Enabled?: true
        Key: N
        NeededInInventory?: true
    Backpack:
        Name: Backpack
        Key: B
        NoneBlackOrWhiteList?: 0
        Price:
            '18': 480.0
            '27': 720.0
            '36': 960.0
            '45': 1200.0
            '54': 1440.0
        freebuild:
            BPWanderer:
                UpgradeSize: 54
                Size: 18
            BPDefault:
                UpgradeSize: 18
                Size: 9
            InventoriesShare?: true
        Blacklist:
        - 264
        Whitelist:
        - 262
        RegionWhereBackpacksAreDisabled:
        - region1
        - region2
        world_name:
            InventoriesShare?: true
    Language: English
    Saves:
        Log?: true
        Interval(InMinutes): 1
    Permissions:
        UseGroupManager?: false
        UsePermissions?: false
        UsePermissionsEx?: true
        UsePermissionsBukkit?: false
    
    And these are my two groups, affected by BackPack:
    The first is the Defautl Group, so every user without some higher ranking:

    Code:
        Default:
            default: true
            permissions:
            - foo.bar
            - general.time
            - general.who
            - general.getpos
            - general.away
            - general.playerlist
            - general.tell
            - iConomy.payment
            - iConomy.holdings
            - myhome.home.basic.*
            - stats.log
            - stats.view.own
            - stats.view.others
            - stats.view.playtime
            - achievements.check
            - achievements.view.own
            - achievements.view.list
            - lwc.protect
            - ChestShop.shop.buy
            - ChestShop.shop.sell
            - backpack.freebuild.BPDefault
            - spouttrade.trade
            - sortinventory.use
            - lc.unlevel.*
            - lc.shout
    The second is a group specially for using higher Backpacks:

    Code:
        Wanderer:
            permissions:
            - backpack.freebuild.BPWanderer
            - backpack.nodrop
            - backpack.workbench
            options:
                profession: passiver-Skill
    I tried it with the normal nodes, too:

    - backpack.size9
    - backpack.upgrade18


    My problem: I can't even open the Backpack, but the inventory is saved with 9 slots.
    Using RB1185 and the latest Spout-Versions

    I tested several things and several permission-nodes and i'm getting this error:
    Code:
    2011-09-24 20:21:54 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'bp' in plugin SpoutBackpack v2.3.3
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
        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 org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
        at me.neatmonster.spoutbackpack.SpoutBackpack.startUpgradeProcedure(SpoutBackpack.java:814)
        at me.neatmonster.spoutbackpack.SpoutBackpack.onCommand(SpoutBackpack.java:596)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
        ... 13 more
    I think it's a problem with PermissionEX, because i tried enabling the other permission-plugins in the config and they said: can't use because missing permission ... blah blah ... only PEX throwed this error.
     
  11. Offline

    NeatMonster

    First, only v2.3.4 is compatible with #1185 of CraftBukkit, last recommended version of Spout and PermissionsEx 1.14.

    Please update SpoutBackpack, Spout and PermissionsEx. Then tell me if it works or not.

    Amicably, NeatMonster.
     
  12. Now it works, thx!
    Had the wrong version (2.3.3), don't know why CraftBukkitUpToDate don't gave me the latest.
     
  13. Offline

    NeatMonster

    Probably because it checks updates on Bukkit Dev' and files must be approved manually.
     
  14. Offline

    wassilij

    Bukkit 1185, when some special user tries to press "b" (to open backpack):

    Code:
    2011-09-25 09:48:56 [SEVERE] Could not pass event CUSTOM_EVENT to SpoutBackpack
    java.lang.IllegalArgumentException: Invalid inventory size; expected 54
        at org.bukkit.craftbukkit.inventory.CraftInventory.setContents(CraftInventory.java:46)
        at me.neatmonster.spoutbackpack.SBInputListener.onKeyPressedEvent(SBInputListener.java:107)
        at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputListener.java:44)
        at org.bukkit.plugin.java.JavaPluginLoader$93.execute(JavaPluginLoader.java:897)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:71)
        at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:130)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-09-25 09:48:57 [SEVERE] Could not pass event CUSTOM_EVENT to SpoutBackpack
    java.lang.IllegalArgumentException: Invalid inventory size; expected 54
        at org.bukkit.craftbukkit.inventory.CraftInventory.setContents(CraftInventory.java:46)
        at me.neatmonster.spoutbackpack.SBInputListener.onKeyPressedEvent(SBInputListener.java:107)
        at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputListener.java:44)
        at org.bukkit.plugin.java.JavaPluginLoader$93.execute(JavaPluginLoader.java:897)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:71)
        at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:130)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  15. Offline

    Gabriel333

    Yes the approve process is too slow and for what reason??? But I think it is smart that CBUD find new Plugins by it self on BukkitDev :)
     
  16. Offline

    NeatMonster

    It's a problem with inventory's size. Maybe you've modified the permissions or the size manually. Please try to modify the Size: value in the file playername.yml in the directory /inventories to 54. If it doesn't work, remove the file.

    Yep. It's strange they need to approve manually each file (I made ~ 37 new versions of my plugin since v1.2). They should create trusted developers I think.
     
  17. Offline

    meizme

    2011-09-25 09:55:11 [SEVERE] Error occurred while enabling SpoutBackpack v2.3.4 (Is it up to date?): com.nijikokun.register.payment.Methods.setMethod(Lorg/bukkit/plugin/PluginManager;)Z
    java.lang.NoSuchMethodError: com.nijikokun.register.payment.Methods.setMethod(Lorg/bukkit/plugin/PluginManager;)Z
    at me.neatmonster.spoutbackpack.SpoutBackpack.setupRegister(SpoutBackpack.java:287)
    at me.neatmonster.spoutbackpack.SpoutBackpack.onEnable(SpoutBackpack.java:105)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

    was working fine on my 1185 bukkit using 2.3.3 but i updated anyway and now i get this error. what does it mean?
     
  18. Offline

    NeatMonster

    I'm investigating on this error. Stay tuned!

    I'm working on a new version, but I've some issues when I close the Backpack. Stay tuned!

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

    zanetheinsane

    No problems with the actual plugin (everything is working great), but when you say "customize the size" with permissions plugins I assume this only means the X*9 hardcoded limits. Are there any plans to allow customizable size increments instead of the [9,18,27,36,45,54] ? I imagine this has something to do with the inventory screen being 9 units across? We have a very simple server with few addons and I was looking at adding something with only [1,2,3,4,5,..] backpack slots only as 'special' rewards for players.
     
  20. Offline

    Pomme72

    Hi,

    I have an big issue please help me I need this plugin for my server !

    Look :

    Code:
    11:26:21 [INFO] [SpoutBackpack] PermissionsEx found, will use it.
    11:26:21 [SEVERE] Error occurred while enabling SpoutBackpack v2.3.4 (Is it up t
    o date?): com.nijikokun.register.payment.Methods.setMethod(Lorg/bukkit/plugin/Pl
    uginManager;)Z
    java.lang.NoSuchMethodError: com.nijikokun.register.payment.Methods.setMethod(Lo
    rg/bukkit/plugin/PluginManager;)Z
    at me.neatmonster.spoutbackpack.SpoutBackpack.setupRegister(SpoutBackpac
    k.java:287)
    at me.neatmonster.spoutbackpack.SpoutBackpack.onEnable(SpoutBackpack.jav
    a:105)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:920)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156
    )
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:410)
    at com.earth2me.essentials.commands.Commandreloadall.run(Commandreloadal
    l.java:19)
    at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsComm
    and.java:87)
    at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsComm
    and.java:82)
    at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.jav
    a:447)
    at com.earth2me.essentials.Essentials.onCommand(Essentials.java:357)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    3)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    53)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:756)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    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 org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :500)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Thank you so much :(
     
  21. Offline

    NeatMonster

    Technically impossible.

    What economy plugin are you using?
     
  22. Offline

    Pomme72

    I'm using iConomy, latest version. (6.x.x??? ^^)
     
  23. Offline

    NeatMonster

    Thanks for the additional informations. I'm still investigating.
     
  24. Offline

    Pomme72

    Ok, I can't wait for a fix... I need this plugin for launch my server ! :(
     
  25. Offline

    NeatMonster

    I understand. I've two issues for the moment, Backpack not closing on 'B' key pressing and this issue with Register.
     
  26. Offline

    wassilij

    But you can close it with 'ESC' :eek:
     
  27. Offline

    NeatMonster

    Yep, but previously you were able to close it by using the same key you used to open it.
     
  28. Offline

    wassilij

    I looked in my server.log and saw that:
    Code:
    2011-09-26 20:14:49 [WARNING] Task of 'SpoutBackpack' generated an exception
    java.lang.IllegalArgumentException: Invalid inventory size; expected 54
        at org.bukkit.craftbukkit.inventory.CraftInventory.setContents(CraftInventory.java:46)
        at me.neatmonster.spoutbackpack.SBInventorySaveTask.saveInventory(SBInventorySaveTask.java:50)
        at me.neatmonster.spoutbackpack.SBInventorySaveTask.saveAll(SBInventorySaveTask.java:28)
        at me.neatmonster.spoutbackpack.SBInventorySaveTask.run(SBInventorySaveTask.java:72)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Dont know with what interaction its combined.
    Craftbukkit 1214
     
  29. Offline

    NeatMonster

    @meizme @Pomme72

    I made a silent update of the plugin to try to solve this issue with Register. Please try to re-download the .JAR from the Dropbox. If it's still not working, try also to put this .JAR in your plugins folder.

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

    Pomme72

    I havn't register :O

    I did that, but B didn't open anything again.

    Here's my console :

    Code:
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    21:09:46 [INFO] [SpoutBackpack] Permissions found, will use it.
    21:09:46 [SEVERE] Error occurred while enabling SpoutBackpack v2.3.4 (Is it up t
    o date?): com.nijikokun.register.payment.Methods.setMethod(Lorg/bukkit/plugin/Pl
    uginManager;)Z
    java.lang.NoSuchMethodError: com.nijikokun.register.payment.Methods.setMethod(Lo
    rg/bukkit/plugin/PluginManager;)Z
    at me.neatmonster.spoutbackpack.SpoutBackpack.setupRegister(SpoutBackpac
    k.java:260)
    at me.neatmonster.spoutbackpack.SpoutBackpack.onEnable(SpoutBackpack.jav
    a:104)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:920)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156
    )
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:410)
    at com.earth2me.essentials.commands.Commandreloadall.run(Commandreloadal
    l.java:19)
    at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsComm
    and.java:87)
    at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsComm
    and.java:82)
    at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.jav
    a:447)
    at com.earth2me.essentials.Essentials.onCommand(Essentials.java:357)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    3)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    53)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:756)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    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 org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :500)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    21:09:46 [SEVERE] Could not pass event PLUGIN_ENABLE to Register
    java.lang.IncompatibleClassChangeError: Expected static method com.nijikokun.reg
    ister.payment.Methods.hasMethod()Z
    at com.nijikokun.register.listeners.server.onPluginEnable(server.java:37
    )
    at org.bukkit.plugin.java.JavaPluginLoader$46.execute(JavaPluginLoader.j
    ava:562)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:927)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156
    )
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:410)
    at com.earth2me.essentials.commands.Commandreloadall.run(Commandreloadal
    l.java:19)
    at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsComm
    and.java:87)
    at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsComm
    and.java:82)
    at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.jav
    a:447)
    at com.earth2me.essentials.Essentials.onCommand(Essentials.java:357)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    3)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    53)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:756)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    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 org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :500)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  31. Offline

    NeatMonster

    Strange strange strange. iConomy runs fine with SpoutBackPack on my test server. Are you using #1185?
     

Share This Page