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 May 2, 2013When i use multiworld feature, the balance that the player have in that world does not apears. When type /money, this shows:
[Money] Balance:
-
View User Profile
-
Send Message
Posted Apr 30, 2013Timeismoney
Hello. How can I use timeismoney with craftconomy? The money is always added to my essentials account. I use craftconomy with mysql
Sorry for my bad englisch.
Thanks oOFlaashOo
-
View User Profile
-
Send Message
Posted Apr 29, 2013@greatman321
Got another problem during Setup The lock database error is gone but for some reason i cant end the setup
2013-04-29 10:27:05 [INFO] mobstarlife issued server command: /ccsetup 2013-04-29 10:27:21 [INFO] mobstarlife issued server command: /ccsetup database sqlite 2013-04-29 10:27:21 [INFO] [Craftconomy3] Loading the Database Manager 2013-04-29 10:27:21 [INFO] [Craftconomy3] Database Manager Loaded! 2013-04-29 10:27:21 [INFO] [Craftconomy3] Loading the Currency manager. 2013-04-29 10:27:21 [INFO] [Craftconomy3] Currency Manager Loaded! 2013-04-29 10:27:41 [INFO] mobstarlife issued server command: /ccsetup currency cc2 yes 2013-04-29 10:28:01 [INFO] mobstarlife issued server command: /ccsetup basic 2013-04-29 10:28:12 [INFO] mobstarlife issued server command: /ccsetup basic 150 2013-04-29 10:28:26 [INFO] mobstarlife issued server command: /ccsetup basic 300 2013-04-29 10:28:37 [INFO] mobstarlife issued server command: /ccsetup basic long 2013-04-29 10:28:37 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'ccsetup' in plugin Craftconomy3 v3.1.3 b1125-d4c7ab080721d282a1ad07cd90b9e1be9b549a33-master at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:523) at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:966) at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:884) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:841) at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NullPointerException at com.greatmancode.craftconomy3.configuration.ConfigurationManager.loadDefaultSettings(ConfigurationManager.java:206) at com.greatmancode.craftconomy3.commands.setup.NewSetupBasicCommand.format(NewSetupBasicCommand.java:92) at com.greatmancode.craftconomy3.commands.setup.NewSetupBasicCommand.execute(NewSetupBasicCommand.java:48) at com.greatmancode.craftconomy3.commands.CommandHandler.execute(CommandHandler.java:65) at com.greatmancode.craftconomy3.commands.managers.BukkitCommandManager.onCommand(BukkitCommandManager.java:45) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
CB Version 1.5.1.R0.2 (Is this maby the problem)
gr mob
-
View User Profile
-
Send Message
Posted Apr 29, 2013@greatman321
The command works without errors, but does not show any bank accounts.
Also today, in a probably unrelated incident, I got a database lock out like mobstarlife.
-
View User Profile
-
Send Message
Posted Apr 29, 2013@Rat_Cat12
Looks like your missing a line in the lang.yml. Can you delete it and try again?
-
View User Profile
-
Send Message
Posted Apr 29, 2013@mobstarlife
Restart your server. For some reason your sqlite file is locked.
-
View User Profile
-
Send Message
Posted Apr 29, 2013@boba4237sdad
it's added in a dev build.
-
View User Profile
-
Send Message
Posted Apr 29, 2013It was a nice surprise to find the log moved into the database. Only one small thing: Could you make a timestamp for each entry? Like INSERT(... sysdate ....) into cc3_log; and of course add the column in the table?
-
View User Profile
-
Send Message
Posted Apr 28, 2013Hi,
I got a problem
18:31:46 Craftconomy3: Enabling Craftconomy3 v3.1.3 b1125-d4c7ab080721d282a1ad07cd90b9e1be9b549a33-master 18:31:46 Craftconomy3: Starting up! 18:31:46 Craftconomy3: Loading the Configuration 18:31:46 Craftconomy3: Checking if there's a new version. 18:31:50 Craftconomy3: Loading listeners. 18:31:50 Craftconomy3: Loading commands 18:31:50 Craftconomy3: Loading the Database Manager 18:31:52 CONSOLE: [SEVERE] java.lang.RuntimeException: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 18:31:52 CONSOLE: [SEVERE] at com.alta189.simplesave.sqlite.SQLiteDatabase.createTables(SQLiteDatabase.java:482) 18:31:52 CONSOLE: [SEVERE] at com.alta189.simplesave.sqlite.SQLiteDatabase.connect(SQLiteDatabase.java:88) 18:31:52 CONSOLE: [SEVERE] at com.greatmancode.craftconomy3.database.DatabaseManager.<init>(DatabaseManager.java:83) 18:31:52 CONSOLE: [SEVERE] at com.greatmancode.craftconomy3.Common.initialiseDatabase(Common.java:340) 18:31:52 CONSOLE: [SEVERE] at com.greatmancode.craftconomy3.Common.initialize(Common.java:143) 18:31:52 CONSOLE: [SEVERE] at com.greatmancode.craftconomy3.BukkitLoader.onEnable(BukkitLoader.java:35) 18:31:52 CONSOLE: [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 18:31:52 CONSOLE: [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) 18:31:52 CONSOLE: [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 18:31:52 CONSOLE: [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugin(CraftServer.java:282) 18:31:52 CONSOLE: [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.CraftServer.enablePlugins(CraftServer.java:264) 18:31:52 CONSOLE: [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.CraftServer.reload(CraftServer.java:605) 18:31:52 CONSOLE: [SEVERE] at org.bukkit.Bukkit.reload(Bukkit.java:184) 18:31:52 CONSOLE: [SEVERE] at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) 18:31:52 CONSOLE: [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:187) 18:31:52 CONSOLE: [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:523) 18:31:52 CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:967) 18:31:52 CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:885) 18:31:52 CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:840) 18:31:52 CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44) 18:31:52 CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) 18:31:52 CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:113) 18:31:52 CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) 18:31:52 CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) 18:31:52 CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580) 18:31:52 CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) 18:31:52 CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) 18:31:52 CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) 18:31:52 CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 18:31:52 CONSOLE: [SEVERE] Caused by: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 18:31:52 CONSOLE: [SEVERE] at org.sqlite.DB.newSQLException(DB.java:383) 18:31:52 CONSOLE: [SEVERE] at org.sqlite.DB.newSQLException(DB.java:387) 18:31:52 CONSOLE: [SEVERE] at org.sqlite.DB.throwex(DB.java:374) 18:31:52 CONSOLE: [SEVERE] at org.sqlite.NativeDB.prepare(Native Method) 18:31:52 CONSOLE: [SEVERE] at org.sqlite.DB.prepare(DB.java:123) 18:31:52 CONSOLE: [SEVERE] at org.sqlite.PrepStmt.<init>(PrepStmt.java:42) 18:31:52 CONSOLE: [SEVERE] at org.sqlite.Conn.prepareStatement(Conn.java:404) 18:31:52 CONSOLE: [SEVERE] at org.sqlite.Conn.prepareStatement(Conn.java:399) 18:31:52 CONSOLE: [SEVERE] at org.sqlite.Conn.prepareStatement(Conn.java:383) 18:31:52 CONSOLE: [SEVERE] at com.alta189.simplesave.sqlite.SQLiteDatabase.createTables(SQLiteDatabase.java:479) 18:31:52 CONSOLE: [SEVERE] ... 28 more 18:31:52 CONSOLE: [SEVERE] [Craftconomy3] A error occured while trying to connect to the database. Message received: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 18:31:52 Craftconomy3: Disabling Craftconomy3 v3.1.3 b1125-d4c7ab080721d282a1ad07cd90b9e1be9b549a33-master 18:31:52 Vault]: Craftconomy3 unhooked. 18:31:52 Vault]: Craftconomy3 hooked.
What i am doing wrong
version cb 1.5.1. r0.1 version cc 3.1.3
isnt er any tuturial to config it al ?
gr mobstarlife
-
View User Profile
-
Send Message
Posted Apr 28, 2013/bank list doesn't work:
http://pastebin.com/26CQ4ttG
-
View User Profile
-
Send Message
Posted Apr 28, 2013@wmchris
Can you try the latest dev-build? I changed some stuff in the database library i'm using that may fix your issue.
-
View User Profile
-
Send Message
Posted Apr 28, 2013How to convert from boseEconomy
-
View User Profile
-
Send Message
Posted Apr 27, 2013@wmchris
How can it use 6gb oO
Can you try any kind of profiling plugin to see what's going on? Never happened to me so I don't really know where to search.
-
View User Profile
-
Send Message
Posted Apr 27, 2013this plugin has a big memory hole in it. Server with icon6 has 3gig memory usage, with this plugin up to 10gb until it crashes. Tested with mysql connection
PS: the dev build link is broken, too
-
View User Profile
-
Send Message
Posted Apr 25, 2013@L0BA
You sure your mysql configuration in the config.yml is correct to your new login information? Can you post the whole startup of craftconomy?
-
View User Profile
-
Send Message
Posted Apr 25, 2013@greatman321 I have a weird problem when rehooking your plugin with the mysql database I have.
The first time I did it, after using the /ccsetup database commands, I had this on my log screen:
[Craftconomy3] Loading the Database Manager
[Craftconomy3] Database Manager Loaded!
[Craftconomy3] Loading the Currency manager.
[Craftconomy3] Currency Manager Loaded!
That was yesterday, Today I had to change my entire mysql database and get a new one, with different user/password and adress, but when I try to rehook the plugin to the new database, I only get an in-game message that says:
"Done!Please wait while the database is initalizing"
But I don't get the 4 messages that I had before, when it worked. It just gives me an "internal error".
I've tried editing the config file manually with no avail, what could I be doing wrong? I'm doing the exact commands ( with varying info ofc) and the database is not the problem I think, because some other plugins are hooked and getting the information updated correctly.
Please, help :(
-
View User Profile
-
Send Message
Posted Apr 21, 2013@CrystalxNeth
That's what backups are for =D
-
View User Profile
-
Send Message
Posted Apr 21, 2013@greatman321
Is there a chance it will just ruin everything if I do the command and something goes wrong? If it hasn't been tested then I don't know about it...
-
View User Profile
-
Send Message
Posted Apr 19, 2013@CrystalxNeth
with /vault-convert probably. Didin't test it tho.
-
View User Profile
-
Send Message
Posted Apr 19, 2013@greatman321
Would vault automatically convert it?