[GEN|ECON] TooManyBuckets v0.2.2 - Spawn Items with Style! [1060] [Spoutcraft]

Discussion in 'Inactive/Unsupported Plugins' started by narrowtux, Aug 23, 2011.

  1. Offline

    narrowtux

    TooManyBuckets
    Version 0.2.2

    Please use the Bukkit Dev site now, @Plague you don't have to approve this here, I already moved this to bukkit dev!

    This plugin let's you spawn items like you know from the popular TooManyItems mod.
    It includes a search bar, you can clear your inventory with one click, and more.
    Get TooManyBuckets!
    Download - Donate if you like!
    Sourcecode on GitHub.com

    Please report issues to the GitHub bug tracker!

    Features
    • Totally configureable item list, set a custom name, the amount to spawn each click, and even data value.
    • Select which items should be visible by default
    • Can set the item names for the inventory tooltips (optional)
    • Search for a specific item
    • Buy items for money (supports iConomy, BOSEconomy, EssentialsEco, MultiCurrency)
    Permissions
    TooManyBuckets uses SuperPermissions, the one built into Bukkit.
    The only current permission is "toomanybuckets.use", it defaults to ops.

    How to use
    There is a command to open the screen, /tmi. I know you want to use a shortcut for that, so you can use my plugin Shortcuts to do that (it offers flexibility for every user because each user can define his own shortcuts).
    In the screen, you can type something in the text field to search. The view below will automatically filter the results. When you want to spawn an item, just click on the button.
    You can also clear your inventory, when it's very screwed from cheating too many buckets -.-

    Screenshot
    2011-08-23_20.39.23.png

    Configuration
    You can configure which items appear in the search results by editing the items.yml file in the TooManyBuckets folder.
    Here's an example item:
    Code:
    <nameOfItem>:
        amount: <amountToSpawn>
        indefaultview: <should it be in the standard view? (true|false)>
        data: <data value>
        type: <item id or name>
        price: <price of the item (optional, 0 by default)>
    
    You can add as many items as you want to the file.
    You can also configure if it should update the tooltip names in the inventory to the names you defined in items.yml and if the data value should appear in the tooltip in the TooManyBuckets window.

    Changelog
    See this: http://tetragaming.com/narrowtux/beta/index.php?action=plugin&plugin=8#changelog
    Todo
    • Groups which have seperate permissions and can be found via the search.
     
  2. Offline

    narrowtux

    You don't need to force them. The spout plugin is also compatible with vanilla clients, so they can safely join your server.
    They just can't use this plugin when they don't have it, they'll get a message displayed in this case.
     
  3. Offline

    Cosmic Break

    Code:
    13:55:45 [SEVERE] Could not pass event PLAYER_QUIT to TooManyBuckets
    java.lang.NoSuchMethodError: com.narrowtux.toomanybuckets.gui.TMBMainScreen.getP
    layer()Lorg/getspout/spoutapi/player/SpoutPlayer;
            at com.narrowtux.toomanybuckets.TMBMain.removeScreen(TMBMain.java:266)
            at com.narrowtux.toomanybuckets.TMBMain.removeScreen(TMBMain.java:282)
            at com.narrowtux.toomanybuckets.listeners.TMBPlayerListener.onPlayerQuit
    (TMBPlayerListener.java:13)
            at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.ja
    va:251)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConf
    igurationManager.java:146)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:628)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:231)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :436)
            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)
    
    using v0.2 of TMB. craftbukkit 1060, spout 134
     
  4. Offline

    narrowtux

    It might not have updated correctly. Try to download and install the new version again ;)

    @crysis992 @Montpelier
    FYI, I implemented all your feature requests ;)
    Hope you like it!

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

    RugRats

    defaults to OP?
     
  6. Offline

    narrowtux

    yep
     
  7. Offline

    Montpelier

    Cool! ...Where the hell is it!

    (I'm getting 0.1.2 from Devbukkit and the original crashy version from the download link here.)
     
  8. Offline

    narrowtux

    Oh well…
    Go to http://tetragaming.com/narrowtux/beta navigate to TooManyBuckets and click in the Download Link of 0.2
     
  9. Offline

    chuiby


    I get the same error, cb 1060, spout 134.

    Show Spoiler

    Code:
    2011-08-26 18:07:23 [INFO] **CENSORED** lost connection: disconnect.quitting
    2011-08-26 18:07:23 [SEVERE] Could not pass event PLAYER_QUIT to TooManyBuckets
    java.lang.NoSuchMethodError: com.narrowtux.toomanybuckets.gui.TMBMainScreen.getPlayer()Lorg/getspout/spoutapi/player/SpoutPlayer;
    at com.narrowtux.toomanybuckets.TMBMain.removeScreen(TMBMain.java:266)
    at com.narrowtux.toomanybuckets.TMBMain.removeScreen(TMBMain.java:282)
    at com.narrowtux.toomanybuckets.listeners.TMBPlayerListener.onPlayerQuit(TMBPlayerListener.java:13)
    at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:251)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:146)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:628)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:231)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:436)
    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)
    
     
  10. Offline

    Tesseracto

    http://forums.bukkit.org/threads/req-shop-gui-using-spout.31341/#post-575173
    Seems you made my dreams come true.
    I only have two requests.
    Sell items, and be able to input a number of the specific items you want to buy.
    I don't wanna have to press the same button over and over again to buy a stack of cobble, but i don't wanna be able to afford half a stack, but only be able to buy one.
     
  11. Offline

    WaferMouse

    Me too, same versions, and downloaded from tetragaming. In addition, it only works for one login-per-user-per-server-restart, I suspect the two are related. Otherwise, great work!
     
  12. Offline

    sme4gle

    im using a plugin manager .. and when i try to load this plugin with it it says : "file exists .. but is not a plugin file"
    .. and if i load it normaly it gets loaded before spout .. what to do?
     
  13. Offline

    narrowtux

    did you get v0.2?
     
  14. Offline

    sme4gle

    i guess so but ill check it out
     
  15. Offline

    sddddgjd

    Soo,you like sdk's gun mod...
    Anyway, great plugin!
     
  16. Offline

    narrowtux

    I don't even know sdk's gun mod :p
     
  17. Offline

    sddddgjd

    :confused:
    Your plugins description is "Spawn items with style"
    Sdk's guns description is "Kill creepers with style"
    Wierd coincidence,then?
     
  18. Offline

    narrowtux

  19. Offline

    omen964

    love it but do not work for me.. only cause crash
    Code:
    [SEVERE] Could not load 'plugins/TooManyBuckets.jar' in fold                                                                                                                                                             er 'plugins': NarrowtuxLib
    [SEVERE]: command not found
    omen964@omen964-System-Product-Name:~$ org.bukkit.plugin.UnknownDependencyException: NarrowtuxLib
    org.bukkit.plugin.UnknownDependencyException:: command not found
    omen964@omen964-System-Product-Name:~$         at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j                                                                                                                                                             ava:133)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.                                                                                                                                                             java:213)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager                                                                                                                                                             .java:136)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:143)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:450)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleComma                                                                                                                                                             ndMap.java:281)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12                                                                                                                                                             9)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3                                                                                                                                                             52)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.                                                                                                                                                             java:737)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java                                                                                                                                                             :478)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$         at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    -bash: syntax error near unexpected token `('
    omen964@omen964-System-Product-Name:~$
    
     
  20. Offline

    chuiby

    I finally got this plugin working, however could you add compatibility for other permissions than superperms?

    There is so much permissions plugins.... I use essentialsGroupManager...

    Could you include other permissions checking than superperm?

    I don't feel like switching to superperms.


    Edit:
    i get this error when a player leaves:

    Code:
    [SEVERE]      Could not pass event PLAYER_QUIT to TooManyBuckets
     java.lang.NullPointerException 
     at      com.narrowtux.toomanybuckets.TMBMain.removeScreen(TMBMain.java:266) 
     at      com.narrowtux.toomanybuckets.TMBMain.removeScreen(TMBMain.java:282) 
     at      com.narrowtux.toomanybuckets.listeners.TMBPlayerListener.onPlayerQuit(TMBPlayerListener.java:13)      
     at      org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:251)      
     at      org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) 
     at      org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)      
     at      net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:146)      
     at      net.minecraft.server.NetServerHandler.a(NetServerHandler.java:628) 
     at      net.minecraft.server.NetworkManager.b(NetworkManager.java:231) 
     at      net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89) 
     at      org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478) 
     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) 
    
     
  21. Offline

    narrowtux

    Nope, I won't give support for the legacy permission system because they all have issues and then I have to fix it all the time.
     
  22. im getting a depends NarrowtuxLib error what to do?
     
  23. Offline

    WaferMouse

  24. Offline

    narrowtux

  25. Offline

    thestriker095

    Still get this error when ever people disconnect.

    Bukkit Version: 1060
    TooManyBuckets Version: 0.2
    Error Message:

    Code:
    14:00:32 [SEVERE] Could not pass event PLAYER_QUIT to TooManyBuckets
    java.lang.NullPointerException
        at com.narrowtux.toomanybuckets.TMBMain.removeScreen(TMBMain.java:266)
        at com.narrowtux.toomanybuckets.TMBMain.removeScreen(TMBMain.java:282)
        at com.narrowtux.toomanybuckets.listeners.TMBPlayerListener.onPlayerQuit(TMBPlayerListener.java:13)
        at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:251)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:146)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:628)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:231)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        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)
    
     
  26. Offline

    narrowtux

    Release v0.2.1
    • Fix loading issues when using this plugin the very first time
    • Fix issues when players disconnect.

    Fixed by now.

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

    WaferMouse

    Hooray! Thank you, that's fantastic @narrowtux
     
  28. Offline

    Bdl2

    I currently use SPITEMS for this, and it does it's job well for my OPs - though this certainly looks much more impressive. If this had Permissions 3.x support, along with a way to define who has access to what items through it, I'd officially love this plugin, and nobody on my server would need to type commands ever again.

    Configurable iConomy/BOSEconomy costs per item using this would be amazing, too.
     
  29. Offline

    narrowtux

    You can already configure costs of any item independently.
    I just don't like to add Permissions support for my new plugins. The reason: I simply don't like it.
     
  30. Offline

    Snaipe

    @narrowtux

    In addition of the pricing system, something nice would be a trade system, where to get some A items, the player would have to trade them with X B blocs.
     
  31. Offline

    narrowtux

    Release v0.2.2
    • Fix some bugs, update for NarrowtuxLib refactoring.
     

Share This Page