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 8, 2012@greatman321
But i already donated ;P 2.2 Version? Can you do this for me mate. I don't want to screw it up
-
View User Profile
-
Send Message
Posted Aug 8, 2012@mrchasez
Try with the 2.2 Version. Converting from iConomy should work from that version. After that you can simply update to http://jenkins.thebigdigmc.info/job/Craftconomy/5/artifact/target/Craftconomy-2.3.5-SNAPSHOT.jar
-
View User Profile
-
Send Message
Posted Aug 8, 2012Hey, tried to convert. http://pastie.org/4413954
If i upload the mini.db would you please convert to sqlite for me? (i think thats the default) Sorry for all the trouble.
Edit: Sent you a PM
-
View User Profile
-
Send Message
Posted Aug 8, 2012@mrchasez
If it supports Vault is should support this plugin.
-
View User Profile
-
Send Message
Posted Aug 8, 2012How do i convert to this from iConomy? Could you do that for me if i gave you the iConomy Sql or minidb?
-
View User Profile
-
Send Message
Posted Aug 8, 2012Would this plugin work with every plugin iConomy does? We currently use that, however our eco keeps getting reset.
We don't want to use multi-currency, is there anyway to remove that? We use plugins like factions, DynamicEconomy, and Chunk signs.
This should work with all those right?
-
View User Profile
-
Send Message
Posted Aug 8, 2012@NotYetRated
If they support my API yes. But mostly they go through Vault so it only use the main currently.
-
View User Profile
-
Send Message
Posted Aug 7, 2012How does the multi-currency work?
Is it possible to use Currency A for towny, and currency B for other plugins?
-
View User Profile
-
Send Message
Posted Aug 7, 2012@GoingDeeper
Click on Jenkins. That one works.
-
View User Profile
-
Send Message
Posted Aug 7, 2012Just like to say I'm waiting on the 1.3 update, and waiting to see it soon so my server's economy can get back to normal
-
View User Profile
-
Send Message
Posted Aug 4, 2012Hello greatman321,
I'm looking to move to CraftConomy and want to ensure your updating for 1.3?
I am currently on iconomy 6 and have had my flatfile cleared more than once, restored backups and have since moved to MySQL.
Seems your jenkins link is down and i cannot see if your working on anything.
Kind regards.
-
View User Profile
-
Send Message
Posted Aug 4, 2012im trying to understand how your Multi-World worlds i can't seem to find a good explanation of it. im trying to make it so world A, B work on Economy 1, were world C works on Economy 2.
The reason for this is i have 2 PvE worlds i wish to allow trade, and 1 PvP world which i want separate so players can't play in the easy PvE world make lots of money and go the the PvP world to by tools and land.
Is there a way to do this or is Multi-World set up so World A, B and C are different and there is no way to make them share when you want them to?
-
View User Profile
-
Send Message
Posted Aug 4, 2012@MindlessKyle
odd. Ill try to quick fix tomorrow.
-
View User Profile
-
Send Message
Posted Aug 4, 2012I get this error when trying to convert from an iConomy minidb with CraftConomy 2.3.5. I'm on CB v1.2.5-R5.0. Also your tickets menu link up there takes you to a project does not exist page :P.
[INFO] [Craftconomy 2.3.5-b4]Starting
[INFO] [Craftconomy 2.3.5-b4]Database loaded!
[SEVERE] Error occurred while enabling Craftconomy v2.3.5-b4 (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(DatabaseHandler.java:383)
at me.greatman.Craftconomy.Account.<init>(Account.java:40)
at me.greatman.Craftconomy.AccountHandler.getAccount(AccountHandler.java:84)
at me.greatman.Craftconomy.Craftconomy.convert(Craftconomy.java:406)
at me.greatman.Craftconomy.Craftconomy.onEnable(Craftconomy.java:67)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:257)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:239)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:373)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:360)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:189)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:424)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Edit: I downgraded to 2.2 and converting worked!
Edit2: I get this error when I try to do commands. v2.3.5. CB 1.2.5-R5.0
[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 org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:484)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:811)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:771)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:754)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:246)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:102)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:82)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:559)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:451)
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)
... 12 more
Also this:
[SEVERE] Exception in thread "Timer-7"
[SEVERE] java.lang.StringIndexOutOfBoundsException String index out of range: 2
[SEVERE] at java.lang.String.substring(Unknown Source)
[SEVERE] at me.greatman.Craftconomy.Craftconomy.format(Craftconomy.java:355)
[SEVERE] at me.greatman.Craftconomy.PayDay.paydayIterator(PayDay.java:146)
[SEVERE] at me.greatman.Craftconomy.PayDay.run(PayDay.java:114)
[SEVERE] at java.util.TimerThread.mainLoop(Unknown Source)
[SEVERE] at java.util.TimerThread.run(Unknown Source)
Edit3: 2.3.5 Snapshot works on 1.2.5-R5.0. I can't seem to change the currency though. /craftconomy currencyadd/modify/remove all say "A error occured!"
-
View User Profile
-
Send Message
Posted Aug 2, 2012@MrSerios
There's issue to multi-thread tho. Some plugins (As Vault), requires when you withdraw/deposit money to have the new balance. I could give him a fictional value calculated but if I ever do events (Like MoneyChangeEvent just to give a example) that can be modified, the value calculated will be wrong.
@Kiwz
Dev build #5 should be great for now ( http://jenkins.thebigdigmc.info/job/Craftconomy/5/artifact/target/Craftconomy-2.3.5-SNAPSHOT.jar ). After that you will be able to easily upgrade to V3
-
View User Profile
-
Send Message
Posted Aug 2, 2012@greatman321
Actually that's the problem when using MySQL, if is not multithreaded (like iConomy) on every transaction it connect to database to update the table, on single thread - that's it bad because on busy servers if there is a shop plugin and some other plugin that use the DB too it will start lagging or hanging the server. Beside that, I think your plugin is excellent - have options (like custom db table and fields) that is exactly what i need, because I'm using iConmoy now, which is hell, and need to rewrite the code on every update and then recompile it again to suit my needs. I can't figure it out what is minor and major fields for, also field about currency symbol. Can I skip them, because already have structured db table and don't wont to make changes.
-
View User Profile
-
Send Message
Posted Aug 2, 2012@greatman321
I plan on changing from iConomy6 to this, would you suggest me to wayt untill you release version 3?
-
View User Profile
-
Send Message
Posted Aug 2, 2012@greatman321 It's working, I've tested it!
-
View User Profile
-
Send Message
Posted Aug 2, 2012Oh yeah to everybody,
2.3.5 should work on 1.3.1 Bukkit without a itch like on 1.2.5
-
View User Profile
-
Send Message
Posted Aug 2, 2012@Rytis110
Going well so far, all the /money cmds are done (I think) and it's a full rewrite so it can work on both Craftbukkit & Spout server.
It's missing all the /bank cmds & adding/modifying/Deleting a currency.
Latest build: http://jenkins.thebigdigmc.info/job/Craftconomy3/lastSuccessfulBuild/artifact/target/craftconomy3-3.0.0-SNAPSHOT.jar (Doesn't convert from a 2.X version yet and can have throusands of bugs hehe)