Inactive [ECON] SimpleGold v0.7 - Simple Economy with Gold Ingots [1.2.3-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by EpicX112, Feb 19, 2012.

  1. Offline

    EpicX112

    SimpleGold- Simple Economy with Gold Ingots:
    Version: v0.7


    Trailer: Big thanks to Minemasher



    How it works:

    Create signs that allow user to trade Gold Ingots for Items or Items for Gold Ingots. If you have the permission to set up a sign, you simply set it up like this:


    Code:
    [Gold]
    Item Name;Item ID Number
    Buy;Quantity;Price
    Sell;Quantity;Price
    For example:

    Code:
    [Gold]
    Cookie;357
    Buy;5;1g
    Sell;10;1g
    If done correctly, [Gold] will appear in yellow.

    This sign will allow users to buy 5 cookies for 1 gold ingot, and sell 10 cookies for 1 gold ingot. To purchase the item, users must have gold ingots in their hand and left click the sign. To sell the item for ingots, the user must have the item in hand and right click the sign. To not allow users to sell the item to the store, just leave the sell quantity and price at 0;0g. It's that simple. If you would like to set up a sign where players can buy/sell levels. Set the item ID to 999.

    Permissions:
    Code:
     gold.setup:
              description: Allows you to set up a shop
              default: op
    gold.break:
              description: Allows you to break a shop
              default: op
    gold.use:
              description: Allows you to use a shop
              default: true
    gold.set:
              description: Allows you to set the currency
              default: op
    Commands:
    Code:
    /gold-set [item id] - sets the currency item
    Features:
    • Turn Gold Ingots, or an item of your choice, into currency
    • Simple signs for shops
    Download SimpleGold

    Changelog:
    Version 0.7
    • Added ability to buy and sell levels. You can do this by setting the item ID on the sign to 999.
    • Changed from right click to left click to stop the bug with food items
    • Added "title" to config file. This is the text that will be placed at the top of the sign. Default is [Gold]
    Version 0.6
    • When you sell a placeable block, it will no longer get placed against the sign
    Version 0.5
    • Add command /gold-set[item ID] to set the currency item
    • Added gold.set permission - player can set the currency
    Version 0.4
    • Added gold.use permission - player can use the shop
    Version 0.3
    • Fixed major wrong version issue
    Version 0.2
    • Added support for wool colors
    • Changed ":" between characters to ";" to support items like colored wool that will have an ID like 35:12
    • Added a config file where you can edit what item is used as currency
    Version 0.1
    • Released
     
    Luftgitarrist, Ahnimac and uifd like this.
  2. Offline

    md_5

    Please dont use mediafire and remove the extra 0 from your title
     
  3. Offline

    EpicX112

    Fixed
     
  4. Offline

    md_5

    Approved
     
  5. Offline

    Zazeca

    EpicX112:

    Looks nice!

    I know the plugin is called "SimpleGold" but is it possible to have a configuration option to change Gold Ingot into something else? I.e. Diamonds, Iron bars.. depending on the trend of the server. My server seems to use a lot of diamonds up as we're developing underground a lot, so players would have to make a choice between using diamonds for digging or diamonds for buying..

    Not sure how you'd do this as I'm not a plugin developer but I would use this plugin if there was more flexibility in the configuration.

    Thanks.
     
  6. Offline

    EpicX112

    Well actually when I was making this plugin I had that in mind. I apologize but this was my first go at making a bukkit plugin. I now know how to make and use a config file, so I will most likely update it to be able to do so by the end of today. Thanks for letting me know that you would like that :)
     
  7. Offline

    Zazeca

    Great to hear, I'll check back later today or tomorrow to see if you've updated. No rush though! :)

    EDIT: Thanks for the update, downloading! Will get back to you on how it runs tomorrow. :p
     
  8. Offline

    Kimberly2000

    I'd be more interested in this program is you could set it up for multiple currency.

    I would like ppl to be able to buy and sell with gold ingots and with gold nuggets. Where a nugget would equal 1 and an ingot would equal 9.

    So if someone had stuff for 1 gold nuggets for sale, and you had an ingot in your hand, you would by 9 of that item, of course assuming the item was selling for 1 gold nugget each. And of course where if an item was selling for 1 gold ingot and you only had nuggets in your hand, it would take the right amount of nuggets.
     
  9. Offline

    EpicX112

    I like this idea too, this will be my next thing to work on with this plugin :)
     
  10. Offline

    Cipher3333

    i can't get the plugin to work! and my server is up to date! help!
     
  11. Offline

    EpicX112

    Is it not loading properly or is the sign not being created properly?

    Sorry about that, turns out I uploaded a bad version of the plugin. It is fixed now, you can re download it and it should work

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

    uifd

    hey, i like this whole idea and my server is using a gold ingots just needed to make it easier. but i have one problem, the download link doesn't work for me :C. help?
     
  13. Offline

    EpicX112

    Yes sorry, having issues with my webserver, give me 10 min

    fixed

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

    Wafflez360

    major probelm ????17:08:18 [SEVERE] Could not load 'plugins/SimpleGold.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: edu/alfredstate/laroccrj/SimpleGold : 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:131)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:286)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:201)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:164)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:140)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
  15. Offline

    EpicX112

    Did this happen at start up? I just downloaded it again and put it on my own server, worked fine

    Try this

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

    uifd

    i just got the same error message as him :/
     
  17. Offline

    EpicX112

    is this happening at startup?

    Should be fixed

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

    keyboardblazer

    What are the item number for the items? I do not have a list anywhere to figure this out.
     
  19. Offline

    EpicX112

  20. Offline

    keyboardblazer

  21. Offline

    mrcheesete0

    is it usable by everyone? I notice there are nodes to make/break shops but there isn't one for using a shop.

    would love to be able to make it a donor perk.


    Also, are the items/gold pulled out of thin air, or is it stored in a chest so you have to keep a stock and so on?
     
  22. Offline

    EpicX112

    Items are pulled from thin air, but i like the permission suggestion, I'll update this right now with that :)
     
  23. Offline

    DemonRiderX

    Working perfectly! This made the people on my server happy to see gold has a use :D
     
    EpicX112 likes this.
  24. Offline

    Wafflez360

    I used the .jar you gave me and it workedc[INFO] Simple Gold is running and yes when i had the problem it wa at the start up
     
  25. Offline

    EpicX112

    Try downloading it again, I believe the issue you were having was I had this JAR compiled in Java 7, I compiled it in Java 6 instead and uploaded it again
     
  26. Offline

    Luneth2

    Nice!!! can you also change the currency to diamond?
     
  27. Offline

    Wafflez360

    srry my message was wierd i meant it was a success it worked with the link you gave me
     
  28. Offline

    TiMaT326

    Not working well for me ; I can get cookie from my gold, but if I try getting gold for cookies, it works until I try to drop or stack that gold; it turns back to cookies... :/
     
  29. Offline

    EpicX112

    Yes, there is an option to set the currency in the config file :)
     
  30. Offline

    TiMaT326

    Oh well now the bug changed : I do get REAL gold from my cookies, but if I have exactly 10 cookies on myself they become invisible in my inventory, until I press Q (or open a chest)... Then I see 10 cookies again and I still have the gold I earned. This would make players able to do infinite money from selling this items. I tested with grass and it's working fine, maybe it's only with cookies that it doesn't work fine?
     

Share This Page