MultiCurrencyby AshthekingWhat is MultiCurrency? A lightweight yet powerful plugin providing multiple currencies. Perfect for that RP server with different nations! Or perhaps usable for that Stock Market server? Whatever you are looking for, this plugin is for you. Created for the private server TJRP (tjrp.proboards.com), I decided to release this for the world. Download: MultiCurrency Source included in jar. Command List: Alias are the same, with "mc" infront, aka "/mcpay" instead of "/pay." Permissions: Uses these nodes if Permissions is installed, else it uses the above settings. Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler ashtheking.multicurrency.info: (/money command) ashtheking.multicurrency.pay (/pay command) ashtheking.multicurrency.create (/create command) ashtheking.multicurrency.convert (/convert command) ashtheking.multicurrency.exchange (/exchange command) ashtheking.multicurrency.remove (/remove command) (If the config is set up for this) ashtheking.multicurrency.obtain.<currency> (receiving from /pay command) BUGS: None so far, Please email email@example.com OR post here with any bugs. For Plugin Developers (How to hook into MultiCurrency): Uneeded now, it's part of Register! Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler Hooking into MultiCurrency is about the easiest thing to do. Here's how. Start by importing the following. Code: import me.ashtheking.currency.CurrencyList; Then, when you wish to modify the currency (add / subtract / multiply/ divide), use this. If you do not specify, currency, uses whatever currency the player has the most of. Code: CurrencyList.<function>(String playerName, double amount, [optional] String currency) You can check things about the currency, such as isNegative, hasOver, hasUnder, hasEnough, all of which have arguments: (String playerName, double amount, (optional) String currency). If you don't specify currency, does the same as the functions. If you wish to add your own currency, simply use this code, where "m" is a Material: Code: CurrencyList.addCurrency(currency, m.name()); If you ever need help, just check the source code included in the jar, or email me at firstname.lastname@example.org Config File Explanation: Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler usePermissions=true If set to true, means that it will look for, and if found, will use, Permissions 3.x noPermsMessage=You don't have permissions to do this. Message sent if someone tries to use a command, does not mean you need the usePermissions, as it will do this for the (Op) commands. requirePermsForEachCurrency=false If changed to true, will require the player a person is trying to send <currency> to using /pay to have "ashtheking.multicurrency.obtain.<currency>", otherwise will tell both players the below message unableToGetCurrencyMessage=not having permissions for this currency. Reason Message for being unable to obtain <currency>. TODO: --Integrate with Permissions DONE! --Have better plugin dev support. Part of Register! Thanks @Acrobot --Suggest if you have an idea. Changelog: That's all, folks! Enjoy!