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

    Do you have Register and/or Vault installed?
     
  2. Offline

    Mercury

    I have Vault (1.2.5) installed.
    Also doesn't work with BOSE.
     
  3. Offline

    turt2live

    I'll look into it when I can :/​
     
  4. Offline

    Mercury

    I removed all plugins except BOSE, Gold2Eco, Vault to be sure.
     
  5. Offline

    turt2live

    At closer inspection of the error, you aren't running Gold2Economy-Vault at all.
    You need to download the JAR from this post to get it working :)
     
  6. Offline

    Mercury

    I see. You have so many links :D
    It's a bit confusing. I downloaded from BukkitDev and i only found that version under files.

    I would love to see dynamic conversion :p
     
  7. Offline

    turt2live

    Sorry about that, I'll get to work on fixing it :p

    For ease of access, >here< is the download link
     
  8. Offline

    EdTheLoon

    Thank you :)
     
  9. Offline

    turt2live

    Your welcome :)
    Would you like to maintain it?
     
  10. Offline

    Tallkid96

    when I try to trade in gold it says "this server does not allow gold to be converted", in the config gold is set to true, i have the permissions, and i have the latest vault and bukkit but it does not work
     
  11. Offline

    turt2live

    I can't reproduce this, check to make sure you have permission to convert <item>
    If you still get the problem, type '/gi rates'
    If the item you want doesn't show up check your config again, type '/gi reload' after editing, then type '/gi rates' again
    If the item you want STILL doesn't show up, double check you have the 1.1-R1 RB of CraftBukkit, if you do, and the error still occurs, check your server.log for gold2economy errors, if any, pastebin them here. If no errors occur then I'm stumped but I'll look into it.
     
  12. Offline

    Rellac

    Erm.. I can't seem to download the vault edition, I'm just getting a wall of encrypted text.

    Code:
    PK��BU9@��������������META-INF/MANIFEST.MFþÊ��óMÌËLK-.Ñ
    K-*ÎÌϳR0Ô3àå
    NMÌIM±R()*Mååâå�PKw‚ð9)���'���PK��9U9@������������
    ���.classpath•’MKÃ@†Ï
    þ‡°G!“ä xh,E"Z0-IìU6»cºÍvö£´ÿÞÄX*Z”Üv–çyç=ÌdºßJo‡ÚˆFÅ$‚x¨XÃ…ªbòZ<úwdzu9a’ÓR»î†‹Ó„ÊêƒWÅcb4#^ÿ9<ƒs$î™tCø5ùíIQž÷’5êH6ºdR´aÃ-Hê[wÁ0Ï’·‡EZÌžÓ$~rBYÔŠJàXº
    œø2QCn©âTóÕKqh1˜ÓÍ?‚Û¿*õOå¦é»-]]ë‡Bäçél™?-
    ØP="(ÃJ˜®j·ÿf¤º¢NÚ‘ÎõV˜þÌfãlëìQ.…ú„'Á÷ù�PK¯m��W��PK
    ����9U9@���������������com/PK
    ����9U9@���������������com/edtheloon/PK
    ����9U9@���������������com/edtheloon/gold2economy/PK��9U9@������������-���com/edtheloon/gold2economy/gold2economy.classWùwWþž-{dùeS“6II;N‘äÄJM;u/qœJ²‰;¤éXËcfÔ™Qœ(P(eii)p(ûv¨ÓÊv]Ê^ e/û¾þüÆáôäpߌdËN¤ØçxÞ»ïÝíÝûÝ÷®^¸ôÌs�öáßêv¥Í\TÍ8ãªnšF4kê™}jÚ4Ìܹe„C‹ie££…ÉI͉æõBV3¢Ê%zŒ>ƒ.Í°n°÷x¼?™ìHœî?>`Æ\&]1²Ñ¤ciF¶ƒaM·iØŽb8)E/¨~41lèöz={mše®ÐÖ7ëñƒ¯d^’‘
    ÆžþÃññ®cظŒ7£)9Ó öõì‡{âý    ?‚¤d³’ɉ59¦e"±±ò˜Ž*FFW-:߆¼jå4ÛÖL£´XV`hÚ¤]Ú·£ƒ+yI¤Ê¨®’¯l„¡.Ÿ£ðÇ.¿ö¸b(YW,X¡··¬!P°ÕL\uÆM"vUx1Y0¢–šÕlGµ¢yå\N5œ¨ÇHºÎ(Ýa×:xJð$ù¼i9$S¯›ª^ÊŽ¦Gi<ÌFc4º.ú¥uÍÐœNâ…S¾n3£6áU›p˜…8®Ãf1‹plÁV1ÛÍq½·ÖÆñ
    l³½7àF?ö14Å5CM[ʘÀk°_ÂÍ›«¹Áq�·LVu¼Rº§áêçÖÛ9d´Jcd:QȍªÖ¹À¼™Vô”bi‚.-6r@=nã¸;èèθf_%•„Ÿix‰•ÐC˜¨!h«ÖÕ
    Etc. Is there something wrong with this link or am I a complete idiot?
     
  13. Offline

    turt2live

    Taking a wild guess, you are using Firefox, if so, right-click the link: Save file as...
     
  14. Offline

    Rellac



    I'm an idiot, thanks.
     
  15. Offline

    turt2live

    Not an idiot, just forgot that Firefox hates JAR files ;P
     
  16. Offline

    Rellac

    haha, true.. :(

    Anyhoo, I'm getting this on startup, am I being dumb again?
    Code:
    [SEVERE] Error occurred while enabling Gold2Economy-Vault v1.4_r5 (Is it up to date?): org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V
    java.lang.NoSuchMethodError: org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V
        at com.edtheloon.gold2economy.server.init(server.java:25)
        at com.edtheloon.gold2economy.gold2economy.onEnable(gold2economy.java:43)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:970)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:355)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:342)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:174)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
  17. Offline

    turt2live

    CraftBukkit 1.1-R1 RB?
     
  18. Offline

    Rellac

    edit:

    I managed to get my hands on r1. Here's my error on startup:

    Code:
    2012-01-27 15:31:04 [INFO] [Gold2Economy-Vault] Loading Gold2Economy-Vault v1.4_r5.
    2012-01-27 15:31:04 [INFO] [Gold2Economy] Version 1.4_r5 enabled. Using iConomy 6 [VAULT]
    2012-01-27 15:31:04 [SEVERE] java.io.FileNotFoundException: plugins\Gold2Economy\config.yml (The system cannot find the path specified)
    2012-01-27 15:31:04 [SEVERE]    at java.io.FileInputStream.open(Native Method)
    2012-01-27 15:31:04 [SEVERE]    at java.io.FileInputStream.<init>(Unknown Source)
    2012-01-27 15:31:04 [SEVERE]    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109)
    2012-01-27 15:31:04 [SEVERE]    at com.edtheloon.gold2economy.configHandler.loadConfig(configHandler.java:93)
    2012-01-27 15:31:04 [SEVERE]    at com.edtheloon.gold2economy.configHandler.createConfig(configHandler.java:82)
    2012-01-27 15:31:04 [SEVERE]    at com.edtheloon.gold2economy.gold2economy.onEnable(gold2economy.java:100)
    2012-01-27 15:31:04 [SEVERE]    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
    2012-01-27 15:31:04 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
    2012-01-27 15:31:04 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379)
    2012-01-27 15:31:04 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
    2012-01-27 15:31:04 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
    2012-01-27 15:31:04 [SEVERE]    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
    2012-01-27 15:31:04 [SEVERE]    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
    2012-01-27 15:31:04 [SEVERE]    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
    2012-01-27 15:31:04 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
    2012-01-27 15:31:04 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    2012-01-27 15:31:04 [SEVERE] java.io.FileNotFoundException: plugins\Gold2Economy\config.yml (The system cannot find the path specified)
    2012-01-27 15:31:04 [SEVERE]    at java.io.FileInputStream.open(Native Method)
    2012-01-27 15:31:04 [SEVERE]    at java.io.FileInputStream.<init>(Unknown Source)
    2012-01-27 15:31:04 [SEVERE]    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109)
    2012-01-27 15:31:04 [SEVERE]    at com.edtheloon.gold2economy.configHandler.loadConfig(configHandler.java:93)
    2012-01-27 15:31:04 [SEVERE]    at com.edtheloon.gold2economy.configHandler.reload(configHandler.java:134)
    2012-01-27 15:31:04 [SEVERE]    at com.edtheloon.gold2economy.gold2economy.onEnable(gold2economy.java:102)
    2012-01-27 15:31:04 [SEVERE]    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
    2012-01-27 15:31:04 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
    2012-01-27 15:31:04 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379)
    2012-01-27 15:31:04 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
    2012-01-27 15:31:04 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
    2012-01-27 15:31:04 [SEVERE]    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
    2012-01-27 15:31:04 [SEVERE]    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
    2012-01-27 15:31:04 [SEVERE]    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
    2012-01-27 15:31:04 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
    2012-01-27 15:31:04 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    My extremely limited coding knowledge tells me there's supposed to be a config somewhere that hasn't spawned.
     
  19. Offline

    turt2live

    I'll look into it, and yes, its trying to find a missing config
     
  20. Offline

    Sleaker

    private File configFile = new File("plugins/Gold2Economy" + File.separator + "config.yml"); <-

    Change to

    new File(plugin.getDataFolder(), config.yml);

    You may need to shift around where you're instantiating the variable.

    Otherwise plugin.getConfig() is a much better method to use.
     
  21. Offline

    turt2live

    Thank you, I knew the config would cause issues at somepoint :/

    Updated to version 1.4_r6 : This fixes the configuration issue

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

    EdTheLoon

    As you may have guessed from my continued absence; I am very busy. I got my promotion at work so I'm now even busier than before. I'll continue to merge pull requests if you wish to make any but I don't think I'll be doing any of my own coding for a while.
     
  23. Offline

    turt2live

    Alright, I'll keep it stable across CraftBukkit builds, although I am fairly busy myself so in my spare time I will clean up the code if you don't mind :)
     
  24. Offline

    QweSteR

    Gold2Economy VAULT EDITION v1.4_r6 - not working

    CraftBukkit #1818
    Iconomy 6.0.8b
    Vault 1.2.6

    2012-01-29 20:45:07 [SEVERE] Could not load 'plugins\Gold2Economy-Vault.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: com/edtheloon/gold2economy/gold2economy : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    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(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:285)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:200)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:156)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:132)
    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:407)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
  25. Offline

    turt2live

    Means you don't have Java JRE 1.7.

    Get it here (sadly I can't compile it into JRE 1.6 or lower at the moment)
     
  26. Offline

    QweSteR

    Ok. THX.

    And new problem...

    /gi gold all

    "You don't have permission to do this"

    My perm...

    - Gold2Economy.iron
    - Gold2Economy.gold
    - Gold2Economy.diamond
    - Gold2Economy.admin
    - Gold2Economy.*


    Need tutorial
     
  27. Offline

    turt2live

    /id gold all
    ^ Not a command.
    /gi gold all
     
  28. Offline

    QweSteR

    /gi gold all

    "You don't have permission to do this"

    ---
    convert:
    iron: true
    gold: true
    diamond: true
    rates:
    iron: 9.99
    gold: 29.99
    diamond: 99.99
    permissions:
    use: true
    Permissions: false
    PermissionsBukkit: true
    preferred: iConomy 6

    or

    convert:
    iron: true
    gold: true
    diamond: true
    rates:
    iron: 9.99
    gold: 29.99
    diamond: 99.99
    permissions:
    use: false
    Permissions: false
    PermissionsBukkit: true
    preferred: iConomy 6

    /gi gold all

    "You don't have permission to do this"

    Gold2Economy-Vault v1.4_r6.
    Vault 1.2.6
    iConomy 6.0.8b
    PermissionsEx v1.18 (or 1.17)
    CraftBukkit 1846 (or 1818) Recommended Builds

    permissions:
    use: false
    Permissions: true
    PermissionsBukkit: false
    preferred: iConomy 6

    or

    permissions:
    use: true
    Permissions: true
    PermissionsBukkit: false
    preferred: iConomy 6

    2012-01-31 03:01:14 [INFO] [Gold2Economy-Vault] Loading Gold2Economy-Vault v1.4_r6.
    2012-01-31 03:01:14 [INFO] [Gold2Economy-Vault] Version 1.4_r6 enabled. Using iConomy 6 [VAULT]
    2012-01-31 03:01:14 [SEVERE] Could not pass event org.bukkit.event.server.PluginEnableEvent to Gold2Economy-Vault
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1064)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
    ... 11 more
    Caused by: java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
    at com.edtheloon.gold2economy.server.onPluginEnable(Unknown Source)
    ... 16 more
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    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(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 17 more

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

    turt2live

    I can't recreate the issue, try the following, check for issues after each step:
    • Update CraftBukkit even if you think you have an up-to-date version
    • Remove ALL plugins except for Gold2Economy-Vault and Vault (or Register)
    • Delete/Rename all configuration files for G2E and Vault (or Register)
    • Update G2E-Vault even if you think you have the up-to-date version (You can use the build on my Jenkins here if you need to)
    If you are still getting issues it may be OS specific, so please provide the following if you don't mind (but please try all f the above first):
    • Pastebin from the server log 5 lines before each error, and 5 lines after each error
    • Your Operating System (eg: Windows 7)
    • CraftBukkit Version, Vault Version (if using Vault), G2E-Vault Version
    I'll do my best to recreate the issue in the meantime although it looks like another plugin you have is conflicting with G2E-Vault
     
  30. Offline

    QweSteR

    ok

    Gold2Economy - Vault Edition support PermissionsEx?

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

Share This Page