CraftConomy

https://dl.dropbox.com/u/28996829/craftconomy.png

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!

http://cdn1.iconfinder.com/data/icons/crystalproject/24x24/apps/daemons.png Latest version: 3.3. Compatible with Craftbukkit 1.8 (1.7.9 too!)

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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Sponsfelix Sponsfelix Jun 29, 2015 at 12:30 UTC - 0 likes

    I'm having this error when trying to convert from Sqlite to H2. http://pastebin.com/tJgJRC1P

    EDIT: Using newest Spigot 1.8.7

    Last edited Jun 29, 2015 by Sponsfelix
  • Avatar of greatman321 greatman321 Jun 29, 2015 at 12:29 UTC - 0 likes

    @Layania: Go

    Try 3.3, it contains a fix for the upgrade process.

  • Avatar of Layania Layania Jun 29, 2015 at 06:16 UTC - 0 likes

    Hello, i'm using last Craftconomy 3.1.7 dev with a Spigot 1.8 server (3.1.6 don't working)
    I want to upgrade to 3.2, i download it, make backup , change vault, and i have crash
    with upgrade :

    Quote:

    2015-06-29 08:09:36 [INFO] [Craftconomy3] Enabling Craftconomy3 v3.2-2aefdbf-trv127
    2015-06-29 08:09:36 [INFO] [Craftconomy3] Starting up!
    2015-06-29 08:09:36 [INFO] [Craftconomy3] Loading the Configuration
    2015-06-29 08:09:36 [WARN] [Craftconomy3] Running a old version of Craftconomy! New version is: 3.3
    2015-06-29 08:09:36 [INFO] [Craftconomy3] Loading listeners.
    2015-06-29 08:09:36 [INFO] [Craftconomy3] Loading commands
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Loading the Database Manager
    2015-06-29 08:09:37 [WARN] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    2015-06-29 08:09:37 [WARN] SLF4J: Defaulting to no-operation (NOP) logger implementation
    2015-06-29 08:09:37 [WARN] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Database Manager Loaded!
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Your database is out of date! (Version 0). Updating it to Revision 1.
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Doing a backup in a xml file before doing the conversion.
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Saving currency table
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Saving world group table
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Saving exchange table
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Saving config table
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Saving account table
    2015-06-29 08:09:37 [WARN] java.sql.SQLException: Class not found: java.lang.ClassNotFoundException: com.greatmancode.craftconomy3.LogInfo while reading serialized object
    2015-06-29 08:09:37 [WARN] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:934)
    2015-06-29 08:09:37 [WARN] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931)
    2015-06-29 08:09:37 [WARN] at com.mysql.jdbc.ResultSetImpl.getObject(ResultSetImpl.java:4995)
    2015-06-29 08:09:37 [WARN] at com.mysql.jdbc.ResultSetImpl.getObject(ResultSetImpl.java:5079)
    2015-06-29 08:09:37 [WARN] at com.greatmancode.craftconomy3.utils.OldFormatConverter.run(OldFormatConverter.java:179)
    2015-06-29 08:09:37 [WARN] at com.greatmancode.craftconomy3.Common.updateDatabase(Common.java:968)
    2015-06-29 08:09:37 [WARN] at com.greatmancode.craftconomy3.Common.onEnable(Common.java:140)
    2015-06-29 08:09:37 [WARN] at com.greatmancode.craftconomy3.tools.interfaces.BukkitLoader.onEnable(BukkitLoader.java:44)
    2015-06-29 08:09:37 [WARN] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321)
    2015-06-29 08:09:37 [WARN] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335)
    2015-06-29 08:09:37 [WARN] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
    2015-06-29 08:09:37 [WARN] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:356)
    2015-06-29 08:09:37 [WARN] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:316)
    2015-06-29 08:09:37 [WARN] at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:402)
    2015-06-29 08:09:37 [WARN] at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:370)
    2015-06-29 08:09:37 [WARN] at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:325)
    2015-06-29 08:09:37 [WARN] at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211)
    2015-06-29 08:09:37 [WARN] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505)
    2015-06-29 08:09:37 [WARN] at java.lang.Thread.run(Thread.java:745)
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Loading the Currency manager.
    2015-06-29 08:09:37 [WARN] java.sql.SQLException: Column 'bankCurrency' not found.
    2015-06-29 08:09:37 [WARN] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
    2015-06-29 08:09:37 [WARN] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
    2015-06-29 08:09:37 [WARN] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
    2015-06-29 08:09:37 [WARN] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
    2015-06-29 08:09:37 [WARN] at com.mysql.jdbc.ResultSetImpl.findColumn(ResultSetImpl.java:1144)
    2015-06-29 08:09:37 [WARN] at com.mysql.jdbc.ResultSetImpl.getBoolean(ResultSetImpl.java:1761)
    2015-06-29 08:09:37 [WARN] at com.greatmancode.craftconomy3.storage.sql.SQLStorageEngine.getAllCurrencies(SQLStorageEngine.java:922)
    2015-06-29 08:09:37 [WARN] at com.greatmancode.craftconomy3.currency.CurrencyManager.<init>(CurrencyManager.java:40)
    2015-06-29 08:09:37 [WARN] at com.greatmancode.craftconomy3.Common.initializeCurrency(Common.java:420)
    2015-06-29 08:09:37 [WARN] at com.greatmancode.craftconomy3.Common.onEnable(Common.java:141)
    2015-06-29 08:09:37 [WARN] at com.greatmancode.craftconomy3.tools.interfaces.BukkitLoader.onEnable(BukkitLoader.java:44)
    2015-06-29 08:09:37 [WARN] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321)
    2015-06-29 08:09:37 [WARN] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335)
    2015-06-29 08:09:37 [WARN] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
    2015-06-29 08:09:37 [WARN] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:356)
    2015-06-29 08:09:37 [WARN] at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:316)
    2015-06-29 08:09:37 [WARN] at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:402)
    2015-06-29 08:09:37 [WARN] at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:370)
    2015-06-29 08:09:37 [WARN] at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:325)
    2015-06-29 08:09:37 [WARN] at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211)
    2015-06-29 08:09:37 [WARN] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505)
    2015-06-29 08:09:37 [WARN] at java.lang.Thread.run(Thread.java:745)
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Currency Manager Loaded!
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Loading default settings.
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Default settings loaded!
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Loading the Account Manager
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Starting Metrics.
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Account Manager Loaded!
    2015-06-29 08:09:37 [INFO] [Craftconomy3] World Group Manager loaded!
    2015-06-29 08:09:37 [INFO] [Craftconomy3] Ready!
    2015-06-29 08:09:37 [INFO] [Vault][Economy] Craftconomy3 hooked.

    After that error, /money command cause a :

    Quote:

    2015-06-29 08:11:27 [ERROR] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'money' in plugin Craftconomy3 v3.2-2aefdbf-trv127
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot.jar:git-Spigot-550ebac-7019900]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot.jar:git-Spigot-550ebac-7019900]
    at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646) [spigot.jar:git-Spigot-550ebac-7019900]
    at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115) [spigot.jar:git-Spigot-550ebac-7019900]
    at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950) [spigot.jar:git-Spigot-550ebac-7019900]
    at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [spigot.jar:git-Spigot-550ebac-7019900]
    at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53) [spigot.jar:git-Spigot-550ebac-7019900]
    at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot.jar:git-Spigot-550ebac-7019900]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_45]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45]
    at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696) [spigot.jar:git-Spigot-550ebac-7019900]
    at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot.jar:git-Spigot-550ebac-7019900]
    at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [spigot.jar:git-Spigot-550ebac-7019900]
    at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537) [spigot.jar:git-Spigot-550ebac-7019900]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
    Caused by: java.lang.NullPointerException
    at com.greatmancode.craftconomy3.commands.money.MainCommand.execute(MainCommand.java:31) [?:?]
    at com.greatmancode.craftconomy3.tools.commands.SubCommand.execute(SubCommand.java:69) [?:?]
    at com.greatmancode.craftconomy3.tools.commands.bukkit.BukkitCommandReceiver.onCommand(BukkitCommandReceiver.java:51) [?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot.jar:git-Spigot-550ebac-7019900]
    ... 14 more

  • Avatar of Barrimor Barrimor Jun 28, 2015 at 14:07 UTC - 0 likes

    BUG REPORT

    Hello, thank you for this plugin, but I have some troobleshoting while using it. (I'm using v3.3 under Spigot 1.7.9 r0.3)

    At startup [16:00:33] [Server thread/WARN]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". [16:00:33] [Server thread/WARN]: SLF4J: Defaulting to no-operation (NOP) logger implementation [16:00:33] [Server thread/WARN]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

    And

    [16:00:36] [MCStats / Plugin Metrics/WARN]: Exception in thread "MCStats / Plugin Metrics" [16:00:36] [MCStats / Plugin Metrics/WARN]: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()Ljava/util/Collection; [16:00:36] [MCStats / Plugin Metrics/WARN]: at com.greatmancode.craftconomy3.tools.caller.bukkit.BukkitPlayerCaller.getOnlinePlayers(BukkitPlayerCaller.java:79) [16:00:36] [MCStats / Plugin Metrics/WARN]: at com.greatmancode.craftconomy3.tools.utils.Metrics.getPlayersOnline(Metrics.java:160) [16:00:36] [MCStats / Plugin Metrics/WARN]: at com.greatmancode.craftconomy3.tools.utils.Metrics.postPlugin(Metrics.java:347) [16:00:36] [MCStats / Plugin Metrics/WARN]: at com.greatmancode.craftconomy3.tools.utils.Metrics.access$400(Metrics.java:58) [16:00:36] [MCStats / Plugin Metrics/WARN]: at com.greatmancode.craftconomy3.tools.utils.Metrics$1.run(Metrics.java:252) [16:00:36] [MCStats / Plugin Metrics/WARN]: at java.lang.Thread.run(Unknown Source)

    And

    [16:01:22] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'bank' in plugin Craftconomy3 v3.3-e72ac42-trv178 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:726) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:999) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:830) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:65) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:180) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.ServerConnection.c(ServerConnection.java:81) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:720) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:283) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:583) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:489) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] Caused by: java.lang.NullPointerException at com.greatmancode.craftconomy3.commands.bank.BankDeleteCommand.execute(BankDeleteCommand.java:32) [?:?] at com.greatmancode.craftconomy3.tools.commands.SubCommand.execute(SubCommand.java:69) [?:?] at com.greatmancode.craftconomy3.tools.commands.bukkit.BukkitCommandReceiver.onCommand(BukkitCommandReceiver.java:51) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [Spigot-1.7.9-SNAPSHOT.jar:git-Spigot-1502] ... 13 more

    While trying to run the command /bank delete <ACCOUNT>

    Thank!

    Last edited Jun 28, 2015 by Barrimor
  • Avatar of roracle roracle Jun 28, 2015 at 05:15 UTC - 0 likes

    @budopey: Go

    You sound like you're after the same things I'm after. I have three worlds, two with Craftconomy, and a third I want to use Gringotts with. I'm having such a difficult time because of the commands being the same.

    Gringotts loads first, CC second. So in the Gringotts world I can use /money but since it's disabled in the CC worlds the /money passes to Gringotts first, so it never makes it to Craftconomy, spitting out a Gringotts message that I can not use that command.

    I tried "PerWorldPlugins" (http://dev.bukkit.org/bukkit-plugins/perworldplugins) but that didn't go over as well as I was hoping. It works for some things, but not for all.

    Last edited Jun 28, 2015 by roracle
  • Avatar of NoHoPeLess NoHoPeLess Jun 26, 2015 at 14:13 UTC - 0 likes

    @greatman321: Go

    Ah ok so i can do it on my live-server-network, thanks bro!

    Last edited Jun 26, 2015 by NoHoPeLess

    BalayaCraft! Der etwas andere Server!

    BalayaCraft! Server-IP server.balayacraft.de | BalayaCraft-Website | Facebook | Twitter | Youtube |

  • Avatar of greatman321 greatman321 Jun 26, 2015 at 13:03 UTC - 0 likes

    @NoHoPeLess: Go

    The SLF4J error can be safely ignored.

  • Avatar of NoHoPeLess NoHoPeLess Jun 26, 2015 at 07:16 UTC - 0 likes

    On start i become this:

    [09:14:01] [Server thread/INFO]: [Craftconomy3] Enabling Craftconomy3 v3.3-e72ac42-trv178
    [09:14:01] [Server thread/INFO]: [Craftconomy3] Starting up!
    [09:14:01] [Server thread/INFO]: [Craftconomy3] Loading the Configuration
    [09:14:03] [Server thread/WARN]: [Craftconomy3] Running a old version of Craftconomy! New version is: 3.2.1
    [09:14:03] [Server thread/INFO]: [Craftconomy3] Loading listeners.
    [09:14:03] [Server thread/INFO]: [Craftconomy3] Loading commands
    [09:14:03] [Server thread/INFO]: [Craftconomy3] Loading the Database Manager
    [09:14:03] [Server thread/WARN]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    [09:14:03] [Server thread/WARN]: SLF4J: Defaulting to no-operation (NOP) logger implementation
    [09:14:03] [Server thread/WARN]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    
  • Avatar of pielord17 pielord17 Jun 24, 2015 at 20:05 UTC - 0 likes

    @budopey: Go

    If the problem is that they use the same command you can create an alias for one.

  • Avatar of budopey budopey Jun 23, 2015 at 00:18 UTC - 0 likes

    Is it possible to get Gringotts support? It use's the same /money command and I need both digital vault economy (craftconomy) and a physical economy (gringotts). I am using stuff such as Shop Keepers for Towny shop plots but it uses a physical currency and the best one I can find for it is Gringotts. I really like using Craftconomy though and don't wanna ditch it over the master command /money. So I was wondering if it were possible to support Gringotts to prevent conflicts/overriding to be able to have both economies on a Towny server.

    Thanks for your time.
    -Budo

    -BuDoPeY-
    -Hack the planet, not my server!
    -Seek a good Admin to help build your servers? PM me for details! I can provide customization to your server and help install up-to-date plugins to help you acquire the content you seek for your server!

Facts

Date created
Jan 11, 2012
Category
Last update
Jun 26, 2015
Development stage
Mature
Language
  • enUS
License
GNU Lesser General Public License version 3 (LGPLv3)
Curse link
CraftConomy
Downloads
59,847
Recent files
  • R: 3.3 for 1.8.1 Jun 26, 2015
  • R: 3.2.1 for 1.8.1 Jan 12, 2015
  • R: 3.2 for 1.8.1 Jan 04, 2015
  • R: 3.1.6 for CB 1.7.9-R0.1 May 06, 2014
  • R: 3.1.5 for CB 1.7.2-R0.1 Dec 24, 2013

Authors