MineConomy
MineConomy
MineConomy is a simple, easy to use, multi-feature Economy API Plugin for Bukkit. It provides Multiple Currencies, Banks, and a Server-Side GUI; features which you won't find in any other economy plugins! MineConomy has support for Multiple Languages, Vault, and Databases. This plugin was created as an alternative to iConomy and other complex Economy API Plugins. It is ready to use out-of-the-box right after download! Current version is 1.6 BETA for Minecraft 1.5.2.
Have Questions, Comments, Suggestions, or Need Support?
We answer common support questions in the comments, but for reporting errors, please use our ticket system.
NOTICE: The updated v1.6 database configuration requires a port number and a slash! E.g. "localhost:3306/" instead of just "localhost".
Thanks to the 14,000+ users who downloaded for supporting this plugin! It gives the MineConomy team pride and drive to make this plugin the best plugin possible!
Features
- Multiple Accounts
- Balances
- Taxes and Interest
- Easy Configuration
- Permissions
- In-Game Commands
- In-Game Help
- Exterior Plugin Support
- Multiple Currencies
- Banks
- Languages (Don't want English? Find more here.)
- Server-Side GUI
- Update Checks
- Automated Backups
- Database Support
- Vault Support
Suggestions
If you have suggestions for this mod, please file a ticket with the type "Enhancement".
When a suggestion is read by the main developers, they will be posted below.
- Groups - For Taxes & Interest, Banking Permissions within MineConomy, etc.
- Conversion from Essentials
- Conversion from iMoney
Known Bugs
If you find a bug, please file a ticket (with type "Defect") and include the steps leading to the error and the stack trace from the console.
Any bugs that are a problem will be posted below. Please do not file bug reports if we are already working on it.
None yet!
Planned Features
- Groups (Specific Taxes, Taxes given to Account, etc.)
- SQLite Database Compatibility
- Item Damage Values
- MySQL Transaction logging
- Essentials Economy conversion
- iMoney conversion
Features That Will Be In Next Version
Please feel free to suggest features in the comments section!
Change Log
To read the complete change log visit the Change Log page.
Version 1.6
- Updated to Bukkit 1.5.2-R1.0
- Fixed MySQL Migration Bug
- Fixed Change Log (MineConomy Loads Normally)
- REMOVED "/mc top" Command
- Update checking is optional
- Currency File Created with Default Currency
- Physical Currencies allow Damage Values
- Accounts are now case insensitive and can be aliased
- Option for Ops to be told when MineConomy is out of date
- Console Support for commands
why does it seem to take so long for it to start up now? I am using v1.4 but I am still on bukkit 1.2.5. because of tekkit. I've tried to update to v1.5 and it still does the same.
I am using mySQL.
I am looking at 3+ minutes of loading before it starts.
7:34:01 AM [INFO] [MineConomy][VERY IMPORTANT] Found non-Bukkit server; Unable to check server version.
7:34:17 AM [INFO] [MineConomy][INFO] Loading Config file...
7:34:33 AM [INFO] [MineConomy][INFO] Config file loaded!
7:34:48 AM [INFO] [MineConomy][INFO] MySQL is enabled for Accounts.
7:35:00 AM [INFO] [MineConomy][INFO] Loading Accounts from database...
7:35:11 AM [INFO] [MineConomy][INFO] Accounts loaded from database!
7:35:23 AM [INFO] [MineConomy][INFO] Loading Banks file...
7:35:37 AM [INFO] [MineConomy][INFO] Banks file loaded!
7:35:52 AM [INFO] [MineConomy][INFO] Loading Currency file...
7:36:09 AM [INFO] [MineConomy][INFO] Currency file loaded!
7:36:24 AM [INFO] [MineConomy][INFO] Loading Language file...
7:36:41 AM [INFO] [MineConomy][INFO] Language file loaded!
7:36:57 AM [INFO] [MineConomy][INFO] Interest Disabled.
7:37:12 AM [INFO] [MineConomy][INFO] Tax Disabled.
7:37:28 AM [INFO] [MineConomy][INFO] GUI Disabled.
7:37:44 AM [INFO] [MineConomy][INFO] Checking for updates...
7:38:00 AM [INFO] [MineConomy][VERY IMPORTANT] Updates available. Check http://dev.bukkit.org/server-mods/mineconomy/ for the update.
7:38:16 AM [INFO] [MineConomy][VERY IMPORTANT] MineConomy will now migrate your account data from your "accounts.yml" file to your MySQL database.
7:38:32 AM [SEVERE] Error occurred while enabling MineConomy v1.4 (Is it up to date?)
java.lang.NullPointerException
at me.mjolnir.mineconomy.MineConomy.onEnable(MineConomy.java:322)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:386)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:264)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:246)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:387)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:374)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:208)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
7:38:32 AM [INFO] [Vault[Economy] MineConomy hooked.
I also started getting this error message. Can someone assist me?
@aviator1014
I would actually like to know if there's a way to improve the speed.
It seems like with every new player that's joins this plugin slows down. I was running 24secs restart time now I'm up to 36secons 12 of them being just mineconomy?
Still like this plugin so just wonder if there's a way to improve it. (I did disable gui since I'm not running a dedicated local server)
In a 47 second restart, mineconomy is 34 seconds of it. The other 31 plugins took 13 seconds total.
I noticed the enabling process is extremely slow, almost an entire second spent on every message you log while enabling, roughly the same speed as when creating a new world. Is this because I'm using yml? It doesn't seem likely as I notice the slowdown when it's already read the accounts.yml and is checking the config.yml
@krisukun Ah okay, thank you (: And I'm using 1.4 because sometimes I'm too lazy to update. I'm going to update soon (:
@Mariskaaa
If I not mistaken, probably mineconomy can't connect to the update server by some reason, and can't check the updates. Probably something is blocked on your server service, but it's should not be dangerous for your server. Btw, why are you still using 1.4? 1.5 Is here.
What's this ? > http://pastebin.com/5MLWSSEM o.o
"Downloads 7,666"
xD Satan is here!
Thanks for the answer MjolnirCommando, now I know how this option working :)
Is there a way to set up Lapis Lazuli (or any of the other dyes) as a currency? It seems that the required ID is not liked very well by MineConomy. It keeps telling me that I must enter an integer. For example, I have this in my YML file:
lapis:
value: 10.0
ID: '351:4'
The other physical currencies I have set up, in this manner, work great. The only thing I can think is that the additional info needed in the ID tag is hindering the specific dyes. Is this a correct assumption? Is there a way around this?
@MjolnirCommando
I understand and like that you must deposit and withdraw. My apologies though, I was typing /mc withdraw 1 not /mc withdraw emerald 1
all is good now :]
@MjolnirCommando
please take my suggestion into consideration. It will greatly help this plugin...
Setup would be so much eaiser with a written guide.
it should take me 60 seconds to scan the page, not 9 and a half minutes of watching someone else do it at a snails pace while slowly killing my will to live.
That, and it's utterly painful to sit through.
@krisukun
@Q2Lummox
@EMOberger
I believe you three are confused to what "Physical Currencies" are. They are essentially a deposit and withdraw system from virtual MineConomy accounts to Minecraft Items.
I believe you thought gaining an item in the inventory would actually change your balance. You must call "/mc deposit physicalcurrency" for your balance to be changed. Your account currency cannot be set to a physical currency because it requires a virtual currency.
Physical currencies are set like this:
@jwmpine
Can you PM me your "banks.yml" and "currencies.yml"?
I do not use Towny, so I am unable to make recommendations on how to set it up with MineConomy.
I'm back..
I had a question about banks..
Is there a way to set up the banks so that if we use towny lets say and they got shops that when the player buys or sells something and the taxes are set up that it sends that money to the bank thats set up for that town?
I havn't messed with banks much because I never can seem to get 1 made lol
-edited-
Still can't create a bank...
Keep getting this error.
18:11:54 [INFO] shadowself22 issued server command: /mcb create bank test
18:11:55 [SEVERE] null
org.bukkit.command.CommandException Unhandled exception executing command 'mcb'
in plugin MineConomy v1.5
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
8)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4
92)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
java:880)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:826)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:808)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
at net.minecraft.server.ServerConnection.b(SourceFile:35)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:578)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: java.lang.NullPointerException
at me.mjolnir.mineconomy.internal.Banking.accountExists(Banking.java:336
)
at me.mjolnir.mineconomy.internal.MCCom.create(MCCom.java:741)
at me.mjolnir.mineconomy.internal.commands.Balance.create(Balance.java:7
41)
at me.mjolnir.mineconomy.internal.commands.ChatExecutor.onCommand(ChatEx
ecutor.java:451
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 15 more
@mmulqueen10
Yea, I've seen that. idk if I want it though, Do you know if it'll give you emeralds if money is deposited into your account? that'd be my only problem, if a player sends another player virtual currency I would need it to also be physical. I'll look into it.
@EMOberger
I've just stumbled across this:
http://dev.bukkit.org/server-mods/emeraldeconlink/
It's a plugin that hooks into any vault economy plugin. I'm not too sure how it works but it appears to give each player an economy account with 0.00 in it, then for every Emerald (or whatever you specify as currency) it adds it's value from the config file to the account (so if a player has 5 gold ingots and gold ingot has a value of 2.0, then they'll have 10.0). It charges the account for every ingot dropped too, so if that same player drops 2 ingots then it'll change his holdings to 6.0. I think it works with chestshop and similar plugins but I've not got round to testing it on my server yet. :P Hope this helps! :)
I love how all 4 of them were online but no one answered >.>
I'm also quite interested in finding out how to just have a physical currency. :P This economy plugin appears to be the only one that offers it.
I only want a physical currency. How do I go about that?
I had it like:
Physical:
Emerald:
Value: 10.0
ID: '388'
Default: true
But that doesn't work.
Why does it take almost 3 minutes to load this plugin on start up? that is pretty ridiculous...
EDIT: wow I just realized that you have to delete the contents in the log file for it to get back up to good speed again. that's annoying. why was it slow in the first place? are you running a loop till you get to the next open line to write the logs or something? you should let the user be able to disable the log file. it is annoying. after about 4 weeks of use, and never clearing the log, it took 3 minutes alone to load this plugin. I guess I'll just have to delete the contents every so often. I'm just glad that i can restart the server in under 30 seconds now rather than the 3 - 4 minutes it took before.
EDIT 2: just checked, and I was right lol. You are iterating through every line in the log file till you write the next line. This causes the loading process to slow down drastically through time. At least have it remove old logs and keep it at a constant file size to get around that issue or think of something else.
But don't think I'm hating on your work. I love this plugin and I think all your code is very clean and good. glad you made it open.