[INACTIVE][MECH] SpoutBackpack v1.2 - Give your players a Backpack w/ Spout [1000]

Discussion in 'Inactive/Unsupported Plugins' started by kazimir, Aug 2, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    kazimir

    SpoutBackpack - Give your players a Backpack w/ Spout:
    Version: v1.2 - JarDownload

    INACTIVE!!!
    NEW THREAD CAN BE FOUND -HERE-



    I ported captainawesome7s cool BCBackpack plugin to Spout.
    The plugin provides an inventory for your players, that are using Spout!



    I just added some functions to save the inventory at different points, so that some bug with duping and loosing items should be fixed!

    Features:
    • Pressing "B" opens and closes your backpack
    • Size and name can be customized
    • Saved on server
    • Works even on reload
    • Drop on death (configurable)
    [​IMG]

    Requirements:
    This plugin requires Spout which you can find HERE.
    If your players don't have installed the client mod, they just have no access to the backpack.


    Configuration:
    Code:
    DropItemsOnDeath: false
    InventoryName: Backpack
    BackPackSize: 36
    SaveInterval: 5
    LogSaving: false
    • The InventoryName is the name of your Backpack that appears when opened - just change it to your needs (I call it Rucksack).
    • Your BackPackSize is the size of the inventory. It's like a chest so try using a multiple of nine and a maximum of 54 or the game will crash!!
    • With DropItemsOnDeath you can configure if the player looses the items in the Backpack when he dies.
    • SaveInterval is the delay between inventory saves of all players in minutes (default: 5 minutes)
    • LogSaving enables or disables "Saving" messages in server log.
    Downloads:
    • SpoutBackpack v1.2 - JAR (Source included)
    Credits:
    • All credits go to captainawesome7 for his awesome BCBackpack plugin!! If you want to donate, send all of your money to him!
    TO-DO:
    • Permissions!
    • multiple chest sizes
    • Multiworld
    • iConomy
    • close on "B"
    • Fixing game crash when inventory is too big
    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.
    Changelog:
    Version 1.2
    • Now the Backpack closes(!!) on "B".
    • Fixed Drop on Death bug
    • Inventory size is automatically adjusted on wrong values
    Version 1.1
    • Many dupe bugs fixed (hopefully all)
    • Save timer
    • Player inventories get stored in memory until next save
    Version 1.0
    • Initial release!
     
    Sroxah likes this.
  2. Offline

    powback

    Is it possible to make a "real" backpack?
    Spout users will see other spout users carrying a backpack, that would be cool!
     
  3. Offline

    Drat333

    Awesome plugin, but my server has both a creative world and a vanilla (survival) world, and I'm currently using the plugin MultiInv to prevent people from bringing materials from the creative into the vanilla. Does this multiworld functionality exist with this plugin, and if not, can you please implement it?
     
    Rytharr likes this.
  4. Offline

    Plague

    Sorry for the delay in submission approvals, I've been away for a while.

    changelog has to show last 2 versions without a spoiler
     
  5. Offline

    kazimir

    Bugs that would not allow players to connect have to be fixed immediately...

    Not now, as far as I know. Hopefully soon!

    There are lot things to do first. Perhaps i can implement multiworld later.

    No problem...fixed spoiler!
     
  6. Offline

    Raycrash

    We will probably use it soon too... but multiworld support would be the bomb!
     
  7. Offline

    Smex

    Yes, we need Multiworld support.
    Because blocks putted in the backpack are not restored
    from MultiInv.
    I would really appreciate, if you would add it.
    Thanks!
     
  8. Offline

    kazimir

    Ok...if you want multiworld, you will get multiworld. Shouldn't be too complicated...
    Added to TO-DO!
     
  9. Offline

    dak393

    Multiworld, permissions, and groups (By that I mean different size bags for different users preferably by way of permission node). With that this would be outstanding :D
    EDIT: Lol I was ninja'd Yay for multiworld support :)
     
  10. Offline

    kazimir

    Challenge accepted :D
     
    dark_hunter likes this.
  11. Offline

    dark_hunter

    ROFl! And congrats on the purple btw.
     
  12. Offline

    RustyDagger

    This looks very promising. Cant wait for Sprout to have some kind of fly mod that's controlled by the server. then myself and my users will willingly be using sprout permissions would be ideal. and yes the permissions to control the size thing would be even better for vip benifits :D
     
  13. and poof my diamonds were gone ....
     
  14. Offline

    Killerrabbit

    Very intresting addon here, BUT!
    It's a bit to "rewarding" to get it instantly, could you make an option for this so players can buy (using one of the popular economy plugins) this backpack, or part of backpack, so the more inventory space the more expensive next slot(s) if the backpack is? This way players get a cool way of spending cash, or if not using a economy plugin, for exmpel it could use gold*[amount] / diamonds to buy the backpack to the character!

    I hope this could be something for your todo list ;)
     
  15. Offline

    Raycrash

    That's a quite nice idea!
    Also I would like to suggest a seperate option to save backpacks per world:
    so if you go from X to Y you don't take the Backpack with you, but if you go back you have the items from X world again.

    I hope you get what I mean, also thanks for this plugin ;D
     
  16. Offline

    kazimir

    All the things are already on my TO-DO list :D
     
  17. Offline

    Manbeast77

    Small request, if you add permissions, please add a config option to enable/disable it's dependency.
     
  18. Offline

    Raycrash

    Will you use bukkit permissions or permissions permissions ?
     
  19. Offline

    sct

    As soon as this has permissions support it's getting put on my live server. Been using it on my test server and I love the concept.
     
  20. sorry but why does my backpack delete everything when i close it
    i use 1.2
     
  21. Offline

    Killerrabbit

    I have the same problem apparently when I started trying it out for real today as well. Whatever I put into the backpack is gone the second I close it/open it again. Anyone else run into this problem? The serverlog had a error message related to spout, but sadly I restarted server before copying this message.

    On further messing around, it started to save some dirt I tossed into it, but then I put logs there now they just dissapeare but the dirt stays.. very strange..
     
  22. Offline

    NeatMonster

    (See next page.)
     
  23. Offline

    grinch843

    Same problem, but I think it only happens when you hit 'B' to close it. If I hit 'ESC' it seems to work. I ran out of time yesterday to test it out some more, gonna try again in awhile....

    Grinch....
     
  24. Offline

    Killerrabbit

    Should this be used with spoutbackpack.jar, or should I remove that and only use Spoutbackpack_permissions.jar?
     
  25. Offline

    NeatMonster

    It must be used without spoutbackpack.jar.
    It's only a modified version with some modified lines for permissions support.
     
  26. Offline

    Mercury

    @kazimir
    My Server is running MobArena & PvPArena.
    You can take out items from there and put into BackPack.
    Can you provide us zones where backpack is disabled?
    Thanks!

    Plugin removed. Dupe paradise :(

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

    sct

    Thank you!

    edit: Actually it appears to have an issue where pressing B to close the backup gets rid of anything inside of it. Esc works fine though. Thought this was fixed in the OP's version.
     
  28. Offline

    dak393

    people are still having that issue with the OP:

     
  29. Offline

    kazimir

    Very strange bugs....i have the plugin running on my own server and it works fine. Trying to release a new version at the end of the week.
    Refoctoring code, adding perms, adding multiple worlds... I have to recode it completly to fix these bugs.
     
  30. Offline

    NeatMonster

    This is an unofficial version. So, the original developer isn't in charge of this version.

    Version: v1.5 (unofficial) - Download the .JAR

    Because I was needing some features, I decided to add them by myself and share my work with you. Check the changelog to see the new features. The source is included so you can see I'm not ill-disposed. If you need a feature, just tell me and I'll see what I can do. NeatMonster.

    Features added:
    • Fixed some bugs.
    • Permissions (v3.1.6) support.
    • Ability to change the key used to open your backpack.
    • Different size of the backpack for different permissions.
    • Multiworld support.
    Requirements added:
    With my edits, the plugin Permissions is recommended.

    Configuration file (rewritten):
    Code:
    # DropItemsOnDeath - Will your players loose the items in their Backpack when they die.
    # Key - The key your players will use to open their backpack.
    # *Allowed values:*
    # A, B, C, D, E, F, G, H, I, J,
    # K, L, M, N, O, P, Q, R, S, T,
    # U, V, W, X, Y, Z,
    # 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
    # *If you need more keys, just ask me.*
    # SaveInterval - The delay between inventory saves of all players in minutes.
    # InventoryName - The name of your Backpack that appears when opened.
    # LogSaving - Enables or disables 'Saving' messages in server log.
    # Worlds - The worlds where your players will be able to open their Backpack.
    # *Use 'all' to allow it in all the worlds.*
    DropItemsOnDeath: false
    Key: B
    SaveInterval: 5
    InventoryName: Backpack
    LogSaving: false
    'Worlds:':
    - all
    • Key is the key your players will use to open their backpack.
    • Worlds are the worlds where your players will be able to open their Backpack.
    Permissions added:
    • backpack.size9 : Allow the use of a backpack with a size of 9.
    • backpack.size18 : Allow the use of a backpack with a size of 18.
    • backpack.size27 : Allow the use of a backpack with a size of 27.
    • backpack.size36 : Allow the use of a backpack with a size of 36.
    • backpack.size45 : Allow the use of a backpack with a size of 45.
    • backpack.size54 : Allow the use of a backpack with a size of 54.
    Downloads:
    • SpoutBackpack v1.5 (unofficial) - JAR (Source included.)
    Credits:
    • The update of this plugin for Spout was made by kazimir.
    Knows bugs:
    • None. :D
    TO-DO:
    • Permissions ;
    • Multiple chest sizes ;
    • Multiworld support ;
    • iConomy ;
    • Close on "B".
    • MobArena hook.
    Changelog:
    Version 1.5 (unofficial)
    • Added support for multiword (see in config.yml).
    • More and more help in the config.yml.
    Version 1.4 (unofficial)
    • New permissions for different sizes.
    Version 1.3 (unofficial)
    • Closing you backpack will now saves his content.
    • Permissions (v3.1.6) support.
    • You can now change the key used to open the backpack in the configuration.
     
  31. Offline

    Killerrabbit

     
Thread Status:
Not open for further replies.

Share This Page