MultiCurrency
MultiCurrency was originally made by ashtheking but went inactive. So I updated it. It basically supplies multiple currencies, useful when you have an RPG server that has different nations on it, and when they all want their own currency. MultiCurrency allows you to pay each other in different currencies, earn different currencies, convert an item into currency, create currencies, remove currencies and exchange from one currency to another, and to change the exchange rate that this goes at! Such a nifty set-up!
Commands:
All commands' aliases are prefixed by "mc" e.g. /pay -> /mcpay
- /pay <player> <amount> <currency> : gives <player> <amount> of <currency>
- /money <currency> : checks the amount of <currency> you own.
- /convert <currency> <amount> : converts <amount> of the item into <currency>
- (OP) /create <currency> <item> : creates <currency> which can be obtained after converting <item>
- (OP) /remove <player> <currency (optional>: Nulls the maximum / specified currency of the player (changes it to 0.00)
- (OP) /exchange <currency> <amount> : Changes the exchange rate of <currency> to <amount>. Exchange rate is the amount of <currency> you get for one <item>
- (OP) /eco <give/add/remove/rm> <player> <currency> <amount> : Adds / removes <amount> of <currency> to/from <player>. Checks if they have it before removing if you want to remove though.
Permissions:
- /pay = multicurrency.pay <default - true>
- /money = multicurrency.info <default - true>
- /convert = multicurrency.convert <default - true>
- /create = multicurrency.create <default - op>
- /remove = multicurrency.remove <default - op>
- /exchange = multicurrency.exchange <default - op>
- /eco = multicurrency.eco <default - op>
- Config only permission:
- multicurrency.obtain.<currency> = give this permission to players you want to be able to obtain the currency, but ONLY if the option in config "requirePermsForEachCurrency" is true.
@YoshiGenius
Actually, there are at least two other currency plugins that support multiple currencies (CraftConomy and MineConomy), both of which are supported by Vault and one of which (CraftConomy) is still active. However, Vault has explicitly declined to support multiple currency functionality, arguing that it is "useless" and that no one would ever really use it. He'll accept a pull request if someone wants to write the code, but he won't go and do it himself (I have no idea how hard this would be; Devinish said it could be done in 20 lines of code, whereas Sleaker implies that it would take a massive overhaul of the code).
https://github.com/MilkBowl/Vault/issues/307
It's not that Vault doesn't work with these plugins - it's that it only recognizes one "default" currency, so that currency is the only one that economy plugins will affect - ie, for taxation, monster drops, payments for things, and most importantly, shops. This means that the other currencies are pretty much useless, since they can only be traded manually by players using /pay, which is more inconvenient and more prone to scamming than chest shops.
@Typical_Name
I have been developing it in a way so that Vault can easily access this. Vault doesn't refuse to support multiple, just this is the only plugin, and it works with this. :)
This will have an API class as well, so I may make a Chest / Sign Shop sub-plugin as well. :)
@YoshiGenius
Will this rewrite include built-in support for sign/chest shops? There are no shop plugins that currently exist that have multiple currency support, since they all rely on Vault and the creator of Vault actively refuses to support multiple currencies :(.
Can you Explain more how to create a currency ? like, i'm doing /create [NameOfMyCurrency] and, what is Item ? :o
@tijnkanters
Hopefully not too much longer...
@YoshiGenius
How far is the process?
@Wolf314151
I'm currently in the process of re-writing this plugin. This version of MultiCurrency was a direct update from ashtheking's source (he was the original creator), and so was fairly outdated since a while ago. I'm re-writing it using the new Bukkit code.
@MachetePanda
See above.
I have all the same questions as wolf. We have donor money which is transferred to a server and used to buy in-game currency that they can then spend on items. This plugin would be perfect fro that.
Hey Yoshi, I'd like to use your currency mod as more of global variables. Specifically, the amount of fire arrows/teleportation arrows/explosive arrows, ect. the player has bought. So I'd set up a currency called fire arrows and charge people that currency to use them. So my question is, is this compatible with another currency mod such as BOSEconomy?
EDIT: Also, it says an error has occured while enabling this plugin (is it up to date). Then it lists "Multicurency v2.1" even though I downloaded and have in my plugins directory v2.2
EDIT2: Wait do I have to have a conversion item? I'm really confused, can I not just have an economy called 'FireArrows' and make it so someone types /money FireArrows to see how much they have and npcs can sell them to you using actuall money?
EDIT3: Rephrased: If I use BOSE economy will it work? Will I be able to type /money to see my BOSE's money amount (as my central currency) and then /money firearrows to see my fire arrows count from this mod? (method-overloading?)
And do I have to bind an <ITEM> to a <CURRENCY> or could you elaborate on this because I don't understand what it is.
Thanks a bunch,
@YoshiGenius
It could be really usefull and better to have an Mysql support...
The first reason is because a lot of people have iConomy + Mysql, and then they simply can't switch to your plugin... =/
@LenaDINNERTIME
It was updated to 1.4 the same day that you posted that. :o
@Shooty_
I might be able to squeeze MySQL in some time soon, just for multiple servers' use.
It could be ages, but we'll see.
@Shooty_
Sorry, it's only YAML (FlatFile) for now. It works as is. Sorry. :/
Why there's no MYSQL Support ? i Can't leave iConomy for this plugin :( !
@YoshiGenius
it's been a few days, how much longer must we wait for an update?
Is there a plugin similar to ChestShop that can use multiple currencies? I've always wanted a multiple currency system for my server, but having different currencies is pretty much meaningless if we can only make shops for one of them.
Also, is the conversion reversible? (That is, can you go from both X -> $ and $ -> X?)
While I'm asking questions, the item can be set to any data value, right? I need to be able to set it to specific damage values so that I can combine this with custom items introduced by MoreMaterials (spoutplugin custom items are all flint with some damage value).
@Acer_Mortem
@DreasDarkwind Great idea, Dreas! Updating it now, finished my exams. ^_^
Awesome, perfect for multifaction servers. Another way to make them more separate :D Awaiting the update eagerly.
Will you be updating this plugin to 1.4?
i am love this i am thai i can speak english นะครับๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆ