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
Is there any way this could be revived? I'm sure this plugin would be very useful to a lot of people, one of them being me.
Apologies, everyone. This is no longer being maintained.
06.12 10:50:23 [Server] INFO ... 18 more
06.12 10:50:23 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO at me.ashtheking.currency.Currency.onCommand(Currency.java:115) [?:?]
06.12 10:50:23 [Server] INFO at me.ashtheking.currency.CurrencyList.getConvertMaterial(CurrencyList.java:52) [?:?]
06.12 10:50:23 [Server] INFO at me.ashtheking.currency.PropertyManager.hasStringProperty(PropertyManager.java:59) [?:?]
06.12 10:50:23 [Server] INFO Caused by: java.lang.NullPointerException
06.12 10:50:23 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
06.12 10:50:23 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:714) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_51]
06.12 10:50:23 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_51]
06.12 10:50:23 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:640) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO at com.earth2me.essentials.Essentials.onCommand(Essentials.java:402) [Essentials-2.x-SNAPSHOT%20(1).jar:?]
06.12 10:50:23 [Server] INFO at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:417) [Essentials-2.x-SNAPSHOT%20(1).jar:?]
06.12 10:50:23 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot-1.8.8-20150729a.jar:git-Spigot-6c9b0a1-de5c261]
06.12 10:50:23 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'eco' in plugin MultiCurrency v2.1
06.12 10:50:23 [Server] ERROR Unhandled exception executing command 'eco' in plugin MultiCurrency v2.1
please update to 1.8
Don't abandon this, please pick yourself up.
@elfin8er
yes its is compatible with Vault.
Hey, Any chance we can get this plugin up before the end of November? My server can't function without it.
Please don't abandon this, MojatoGames
Is it compatible with Vault?
Hey Yoshi, would it be possible to make it so that we can convert the currencies back into the items they are based upon?
Blessings, Philos
@YoshiGenius
Cool, Vault is a great thing.
I am sorry if this sounds idiotic but, I am having problems with hooking into specific plugins like: SimpleRegionMarket CommandSigns SignChest
I had started these 3 plugins running essentials currency. When I load this plugin all my currency affairs switch to this plugin, and nothing works anymore. What can I do to make it so they all function again, I need this plugin over essentials. I am sorry for not writing a ticket.
@MojatoGames
I'll get commands easier, but also, I'll see if I can make the Vault hook complex enough to work for the individual worlds.
@YoshiGenius
Sounds awesome!
The only thing I don't like is how all the commands start with mc, is it possible that you could override essentials and make the command just "/pay"?
And the best auction plugin I could find was floAuction
@MojatoGames
I intend to make a few add-on modules for MultiCurrency that will use the correct currencies. They would be SignShops, ChestShops and Auctions, as well as any others that are requested.
@YoshiGenius
Sure, sounds great!
I want to have most worlds have our main currency (YC) and our faction world to have (FC) because YC are very hard to obtain. Also, if the active currency in the world "faction" is FC, they won't be able to access their YC account, correct?
Also, how would the auction plugin I have handle this? I only gave them permission to use it in the faction world, and I will change the currency name to FC, but multiple currencies might confuse it. It uses Vault.
Would essentials let me make sign shops in the new currency? Or do I need to get another plugin and which one?
Thanks,
MojatoGames
@MojatoGames
I'll see what I can do. Maybe a per-world config with a
@YoshiGenious
Cool, thanks!
I was wondering if you could have 1 currency and balance in worlds A,B, and C which is shared through those worlds and have another balance (in a different currency) in world D. Is that possible?
Thanks again,
MojatoGames
Updating and testing within the next few days.
Will It Work With Multi World And Does it Work W/ 1.6.2?
Does this still work?