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

    All "plugins" go into the "plugins" folder where you have your CraftBukkit JAR file
    1. Turn off the server (if it is running)
    2. Simply choose an economy plugin (such as iConomy)
    3. Move the JAR file to "plugins"
    4. Edit the settings (optional)
    5. Download Register or Vault and move the JAR file to "plugins" (no settings required)
    6. Download Gold2Economy and once again put the JAR in "plugins"
    7. Edit G2E's settings (optional)
    8. Start the server
    9. Try the commands, if you get "internal server error", check your server.log file where your CB JAR is, look for a "stack trace" (looks something like this), if it mentions "Gold2Economy" anywhere, post it here so I can help you further.
    If you choose to edit the settings of a plugin (such as Gold2Economy), you will likely find it in the plugins folder, from there look for the name of the plugin (eg: Gold2Economy-Vault) and open the folder; Inside you should find a config.yml file. To edit a setting simple change the value, YAML works where anything before ':' is the variable name (developer side) and anything after is the setting, don't edit the number of spaces before the ':' and ensure you have not used the TAB key. As well, do not edit the 'variable name', this will break the plugin.

    Let me know if you need any more help :)

    Edit: If the folder is not there for settings, simply start the server then turn it back off. The folder will be generated.

    To turn off the server, type 'stop' into the console window. Don't use the close button on the window.

    For all the people saying that you don't need to start and stop a server this frequently, you are right. But it is safer to stop the server then edit settings than it is to leave the server running.
     
  2. Offline

    Kabino

    Hey, not trying to rush you but I'm just wondering if you got around to fixing per world permissions. Thanks a bunch!
     
  3. Offline

    turt2live

    I've been trying, another project of mine took priority when a fairly large bug report came my way (CPU use suddenly spikes with the newest dev builds).

    Once I get that stable G2E-Vault will be released (with per-world permissions), although that release may be delayed if MC1.2 is expected soon (which it is).
     
  4. Offline

    turt2live

    I am sorry for the delays,

    I'm cleaning up Gold2Economy's code so it is easier to read while coming up with new hooks for PEX and some other permissions plugins (hooking through Vault as Register is no longer supported in G2E's next version because of the R5 cleanup).

    As I said, I do apologize and I hope no one is too mad at me :(
     
  5. Offline

    bikita

    Thanks a lot! it helped me very much :D
     
  6. Offline

    turt2live

    Your welcome :D
     
  7. Offline

    bikita

    btw it says iconomy 6 is out of date, and this whole long bitchy code, could u give me a link that is up to date? and an internal error has occured again and i went to server.log.lck but it was empty could it be because of iconomy 6 out of date?
     
  8. Offline

    turt2live

    You will have to talk to the iConomy people about that, I didn't even know it was out of date.

    As for the log, check "server.log", not "server.log.lck".
     
  9. Offline

    bikita

    i will and lol i dont have a server.log only a server.log.lck
     
  10. Offline

    turt2live

    The lck file is useless, it's only there to determine what log to write to.

    Your server.log may be hidden or you have a plugin that removes the log
     
  11. Offline

    bikita

    lol i may be an idiot :) i just realized i had craftbukkit-0.0.1-SNAPSHOT.jar is that an outdated version lol? because im downloading a new one right now from bukkit
     
  12. Offline

    turt2live

    No way to tell.
    0.0.1 is the version 'code' for 'latest download' at the time of downloading.
    (When you downloaded it, it was the latest)

    I aplogize for the delays.
    But I have released 1.4_r9 which uses Vault's permission handler to do permissions, which supports multiple worlds.
    Although, as a warning:
    1.4_r9 does NOT support Register anymore in preparation for CraftBukkit R5 (Minecraft 1.2).

    If this affects you, I am sorry, blame the author of Register.


    1.4_r9 has better permissions support and supports 'custom' items.

    Download 1.4_r9 here.

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

    Mritsmeboy

    When i start gold2economy i get the message that vault isnt enabled what is the code to enable vault
     
  14. Offline

    turt2live

    You need to download Vault.
     
  15. Offline

    Kabino

    Thank you very much! :)
     
  16. Offline

    devatrox

    Hello!

    I installed this plugin but it keeps telling me I don't have permission when trying to convert items. Checking rates and reloading works fine though. No error in the log file.
    Also it still keeps listing Stone as an item to convert but I already removed it from the items.yml.

    It's CB 1.1-R3, PEX 1.18, Vault 1.2.9 and G2E 1.4-R9

    [​IMG]
    (the part with the valid item ID seems to be my fault though. I didn't include the gold nuggets in the config.yml. But when I try a valid item like iron it just tells me I don't have permission)


    Code:
    # Gold2Economy - Vault Configuration
    # "convert" - true/false, convert <ITEM>
    # "rates" - double (decimal), rate for <ITEM>
    # "preferred" - Does nothing as Register was removed
    #
    # To set your own items, see 'items.yml'
    convert:
      iron: true
      gold: true
      diamond: true
    rates:
      iron: 9.99
      gold: 29.99
      diamond: 99.99
    preferred: iConomy 6
    Code:
    2012-02-26 09:32:29 [INFO] Starting minecraft server version 1.1
    2012-02-26 09:32:29 [INFO] Loading properties
    2012-02-26 09:32:29 [INFO] Starting Minecraft server on 85.131.153.46:25565
    2012-02-26 09:32:30 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R3-b1846jnks (MC: 1.1) (Implementing API version 1.1-R3)
    2012-02-26 09:32:30 [INFO] [PermissionsEx] sql backend registered!
    2012-02-26 09:32:30 [INFO] [PermissionsEx] file backend registered!
    2012-02-26 09:32:30 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    2012-02-26 09:32:30 [INFO] [PermissionsEx] p2compat backend registered!
    2012-02-26 09:32:30 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    2012-02-26 09:32:30 [INFO] [PermissionsEx] Initializing file backend
    2012-02-26 09:32:30 [INFO] [Spout] Loading Spout v737.
    2012-02-26 09:32:30 [INFO] [Spout] Spout 737 has been initialized
    2012-02-26 09:32:30 [INFO] [Vault] Loading Vault v1.2.9-b111.
    2012-02-26 09:32:30 [INFO] [Vault][Economy] iConomy 6 found: Waiting
    2012-02-26 09:32:30 [INFO] [Vault][Permission] PermissionsEx found: Waiting
    2012-02-26 09:32:30 [INFO] [Vault][Permission] SuperPermissions loaded as backup permission system.
    2012-02-26 09:32:30 [INFO] [Vault][Chat] PermissionsEx found: Waiting
    2012-02-26 09:32:30 [INFO] [Vault] Enabled Version 1.2.9-b111
    2012-02-26 09:32:30 [INFO] [RealPlugin] Loading RealPlugin v1.08.
    2012-02-26 09:32:30 [INFO] [RealPlugin] version [1.08] (tickleman) loaded
    2012-02-26 09:32:30 [INFO] [LWC] Loading LWC v4.0.9 (b625-git-be4387f7).
    2012-02-26 09:32:30 [INFO] LWC: Loading shared objects
    2012-02-26 09:32:31 [INFO] LWC: Native library: plugins/LWC/lib/native/Linux/amd64/libsqlitejdbc.so
    2012-02-26 09:32:31 [INFO] LWC: Protection cache: 0/10000
    2012-02-26 09:32:31 [INFO] LWC: Loaded 207 locale strings (0 overrides)
    2012-02-26 09:32:31 [INFO] LWC: Permissions API: NijiPermissions
    2012-02-26 09:32:31 [INFO] LWC: Currency API: iConomy6Currency
    2012-02-26 09:32:31 [INFO] LWC: Connecting to MySQL
    2012-02-26 09:32:31 [INFO] LWC: Performing any necessary database updates
    2012-02-26 09:32:31 [INFO] LWC: Using: Mysql-connector-java-5.1.14 ( Revision: ${bzr.revision-id} )
    2012-02-26 09:32:31 [INFO] LWC: Precached 216 protections.
    2012-02-26 09:32:31 [INFO] LWC: At version: 4.0.9 (b625)
    2012-02-26 09:32:31 [INFO] Preparing level "world"
    2012-02-26 09:32:31 [INFO] Default game type: 0
    2012-02-26 09:32:31 [INFO] LWC: Latest version: 4.0.9
    2012-02-26 09:32:31 [INFO] Preparing start region for level 0 (Seed: -503560570)
    2012-02-26 09:32:32 [INFO] Preparing spawn area: 97%
    2012-02-26 09:32:32 [INFO] Preparing start region for level 1 (Seed: 3505882678646392869)
    2012-02-26 09:32:33 [INFO] Preparing start region for level 2 (Seed: 3505882678646392869)
    2012-02-26 09:32:34 [INFO] Preparing spawn area: 65%
    2012-02-26 09:32:34 [INFO] [iConomy] Loading iConomy v6.0.8b.
    2012-02-26 09:32:34 [INFO] [iConomy - Celty] Enabled (32 ms)
    2012-02-26 09:32:34 [INFO] [Vault][Economy] iConomy 6 hooked.
    2012-02-26 09:32:34 [INFO] [CommandBook] Loading CommandBook v2.0.
    2012-02-26 09:32:34 [INFO] [CommandBook] Maximum wrapper compatibility is enabled. Some features have been disabled to be compatible with poorly written server wrappers.
    2012-02-26 09:32:34 [INFO] WEPIF: Using the Bukkit Permissions API.
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component SessionComponent successfully enabled!
    2012-02-26 09:32:34 [INFO] [CommandBook] 6 banned name(s) loaded.
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component BansComponent successfully enabled!
    2012-02-26 09:32:34 [INFO] [CommandBook] 22 Homes(s) loaded
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component HomesComponent successfully enabled!
    2012-02-26 09:32:34 [INFO] [CommandBook] 0 Warps(s) loaded
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component WarpsComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component MessagingComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component TeleportComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component InventoryComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component TimeComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component NameVerificationComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component FunComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component DebugComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component ThorComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component OnlineListComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component StoredMessagesComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component SpawnLocationsComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component InfoComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component WorldComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component PlayerComponent successfully enabled!
    2012-02-26 09:32:34 [FINEST] [CommandBook] Component GodComponent successfully enabled!
    2012-02-26 09:32:34 [INFO] [Plugins_info] Loading Plugins_info v1.12.
    2012-02-26 09:32:34 [INFO] [Plugins_info] PLUGIN_INFO v1.12 is enabled! created by: Patrick_pk91
    2012-02-26 09:32:34 [INFO] [Plugins_info]: Searching upgrade...(maybe during few second)
    2012-02-26 09:32:34 [INFO] [Plugins_info]: Your version of Plugins_info is the lastest!
    2012-02-26 09:32:34 [WARNING] [Plugins_info] [SQLite] Error at SQL Query: [SQLITE_ERROR] SQL error or missing database (unrecognized token: ".5c")
    2012-02-26 09:32:34 [INFO] [Plugins_info] Permissions v2.7.7 found
    2012-02-26 09:32:34 [INFO] [Plugins_info] PermissionsEx v1.18 found
    2012-02-26 09:32:34 [INFO] [Reservations] Loading Reservations v1.3.
    2012-02-26 09:32:34 [INFO] [Reservations] is enabled!
    2012-02-26 09:32:34 [INFO] [OpenInv] Loading OpenInv v1.7.3.
    2012-02-26 09:32:34 [INFO] [OpenInv] version 1.7.3 enabled!
    2012-02-26 09:32:34 [INFO] [PermissionsEx] Loading PermissionsEx v1.18.
    2012-02-26 09:32:34 [INFO] [PermissionsEx] Superperms support enabled.
    2012-02-26 09:32:34 [INFO] [PermissionsEx] v1.18 enabled
    2012-02-26 09:32:34 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions.
    2012-02-26 09:32:34 [INFO] [Vault][Permission] PermissionsEx hooked.
    2012-02-26 09:32:34 [INFO] [Vault][Permission] PermissionsEx_Chat hooked.
    2012-02-26 09:32:34 [INFO] [Modifyworld] Loading Modifyworld v1.18.
    2012-02-26 09:32:34 [INFO] [Modifyworld] Modifyworld enabled!
    2012-02-26 09:32:34 [INFO] [SmoothRide] Loading SmoothRide v1.0.
    2012-02-26 09:32:34 [INFO] [MailBox] Loading MailBox v2.4.
    2012-02-26 09:32:34 [INFO] [MailBox] New thread running.
    2012-02-26 09:32:34 [INFO] [MailBox] Hooked into iConomy 6
    2012-02-26 09:32:34 [INFO] [MailBox]: (web-response): Plugin is up to date.
    2012-02-26 09:32:34 [INFO] MailBox version 2.4 is enabled! (MySQL is enabled.)
    2012-02-26 09:32:34 [INFO] [ChatManager] Loading ChatManager v1.18.
    2012-02-26 09:32:34 [INFO] [ChatManager] ChatManager enabled!
    2012-02-26 09:32:34 [INFO] [RealShop2] Loading RealShop2 v2.23.
    2012-02-26 09:32:34 [INFO] [RealShop2] version [2.23] (tickleman) loaded
    2012-02-26 09:32:34 [INFO] [RealShop2] Economy provider iConomy 6 enabled (Vault)
    2012-02-26 09:32:34 [INFO] [RealShop2] Economy provider iConomy 6 enabled (Vault)
    2012-02-26 09:32:34 [INFO] [DragonTravel] Loading DragonTravel v2.3.
    2012-02-26 09:32:34 [INFO] [DragonTravel] Loaded configuration
    2012-02-26 09:32:34 [INFO] [DragonTravel] Loaded destinations
    2012-02-26 09:32:34 [INFO] [DragonTravel] Loaded stations
    2012-02-26 09:32:34 [INFO] [DragonTravel] Loaded signs
    2012-02-26 09:32:34 [INFO] [DragonTravel] Loaded player homes
    2012-02-26 09:32:34 [INFO] [DragonTravel] Hooked into Spout
    2012-02-26 09:32:34 [INFO] [DragonTravel] Using Vault for economy support
    2012-02-26 09:32:34 [INFO] [DragonTravel] Enabled v2.3.
    2012-02-26 09:32:34 [INFO] [RealShop2] Economy provider iConomy 6 enabled (Vault)
    2012-02-26 09:32:34 [INFO] [Permissions] Loading Permissions v2.7.7.
    2012-02-26 09:32:34 [INFO] [PermissionsCompat] Compatibility layer enabled.
    2012-02-26 09:32:34 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions.
    2012-02-26 09:32:34 [INFO] [RealShop2] Economy provider iConomy 6 enabled (Vault)
    2012-02-26 09:32:34 [INFO] [Gold2Economy-Vault] Loading Gold2Economy-Vault v1.4_r9.
    2012-02-26 09:32:34 [INFO] [Gold2Economy-Vault] Version 1.4_r9 enabled. Using iConomy 6 [VAULT]
    2012-02-26 09:32:34 [INFO] [RealShop2] Economy provider iConomy 6 enabled (Vault)
    2012-02-26 09:32:34 [INFO] [DeathTpPlus] Loading DeathTpPlus v3.8.0.1818.
    2012-02-26 09:32:34 [INFO] [DeathTpPlus] allow-wordtravel is: no
    2012-02-26 09:32:34 [INFO] [DeathTpPlus] Keeping Experience on Quickloot is: true
    2012-02-26 09:32:34 [INFO] [DeathTpPlus] Keep in mind it only works if people are quicklooting their TombStone!
    2012-02-26 09:32:34 [INFO] [DeathTpPlus] Configuration v.3.4 loaded.
    2012-02-26 09:32:34 [INFO] [DeathTpPlus] Config is up to date
    2012-02-26 09:32:34 [INFO] [DeathTpPlus] Loading death messages...
    2012-02-26 09:32:34 [INFO] [DeathTpPlus] Deathmessages v.3.4 loaded.
    2012-02-26 09:32:34 [INFO] [DeathTpPlus] Loading tomb messages..
    2012-02-26 09:32:34 [INFO] [DeathTpPlus] Tombmessages v.3.4 loaded.
    2012-02-26 09:32:35 [INFO] [DeathTpPlus] Found LWC (v4.0.9 (b625-git-be4387f7))
    2012-02-26 09:32:35 [INFO] [DeathTpPlus] Successfully loaded 0 TombStones for world world
    2012-02-26 09:32:35 [INFO] [DeathTpPlus] Successfully loaded 0 TombStones for world world_nether
    2012-02-26 09:32:35 [INFO] [DeathTpPlus] Successfully loaded 0 TombStones for world world_the_end
    2012-02-26 09:32:35 [INFO] [DeathTpPlus] v3.8.0.1818 enabled
    2012-02-26 09:32:35 [INFO] [RealShop2] Economy provider iConomy 6 enabled (Vault)
    2012-02-26 09:32:35 [INFO] [DeathTpPlus] Vault detected
    2012-02-26 09:32:35 [INFO] [DeathTpPlus] Checking ecnomony providers now!
    2012-02-26 09:32:35 [INFO] [DeathTpPlus] Economy provider found: iConomy 6
    2012-02-26 09:32:35 [INFO] [Factions] Loading Factions v1.6.5c.
    2012-02-26 09:32:35 [INFO] [Factions v1.6.5c] === ENABLE START ===
    2012-02-26 09:32:35 [INFO] [Factions v1.6.5c] Loading board from disk
    2012-02-26 09:32:35 [INFO] [Factions v1.6.5c] Found and will use features of Spout v737
    2012-02-26 09:32:35 [INFO] [Factions v1.6.5c] Economy integration through Vault plugin successful.
    2012-02-26 09:32:35 [INFO] [Factions v1.6.5c] Successfully hooked into LWC! Integration is currently disabled, though ("lwcIntegration").
    2012-02-26 09:32:35 [INFO] [Factions v1.6.5c] === ENABLE DONE (Took 276ms) ===
    2012-02-26 09:32:35 [INFO] [RealShop2] Economy provider iConomy 6 enabled (Vault)
    2012-02-26 09:32:35 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2012-02-26 09:32:35 [INFO] Done (3.775s)! For help, type "help" or "?"
    2012-02-26 09:33:23 [INFO] devatrox [/89.0.134.187:63235] logged in with entity id 556 at ([world] -917.53125, 59.0, -669.84375)
    2012-02-26 09:49:08 [INFO] Connection reset
    2012-02-26 09:49:08 [INFO] devatrox lost connection: disconnect.quitting
    
     
  17. Offline

    turt2live

    Can you pastebin your items.yml please?
     
  18. Offline

    devatrox

    That's funny, now stone is back in the items.yml !
    Code:
    # 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
    '1': 24.99
    '371': 4.99
    But I don't think if this has anything to with the "You don't have permission" problem, because I have tried this without even changing the items.yml first. It happens with iron.
     
  19. Offline

    turt2live

    The stone looks like it's remains of my debug :p (I'll fix that)
    As for the iron, I'll look at it, see if I can trick the plugin or something

    devatrox

    I've fixed the issue now

    G2E-Vault: 1.4_r10
    • Removed Debug Code
    • Fixed permissions error with 'classic' items
    Download here: G2E-Vault v1.4_r10

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

    devatrox

    Awesome thanks! I'll try that later.

    turt2live

    It seems to work now. Thank you for fixing it!

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

    turt2live

    Your welcome :)
     
  22. Offline

    samcool_129

    "This server doesn't allow that to be converted!"
    Here is the items.yml :
    Code:
    # 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
     
    '263': 1.0
     
  23. Offline

    turt2live

    CraftBukkit version?
    Any errors?
    Are you sure you want item 263?
     
  24. Offline

    samcool_129

     
  25. Offline

    turt2live

    Since you are using a dev version of CraftBukkit, G2E-Vault may simply not work with it.

    I'll look into it and push a release if needed.

    G2E-Vault: 1.4_r12
    • Cleaned up code (comments mostly)
    • Fixed minor bug where 'custom' items were unavailable to be sold
    Download here: G2E-Vault v1.4_r12

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

    samcool_129

    Thank you !
     
  27. Offline

    turt2live

    You are welcome :)
     
  28. Offline

    sutonimh

    Tried to get your plugin working but to no avail. Install is good and responding to commands. /gi items gets me this.

    [​IMG]

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.ClassCastException: com.feildmaster.lib.configuration.EnhancedConfiguration canno t be cast to com.feildmaster.lib.configuration.EnhancedMemorySection
    at com.feildmaster.lib.configuration.EnhancedConfiguration.getConfigurationSection(Unknown Sou rce)
    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)
    ... 12 more

    My configs can be found here.
    http://stuff.arsed.org/config.yml
    http://stuff.arsed.org/items.yml
    Any help would be greatly apreciated.
     
  29. Offline

    turt2live

    I don't know how you got the error (I can't reproduce that), but from what I can tell you want the item listing, which would be /gi rates, not /gi items. Correct?
     
  30. Offline

    Mercury

    turt2live

    I have a suggestion. Like any other Money Exchange they sell and buy. Usually they buy at lower prices and sell at higher prices. besides Gold2Economy you could also add Economy2Gold(Diamond, Iron) but with other prices :)
     

Share This Page