Gold2Economy - Vault Edition Currently G2E-Vault is in version 1.4_r13. G2E is a plugin not written by myself, but in fact written by @EdTheLoon who seems to have left it behind A lot of people wanted Vault support so I made it happen, if you are interested in the versioning scheme I used scroll down to the bottom of the post, otherwise, I'll bet you want to know more about the plugin. Gold2Economy allows you as a player to sell your gold, iron, and diamonds for cash in an economy system. This is great if you want to implement a source of income for players, but don't want to hassle with shops. As a server administrator you can control whether or not each item can be converted to cash and control the rate. Developers: There is a maintained API for this plugin if you want to use it, it's straightforward and is in the progress of being documented by myself. Register is no longer supported due to the fact it is now 100% outdated, you MUST use Vault in order to have G2E-Vault work. How to install: Add the Gold2Economy JAR File to your /plugins folder Add the Vault JAR File to your /plugins folder Start your server Edit the configuration Type /gi reload Start using the plugin! Having issues? Submit a bug report here. Download: G2E Vault Edition: Click me! G2E Vault Source: Click me! (GitHub) G2E Register Only: Click me! (1.4 version, does NOT use Vault. Broken in CraftBukkit R5) Not recommended! Dependencies: Vault (Download) [REQUIRED] I am not the original author of this plugin, EdTheLoon is, I just added Vault to his plugin Commands /gi - Shows you the menu /gi rates - Shows you the conversion rates /gi buy <item> <amount> - Buys an item from the server /gi <item> <amount> - Converts <amount> of <item> into money. <item> can be 'iron', 'gold', 'diamond' or an item ID from the custom list /gi <item> all - Converts all of the <item> in your inventory into money. <item> can be 'iron', 'gold', 'diamond' or an item ID from the custom list /gi reload - Reloads the configuration Permissions Gold2Economy.iron - Allows the conversion of iron Gold2Economy.gold - Allows the conversion of gold Gold2Economy.diamond - Allows the conversion of diamond Gold2Economy.admin - Allows use of the reload command Gold2Economy.<itemID> - Allows the conversion of the custom item, this is not covered by Gold2Economy.* Gold2Economy.* - Allows access to all features Note: Permissions apply for both buy and sell! Change log: GitHub Commit History (turt2live) Version 1.4: Revision 13: (Source at this stage) Fixed various bugs Added buyback (/gi buy) Version 1.4: Revision 12: (Source at this stage) Cleaned code (mostly comments) Fixed custom items not being handled correctly Version 1.4: Revision 11: (Source at this stage) Various updates, nothing major Version 1.4: Revision 10: (Source at this stage) Removed debug code and fixed permission problem MC 1.2 Support Version 1.4: Revision 9: (Source at this stage) CraftBukkit R5 (MC 1.2) prep - No more register Added support for custom items Version 1.4: Revision 8: (Source at this stage) Bug Fix: Configuration not reloading Version 1.4: Revision 7: (Source at this stage) Recompiled to JRE 1.6.0 Version 1.4: Revision 6: (Source at this stage) Fixed the configuration "not working" issue by implementing @feildmaster'sConfiguration Library Version 1.4: Revision 5: (Source at this stage) Fixed the API Updated for CraftBukkit RB 1.1-R1 Version 1.4: Revision 4: (Source at this stage) Fixed /gi reload Fixed a bug that was bound to happen eventually (on Register disable/enable) Added Vault onEnable/Disable Fixed a configuration persistence error Fixed a configuration not loading correctly If anyone can fix the code I'm not really proud of you can see it here It is supposed to load the config for the plugin, but plugin.getConfig(); doesn't work right This code will not ruin functionality of the plugin, I just don't like it Broke the API, badly Yea, sorry, I kinda hit it with a truck then smashed it with a hammer after I finished fixing the configHandler... I'm working on fixing it though. Version 1.4: Revision 3: (Source at this stage) Fixed a few /gi command bugs Added the VaultSupport class to handle portions of Register as well Started adding GitHub tags for releases Version 1.4: Revision 2: Fixed some command bugs Version 1.4: Revision 1 (First Release): Added Vault Support Anything pre-1.4_r1 is EdTheLoon's code, you can see the commit history here. Versions are named as follows: Version X.Y_rZ X.Y represents the last build of G2E built by EdTheLoon while _rZ represents the build I made. For example, Version 1.4_r5 means that G2E-Vault is based on EdTheLoon's 1.4 version of G2E and this is the 5th revision I (turt2live) have done to the plugin. Old Files: Click Here for all old versions (with Vault) See EdTheLoon's Register-only plugin for old files before I stepped in.