Inactive [ECON] Gold2Economy VAULT EDITION v1.4_r13 [1.3.2-R3.0+]

Discussion in 'Inactive/Unsupported Plugins' started by turt2live, Dec 31, 2011.

  1. Offline

    turt2live

    I can look into it, it may be difficult to do though.

    (But challenges are fun...)
     
  2. Offline

    Mercury

    I guess you don't need to reinvent your code.

    Explaining my idea via config file.
    http://pastie.org/3733023
     
  3. Offline

    turt2live

    I won't need to reinvent, just figure out how to re-work it to go backwards.

    Edit:
    And that configuration would likely be used, maybe with different section names, but pretty much the same idea
     
  4. Offline

    Mercury

    When I said "Usually they buy at lower prices and sell at higher prices."
    I managed to mess up my "ratesback" rates. [sheep]

    http://pastie.org/3733023
     
  5. Offline

    turt2live

    It's fine :)

    I got the idea at least :p
     
  6. Offline

    Pythros

    Getting this when doing /gi rates

    Code:
     
    21:03:36 [INFO] pythros tried to use command /gi rates
    21:03:36 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'gi' in plugin Gold2Economy-Vault v1.4_r12
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:103)
            at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:169)
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.ClassCastException: com.feildmaster.lib.configuration.EnhancedConfiguration cannot be cast to com.feildmaster.lib.configuration.EnhancedMemorySection
            at com.feildmaster.lib.configuration.EnhancedConfiguration.getConfigurationSection(Unknown Source)
            at com.edtheloon.gold2economy.Functions.displayRates(Unknown Source)
            at com.edtheloon.gold2economy.Commands.onCommand(Unknown Source)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 14 more
    
    It still produces the rates on screen and states there is an error.
     
  7. Offline

    turt2live

    Interesting...

    I'll look into it, thanks :)
     
  8. Offline

    zombieman1000

    when i run the plugin it says vault enabled
    where vault is working fine
    plugins.start vault
    vault start correct
     
  9. Offline

    turt2live

    What?

    Gold2Economy - Vault 1.4_r13

    Fixed various bugs and added buyback (/gi buy).

    Your configurations will automatically update to accommodate the new feature :)

    How to setup item buyback:
    1. Open your config.yml
    2. You will see "buy" and "buy-rates"
    3. These are for iron/gold/diamond buyback
    4. Next, open "sell.yml"
    5. This is the same format as "items.yml", except this is buyback rates. (It is assumed that if an item is here, it is allowed to be bought back)
    Note about development on this plugin:
    This is the last update I'll be putting out myself (unless a major bug is encountered like a world goes missing).

    I'll continue to help with support requests ("It dun'dnt wrk", "How do I..."), but actual code will stop.

    I originally took over the plugin from EdTheLoon, and now it's at a state where it should be OK for a few more Minecraft versions (if not eternally). I would assume he would be OK with people sending pull requests based off my code (github) to his repo (github).

    For those who wish to take on any new features: Go ahead :)
    For those who want to use my version (1.4_r13), enjoy!

    (Since someone will ask...)
    I'm taking this off my todo list because work is getting stressful because of other plugins and such.

    In the event no one takes the project on for a plugin-breaking release, I'll (slowly) update it myself to maintain it, but it won't be top priority.

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

    zombieman1000

    it says that vault works but when the gold2economy runs it says it does not work
     
  11. Offline

    turt2live

    Try the update.

    If that doesn't work, please describe what is actually wrong. "It doesn't work" doesn't help me.
     
  12. Offline

    zombieman1000

    i got the update but for it doesn't work it says can load vault plugin needs vault to run or something like that
     
  13. Offline

    turt2live

    What is the exact message you are getting?
    Are there any errors?
    What is your CraftBukkit version?
    What EXACTLY is wrong?
     
  14. Offline

    zombieman1000

    vault must be enabled to use gold2economy
    no
    i donno i just downloaded the one that my server told me to get when it sayed it in purple
    the plugin wont load
     
  15. Offline

    turt2live

    That still doesn't help me :(

    Can you copy and paste the issue or screenshot it? Or something?
    I can't help you because I have no idea what the issue is. For all I know your server is on fire because of Vault :confused:
     
    Pythros likes this.
  16. Offline

    zombieman1000

    the issue is that it does not load cause of vault
    il try to copy and paste
     
  17. Offline

    zombieman1000

    nvm i got it to work i just added some stuff in notepad++ and its all good now
     
  18. Offline

    turt2live

    ok, glad you got it working :)
     
  19. Offline

    shanko

    NVM sorry
     
  20. Offline

    turt2live

    Glad you figured it out :)
     
  21. Offline

    ikoji

    i have it installed and it works fine i just have a question about custom items. i would like to add copper and silver to the list but the id's are 1257:3 and 1257:5. copper has a secong id thats 30248 which doesnt seem to work either. how would i make these convertable items?

    also, is there anyway i could name the items in the list? maybe even color them? it would be much nicer than "xID#" to say "copper" in brown/orange text.
    and silver in white text.

    # Custom Items List
    #
    # To add a new item, simply follow this structure:
    # ID: worth
    #
    # Example:
    # '1': 24.99
    # This would make stone worth 24.99
    1257,3: 10.0
    1257,5: 1.0
    '30248': 1.0

    also

    nevermind. idk how but i stopped getting this error.
    my previous questions still stand however.


    2012-06-17 22:50:58 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'gi' in plugin Gold2Economy-Vault v1.4_r13
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    at forge.bukkit.ForgeCommandMap.dispatch(ForgeCommandMap.java:54)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:491)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:917)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:873)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:855)
    at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:121)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:556)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
    at com.edtheloon.gold2economy.Functions.displayRates(Unknown Source)
    at com.edtheloon.gold2economy.Commands.onCommand(Unknown Source)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 13 more
     
  22. Offline

    turt2live

    First issue: G2E-Vault doesn't deal with modded items... ever. In fact I'm pretty sure it can't.

    Second: what are the steps to reproduce?
     
  23. Offline

    ikoji

    it works with copper ore just fine, just has the variable in convertable items list though.
    the error is insubstantial.
    i simply would like to know how to write items that have subvariables into a config file like that. im pretty sure vanilla items have subvariables as well but my mind is dull at the moment.
    also possibly a way to config the custom items names and collors. a simple config file with the proper hooks would be perfect.

    edit: by copper "ore" i mean't ingots. my apologies.
    i have two mods that give copper by the way. only one has its own id however, unlike the other one which has a subID as well.
     
  24. Offline

    turt2live

    You can't.

    I never got around to it, and may not ever. I dropped development on the last update because the plugin works to what it should. I may update it later, but it won't be anytime soon.
     
  25. Offline

    ikoji

    aight thats cool. i was just hoping i guess. and you're right its rine the way it is, gold standard is relally all you need. and a reliable way to trade. hope floauction gets workin soon.
     
    Flobi likes this.
  26. Offline

    Flobi

    floAuction should be working. Have any problems with it, let me know (not here though, on that forum page, or the devbukkit page or PM me).
     
  27. Offline

    Pielonious

    Stupid stupid question here. I try not to have to ask for help when I know it's a stupid question but I'm rather stumped.

    The plugin works fine and all that, but I'd like to add in the custom items (like wheat or potions) and in the config.yml it says to check the items.yml. However, there is no items.yml in the G2E plugin folder. Only the config.yml. My question is: where in the server files do I find the items.yml file? Like I said, stupid question, but a answer would be lovely <3
     
  28. Offline

    turt2live

    Should be auto-created. If not, you're using an outdated version
     
  29. Offline

    Pielonious

    I used the one found in your download link on the front page, the v1.4_r13, downloaded this morning.
     
  30. Offline

    turt2live

    Just manually create it then
     

Share This Page