Inactive [ECO] GoldBank v3.1 - Dynamic Gold Bank - More features! [1.2.5-R3]

Discussion in 'Inactive/Unsupported Plugins' started by Wratery, May 30, 2012.

  1. Offline

    Wratery

    What is GoldBank?


    GoldBank is a plug-in designed to allow players to save their currency/gold to their dynamic bank account. GoldBank is a stand alone plugin, that provides full experience while you are using GoldBank. GoldBank is inspired by iConomy.

    Features:

    - Allow players to take a amount of gold from their inventory, to their bank account.
    - Allow players to take out a amount of gold from their bank account.
    - Allow players to check their currency.

    Commands:
    - /bank - Displays you a message over available commands for the goldbank.
    - /bank currency - Checks your currency.
    - /bank out [amount] - Takes a amount of gold out from your bank account.
    - /bank in - Takes a amount of gold in to your bank account.
    - /bank pay [player] [amount] - Pay's the target player a amount of typed gold.

    Planned Updates:
    - Full permission-support.
    - Allow players to pay other's with their bank account.
    - Configuration file for plugin.
    - Trading-support, such as /buy, but using the gold in your bank as currency!
    - Choose between economy object.

    Permissions:
    - goldbank.bank
    - goldbank.bank.currency
    - goldbank.bank.in
    - goldbank.bank.out
    - goldbank.bank.pay
    - goldbank.bank.*

    Issues:
    Before you are complaining, would I recommend you to read the entire thread.
    It's highly recommended that you reload the server. Else will the plugin be loaded the opposite way, and crash. This is going to be fixed on the next update.

    Previous Changelogs:

    v1.0
    * Release of GoldBank plugin.

    v2.0
    * Added new command (/bank save)
    * Colors has been changed.
    * Full-permission support (PEX-GroupManager)
    * Console-support.

    v3.0
    * Fixed bug on reload.
    * Added command: /bank pay.

    Download link:<Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 10, 2016
  2. Offline

    CXdur

    Nice plugin, but would be awesome with a config to configure the messages.
     
  3. Offline

    Wratery

    I will be doing that for the next update, but my first- priority is to get the pay function done :)

    md_5 Are there any possibilities to approve or deny this thread? Would be great with an quick feedback!

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

    Flipsen

    Hey, i want to translate this to norwegian, can you please upload the source? :D
     
  5. Offline

    Wratery

    Sure, will be doing that in the next few hours! :)
     
  6. Offline

    c0d0h

    Hi, looks like a promising plugin, few uestions though.

    1. Is this a stand alone plugin that uses its own built in eco system?
    2. Do i need/ can i hook with vault?
    3. Can i use the bank account to buy from shop plugins?
     
  7. Offline

    md_5

    Approved.
     
    Wratery likes this.
  8. Offline

    Wratery

    1. Yes, this is a stand alone plugin. The eco system uses it's own built-in eco system.
    2. Right now I'm not as familiar with the Vault, but would like to get more into it. But at the moment, no, you dont need to hock it with Vault.
    3. The plan for this is well that you can integrate the gold bank with other shop-plugins.
     
  9. Offline

    Sleaker

    Wratery - is GoldBank an economy system or is it designed to run alongside another economy plugin?


    Edit: Nevermind, I'll be patching Vault to support this momentarily.

    Edit2: I'd highly suggest altering the way you load/handle accounts. Right now the data is only loaded when a player joins the server, this will cause issues when we want to do transfers between offline players and online players etc. There are some ways you can get around this, but I definitely suggest trying to think up a good way around it.
     
  10. Offline

    Martijn8196

    Please let the next update (i hope really soon) be the /pay <player> <amount> commmand.
    That would be awsome because i use a gold based economy with signshop.
    But its a nice plugin man, great job!
    And if you want to i can translate it to dutch ?
     
  11. Offline

    Wratery

    I will be working on the /pay command for the next update, yes. :)
    Well, that would great if you would! [gold] :)

    Thank you for that, Sleaker! That would be great.

    My plan is ment to load the players data when the players joins the server. I can't see any problems with that, and i think that this is the way im going to be working on.

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

    Sleaker

    Wratery - the issue comes in when plugins start altering offline player data. Your plugin currently just can't handle it, or doesn't manage this situation properly like an actual economy plugin would (Such as if a player opened a store and is selling items while they are logged off).

    This is just one use case I can see that will currently cause issues unless the plugin specifically manages your user data and this will get extremely slow if that plugin has to load and resave the data everytime it's modified.
    The second issue is how you're storing the data. Flatfile with 1 file per player will cause the OS to hickup if you get over a certain number of files (depending on which OS too). In Heroes we do this, but we had to split each player data file into a subfolder by first letter of name. Just another thing to consider here.
     
  13. Offline

    Martijn8196

    @
    Can you send me they files then ?
    I really like to help, im not a good programmer, but if you have something to translate (maybe other plugins) in the future i can help too.
    Maybe i can try to translate to french to.
     
  14. Offline

    spike1985

    Is it possible to configure the item that is put to bank? I use diamnds on my server as currency and this would just be awesome...
     
  15. Offline

    Martijn8196

    Thnx for the pay option and command.
    I hope it will get more and more downloads !

    I reload my server several times but every time i get this:

    12:05:00 [SEVERE] Could not load 'plugins/GoldBank.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/wratery/goldbank/GoldBank : Unsupported major.minor version 51.0
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:151)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:550)
    at org.bukkit.Bukkit.reload(Bukkit.java:182)
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479)
    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:475)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:612)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:581)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.UnsupportedClassVersionError: me/wratery/goldbank/GoldBank : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:140)

    Please fix it, i really want to have this working.

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

    Wratery

    Please try to delete the GoldBank folder, if not, i will be looking for the error in the next hours.
     
  17. Offline

    Martijn8196

    Wratery I think you need to start searching for errors, i deleted all the folders and downloaded it again but unfortunately it keeps telling me that error.
     
  18. Offline

    Sleaker

    Caused by: java.lang.UnsupportedClassVersionError: me/wratery/goldbank/GoldBank : Unsupported major.minor version 51.0

    ^ this is caused by the plugin being compiled with a Java version higher than what your server is currently running.

    Bukkit and MC are all compiled with jdk5 - (java 1.5) - Plugin authors should be trying to keep their plugins compatible with jdk5, or at the very least jdk6 to prevent issues like this. Or, put a big warning up saying which version you're compiling with so that people know to check compatibility :)
     
  19. Offline

    Miki4000

    Nice plugin ;D
    Would be cool to have it transelated to norwegian :)
     
  20. Offline

    NorwayZaGa

    I got an tip for u, Change /bank currency to /bank info
     
  21. Offline

    LogitechzGamer

    I have downloaded the plugin, saved it into my plugin folder, added permisson and reloaded the server, but nothing happend !?!?! I'm I doing something wrong? Plz help me :/
     
  22. Offline

    LogitechzGamer

    Never mind... I have fix it
     
  23. Offline

    francom1034

    I have a problem,
    I installed the plugin but its not in the /plugins and it didnt install to my server
     
  24. Offline

    SabreLegend

    Source please?
     

Share This Page