[INACTIVE] GlobalChestBanking

Discussion in 'Inactive/Unsupported Plugins' started by RedFoxRedI, Aug 6, 2011.

  1. Offline

    RedFoxRedI

    Exote, tommygoesha and BioRage like this.
  2. Offline

    BioRage

    IS this like Diablo2 / WoW Style Banking?! :O

    Edit:
    Suggestion.
    iConomy5 Support (Deposit / Withdraw will cost <x><X><x>
     
  3. Offline

    RedFoxRedI

    Damn, i can't remember diablo 2 system and never played WoW. If you explain how they work i could give you an proper answer :)

    The iConomy Support is a nice idea, i make a todo list and put it on ;)

    Besides, i am planning to make the account size changeable. A guest on the server would have 10 slots and the Admin 80 . . .
     
  4. Offline

    tommygoesha

    @BioRage
    If i may cut in since i have seen first hand @ this plugin, yes it is like WoW Banking but however you can not buy more slots such as in WoW, its like a world of warcraft bank but only one slot and you can give each rank a different amount of space such as Rank 1 = 10 slots, Rank 2 = 20 slots and so forth :)
     
    BioRage likes this.
  5. Offline

    Sh00ck

    Please SPOUT support!


    SPOUT is the NEW Version of BukkitContrib....

    please update
    @RedFoxRedI
     
  6. Offline

    tommygoesha

    @Sh00ck i believe he put bukkitcontrib because spout was breaking some old plugins that spout did not support but bukkitcontrib did.
     
  7. Offline

    RedFoxRedI

    Yeah he is right, i made the experience that while some plugins still use bukkit contrib and others already updated to Spout everything gets broken.
    But I was planning a Spout Version, so that you can decide wheter use Spout or Bukkit Contrib.

    Added to the TODO list.
     
  8. Offline

    tommygoesha

    Suggestion: Not like Biorage
    but some people might like to set it up so players have to pay the first time to open a bank account. so like using the bank for the first time they pay 'X' amount of money.
     
  9. Offline

    RedFoxRedI

    Ok, sounds good. Anyway I think I will need to make some kind of config file. And then then you can decide what u have to pay for.
     
  10. Offline

    tommygoesha

    sounds good 2 me, i support this plugin! :D
     
  11. Offline

    Joe Gandy

    I just put a request for this yesterday, thanks so much! :)
     
  12. Offline

    Sh00ck

    Spout and i'm Happy :(
     
  13. Offline

    BioRage

    Thanks for the info.

    You may be on time constraints, but if you have time, could you contact the spout dev and see if they can work togther with you?

    This plugin (i haven't tried first hand) but sounds and seem's pretty amazing dude, keep up the good work!
     
  14. Offline

    RedFoxRedI

    Oh goodness, Spout seems to be kind of magic :rolleyes:

    I've tested and added an Version for Spout Support. You can find it in the Downloads (see initial post).
    It could be kind of buggy, so please tell me any bugs that occur and I will fix them as soon as possible.

    @BioRage I don't understand, what do you mean by work together with them. like on what?
     
  15. Offline

    tommygoesha

    Congratz Redfox on the Plugin Developer button :D!

    Here is a demonstration in picture form if anyone would like to take a gander :]
    Show Spoiler

    [​IMG]
    2 Empty Global Chest Banks
    [​IMG]
    64 stone in Chest A
    [​IMG]
    Without taking the stone out we go to chest B annnd.. Bam.


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

    khyperia

    Is this a theory-copy from terraria piggybanks? If so, sweet! Minecraft needs that! If not, its the same thing! Great! lol
     
  17. Offline

    Kardocraft

    Coool plugin but I have a little suggestion. That you can give permissions for some players (let''s say bank owners) to make banks for other players. Like in the mailbox plugin. That would be very cool.
     
  18. Offline

    BioRage

    You answered it already, don't worry.

    Few more questions

    #1- Does this /gcb savebanks saves the current banks into the bankList.txt file
    #2 - is it possible to give user's more "space?" or is it default "double chest space"
     
  19. Offline

    tommygoesha

    @ #1 He will probably tell you but my guess is it allows you to manually save chests before you want to restart since i think it saves on pulse like every 10 secs or something.. thats just a guess and i could be wrong.
    @ #2 I believe in his todo list he said changable slot amount, that could be what you mean
     
  20. Offline

    RedFoxRedI

    @tommygoesha Thx for your help :)

    @khyperia I don't know Terraria, but i googled it and it seems to be the same idea ;)

    @Kardocraft That's an interesting suggestion, i could implement it. but either way i will make it completly optional.

    @BioRage #1 yes it does. But it is also done autmatically if one of the following things happens:
    1. you add a bank
    2. you remove a bank
    3. when server shutsdown regularly
    #2 i dont really know if it is possible to give like 128 space, but with the next version you can check it out. it will have a config file where you can set the default size. I'm also planning to make a option to set different sizes for players or groups, but currently i am not sure how I want to do it.

    @all Next Version will have iConomy support + config, and changable chest size. And if it doesn't stop raining outside, the new version will be released quickly :D
     
  21. Offline

    Exote

    Very nice plugin, however I've had a problem with damaged items getting repaired when banked and things like wool which have a secondary part to the id number 35:1 etc being converted to the base type. :)
     
  22. Offline

    RedFoxRedI

    Oh lol, good to know. Totally forgotten to save the metadata :D
    I ll fix it soon.

    Besides the fact that damaged things get repaired is a feature not a bug :p

    The new Version 1.2.1 is now available. Please read the note!

    Since I had totally forgotten to save the damage (or in case of wool and dye the color value) of an item, I had to update the account files accordingly.
    Until 1.2.1 they had the format:
    <IDItem0>;<AmountItem0>;<IDItem1>;<AmountItem1>; ....
    Now the format is:
    <IDItem0>;<DataItem0>;<AmountItem0>;<IDItem1>;<DataItem1>;<AmountItem1>; ....

    In case I will have enough free time left, I may have a look at the source of the GUI display for inventories and expand the possible chest size. At the moment it is between 1 and 54, other values inside the config will be ignored.

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

    Exote

    Great update, thanks for the quick work :D
     
  24. Offline

    Ziden

    This is a very good plugin sir.

    Just one question, is it possible, for me as a Admin, to acess a certain player chest ? I think it could be very usefull.

    Thanx for any help @RedFoxRedl
     
  25. Offline

    RedFoxRedI

    You mean like ingame opening someones chest account?
    Something like:
    /gcb open RedFoxRedI
    and then it opens my account and you can edit it.
     
  26. Offline

    BioRage

     
  27. Offline

    Kardocraft

    Show Spoiler
    2011-08-09 16:55:23 [SEVERE] Could not pass event PLAYER_INTERACT to GlobalChestBanking
    java.lang.NullPointerException
    at globalchestbanking.GlobalChestBankingPlayerListener.onPlayerInteract(GlobalChestBankingPlayerListener.java:35)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:139)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    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)
    2011-08-09 16:55:24 [SEVERE] Could not pass event PLAYER_INTERACT to GlobalChestBanking
    java.lang.NullPointerException
    at globalchestbanking.GlobalChestBankingPlayerListener.onPlayerInteract(GlobalChestBankingPlayerListener.java:35)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:139)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    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)
    2011-08-09 16:55:24 [SEVERE] Could not pass event PLAYER_INTERACT to GlobalChestBanking
    java.lang.NullPointerException
    at globalchestbanking.GlobalChestBankingPlayerListener.onPlayerInteract(GlobalChestBankingPlayerListener.java:35)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:139)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    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)
    2011-08-09 16:55:27 [SEVERE] Could not pass event PLAYER_INTERACT to GlobalChestBanking
    java.lang.NullPointerException
    at globalchestbanking.GlobalChestBankingPlayerListener.onPlayerInteract(GlobalChestBankingPlayerListener.java:35)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:139)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    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)
    2011-08-09 16:55:40 [SEVERE] Could not pass event PLAYER_INTERACT to GlobalChestBanking
    java.lang.NullPointerException
    at globalchestbanking.GlobalChestBankingPlayerListener.onPlayerInteract(GlobalChestBankingPlayerListener.java:35)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:139)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    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)


    I get many errors when I start the server with your plugin. I have your latest download and many more plugins also I have spout and multiverse (the importants plugins with most errors like this)
     
  28. Offline

    RedFoxRedI

    The error occurs in the following line:
    Location l = block.getLocation();

    So it seems as if there was an interaction with a block, that has no location. I haven't thought about such a situation. I will release a fix soon.

    Ok, new fixed version is available.

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

    Ziden

    is it possible that this bugs up with citizen traders ?
    After i open up a trader shop, my virtual chest becomes that shop. Lawl
     
  30. Offline

    gameswereus

    Is there anyway to limit the number of spaces per a group of users with permissions? Also on a indevidual basis would be really helpful to me :p

    That aside, great plugin!
     

Share This Page