CraftConomy

CraftConomy is a simple, lightweight and yet very effective economy handling plugin. It provides a very easy API for the developer to use. Manage your whole server in-game money with this plugin! Lottery, Shops, Payments, Killing reward, Anything! Your imagination is the only limit you can encounter!
Latest version: 3.3. Compatible with Craftbukkit 1.8 (1.7.9 too!)
Download
Found a bug? Have a suggestion?
GitHub
irc.spi.gt #craftconomy
Javadoc
Documentation
- Translations
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Features:
- Simplicity: This plugin is a simple drag & drop to use with a in-game setup wizard!
- Multiple data storage: Choose between a vast array of data storage for your player data (Currently only SQLite/MySQL but more to come!)
- Multi-World support (Have different balance between worlds)
- Multi-Currency support
- Bank support
- PayDay support
- Convert from iConomy / BoseEconomy / Essentials / Feconomy (Dev build)!
- Very fast!
- Supported by Vault!
- And much much more!
Todo
- Add the Interest system
Update Checking
This plugin utilizes Gravity's update checker to notify when a new version of the plugin is out, it will not automatically download the new version. It also notifies the admins that a new plugin version is available. This can be enabled ordisabled in the config.yml. To disable update-checking, set updates.check-for-updates to false. To disable admin notifying, set updates.notify-admin to false.
Metrics Collection
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
A unique identifier The server's version of Java Whether the server is in offline or online mode The plugin's version The server's version The OS version/name and architecture The core count for the CPU The number of players online The Metrics version Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
-
View User Profile
-
Send Message
Posted Aug 2, 2012What's about Craftconomy 3? When is it coming out? :) And is it a complete rewrite?
-
View User Profile
-
Send Message
Posted Aug 1, 2012@MrSerios
No but it should not cause a issue (Personally never had). I never heard of a slowdown from someone else. The best way to prevent slowdown is to run it through MySQL.
-
View User Profile
-
Send Message
Posted Aug 1, 2012@greatman321 is your plugin multithreaded? Because iConomy is single threaded and this caused a major lag problem on each transaction.
-
View User Profile
-
Send Message
Posted Jul 31, 2012@Zefram
I needed to use version 2.1 or 2.2 to convert from iConomy to CraftConomy, dunno why.
-
View User Profile
-
Send Message
Posted Jul 31, 2012convert from iConomy minidb
Error occurred while enabling Craftconomy v2.3.5-b6 (Is it up to
date?)
java.lang.ArrayIndexOutOfBoundsException Array index out of range: 0
at java.util.Vector.get(Unknown Source)
at com.sun.rowset.CachedRowSetImpl.getCurrentRow(Unknown Source)
at com.sun.rowset.CachedRowSetImpl.getInt(Unknown Source)
at com.sun.rowset.CachedRowSetImpl.getInt(Unknown Source)
at me.greatman.Craftconomy.utils.DatabaseHandler.getAccountId(DatabaseHa
ndler.java:383
at me.greatman.Craftconomy.Account.<init>(Account.java:40)
at me.greatman.Craftconomy.AccountHandler.getAccount(AccountHandler.java
:84)
at me.greatman.Craftconomy.utils.DatabaseHandler.create(DatabaseHandler.
java:304)
at me.greatman.Craftconomy.Account.<init>(Account.java:36)
at me.greatman.Craftconomy.AccountHandler.getAccount(AccountHandler.java
:84)
at me.greatman.Craftconomy.Craftconomy.convert(Craftconomy.java:415)
at me.greatman.Craftconomy.Craftconomy.onEnable(Craftconomy.java:67)
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(SimplePluginManage
r.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238
)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:381)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:368)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:197)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
-
View User Profile
-
Send Message
Posted Jul 30, 20122012-07-31 01:16:56 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'money' in plugin Craftconomy v2.3.5-b4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at forge.bukkit.ForgeCommandMap.dispatch(ForgeCommandMap.java:55) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:497) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:843) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:799) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:781) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:234) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:83) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:579) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 at java.lang.String.substring(Unknown Source) at me.greatman.Craftconomy.Craftconomy.format(Craftconomy.java:355) at me.greatman.Craftconomy.Craftconomy.format(Craftconomy.java:320) at me.greatman.Craftconomy.commands.money.OwnMoneyCommand.perform(OwnMoneyCommand.java:29) at me.greatman.Craftconomy.commands.BaseCommand.execute(BaseCommand.java:58) at me.greatman.Craftconomy.Craftconomy.handleMoneyCommand(Craftconomy.java:272) at me.greatman.Craftconomy.Craftconomy.onCommand(Craftconomy.java:237) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 13 more
im using tekkit 3.1.1
-
View User Profile
-
Send Message
Posted Jul 30, 2012You can always use Vault to transfer economies also.
There is a command: /vault-convert econfrom econto
Some caveats though: You need to have both economy plugins installed (shouldn't be an issue with this ever). You can't use it while people will be logging into your server as it will process everything. It will skip over already created accounts, (also why you can't have people connecting).
-
View User Profile
-
Send Message
Posted Jul 28, 2012@kawohi
This plugin already supports iConomy conversion. If you want to convert your "accounts.mini" database file under plugins > iConomy > account.mini, you should go to your Craftconomy config folder, and change the convert to look like this:
After you change the config file, make sure to change your database section. If you don't change this, it will automatically output it to a Sqlite Craftconomy version. Which works fine if you're using flatfile support for this plugin.
Run your server, make sure there's no errors. Go back into the config, and disable the convert. "convert = false."
If you're converting from iConomy mysql, then just make sure to change the databasetype to "mysql."
You can find the rest of the information in the setup guide, just make sure under the descriptions for everything you read the fine print. I skipped the bottom of the setup guide, and spent another 2 hours researching on how to convert a minidb to a .sql script. Then realized at the bottom of the setup page was the answer for everything.....
-
View User Profile
-
Send Message
Posted Jul 25, 2012@greatman321
But doesn't sqlite require a seperate connection, like mysql? So why would it need a database locally?
I always thought Sqlite was a smaller version of MySQL, haha.
-
View User Profile
-
Send Message
Posted Jul 24, 2012This looks great, and I like the bank feature.
You think you can make a conversion from Iconomy to this?
-
View User Profile
-
Send Message
Posted Jul 24, 2012@deleted_6837836
Sqlite is a database file. That's why you see a database.db file.
Spout feature is your main currency balance on the top left..
-
View User Profile
-
Send Message
Posted Jul 24, 2012Noob questions:
It says it only supports SQLite and MySQL but there's a database.db file. So does it support flatfile?
Also, what are the spout features?
-
View User Profile
-
Send Message
Posted Jul 23, 2012@greatman321 Looking forward to it. After using iConomy 5 for as long as I can remember, it'll be a nice change. And the fact that the commands are pretty much the same is gonna mean that my users won't mind the change at all. Which is always a good thing. :)
-
View User Profile
-
Send Message
Posted Jul 23, 2012@Crackhat
This week or next week I would say. You can try Dev build #5 of the 2.X branch. It works pretty well.
-
View User Profile
-
Send Message
Posted Jul 23, 2012in the same boat as crackhat
-
View User Profile
-
Send Message
Posted Jul 22, 2012Any news when comes V3? :) Need an alternativ to Iconomy6
-
View User Profile
-
Send Message
Posted Jul 21, 2012im keeping getting errors one after the other now .not for the command /money that shows me 30 dollar but i want to change currency and i edit the config file but nothing changing change currency ingame give me errors .adding currency give me errors. deleting the currency Dollar it say 'you created currency' and when i do / money it says balance : then nothing (as it should because i deleted it) and then when i want to add custom currency i get errors again
getting late now ill get the error files tomorow after work ...
-
View User Profile
-
Send Message
Posted Jul 21, 2012problem fixed by greatman
-
View User Profile
-
Send Message
Posted Jul 20, 2012auch i installed the mod and everithing goes ok until i log in and use any commands all i get are intern errors . no clue how i can put the error files in here everything is on default atm. i attached the error files in here i hope this is the way to show it to you
-
View User Profile
-
Send Message
Posted Jul 20, 2012@ballbreeder
Default config make it works like iConomy basicly. For the rest, since im rewriting everything for V3 im not gonna bother doing docs for the 2.X branch ;)