greatman / craftconomy3 Goto Github PK
View Code? Open in Web Editor NEWA Economy plugin for Bukkit & Canary Recode!
License: GNU Lesser General Public License v3.0
A Economy plugin for Bukkit & Canary Recode!
License: GNU Lesser General Public License v3.0
Players can not use /money unless they are op. I have added it to my permissions (twice) but they still can not.
This is what I have in my permissions file:
- Craftconomy.money.holdings
- Craftconomy.money.help
- Craftconomy.money.pay
- Craftconomy.money.top
- Craftconomy.bank.create
- Craftconomy.bank.delete
- Craftconomy.bank.add
- Craftconomy.bank.remove
- Craftconomy.bank.deposit
- Craftconomy.bank.withdraw
- Craftconomy.money.holdings
They can use all of them except money.holdings.
Thanks
Hi,
I just came across Cc3 and I can't get it to work with my MySQL database. I tried using the /ccsetup command but after setting the prefix, it gives me an error. I've tried setting it in the configuration file with no luck. It does work with a flatfile but that's not what I want. I'd very much like to use this plugin for my server, so any help would be appreciated.
Kind regards,
Obris
Here's a NPE I got using spigot 1.8.7 and Craftconomy 3.2.1
[19:05:28] [Thread-110/INFO]: UUID of player val59000 is 5c7337d5-903e-4e13-9061-06b4384074ea
[19:05:28] [Server thread/WARN]: java.lang.reflect.InvocationTargetException
[19:05:28] [Server thread/WARN]: at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
[19:05:28] [Server thread/WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[19:05:28] [Server thread/WARN]: at java.lang.reflect.Method.invoke(Method.java:483)
[19:05:28] [Server thread/WARN]: at com.greatmancode.craftconomy3.tools.events.ListenerRegistration.callEvent(ListenerRegistration.java:40)
[19:05:28] [Server thread/WARN]: at com.greatmancode.craftconomy3.tools.events.EventManager.callEvent(EventManager.java:66)
[19:05:28] [Server thread/WARN]: at com.greatmancode.craftconomy3.tools.events.bukkit.PlayerJoinEventListener.onPlayerJoin(PlayerJoinEventListener.java:31)
[19:05:28] [Server thread/WARN]: at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
[19:05:28] [Server thread/WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[19:05:28] [Server thread/WARN]: at java.lang.reflect.Method.invoke(Method.java:483)
[19:05:28] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
[19:05:28] [Server thread/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[19:05:28] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
[19:05:28] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
[19:05:28] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:296)
[19:05:28] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:156)
[19:05:28] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144)
[19:05:28] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54)
[19:05:28] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231)
[19:05:28] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148)
[19:05:28] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:817)
[19:05:28] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367)
[19:05:28] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657)
[19:05:28] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560)
[19:05:28] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:745)
[19:05:28] [Server thread/WARN]: Caused by: java.lang.NullPointerException
[19:05:28] [Server thread/WARN]: at com.greatmancode.craftconomy3.events.EventManager.playerJoinEvent(EventManager.java:40)
[19:05:28] [Server thread/WARN]: ... 24 more
Two Server use a same database
Spigot 1.8.7 , Vault 1.5.3 , CraftConomy3.3
One Server :
[14:52:22 WARN]: [BungeeTabListPlus_BukkitBridge] §cAn internal error occured!
Please send the following stacktrace to the developer in order to help resolving the problem
java.lang.NullPointerException
at net.milkbowl.vault.economy.plugins.Economy_Craftconomy3.getBalance(Economy_Craftconomy3.java:278) ~[Vault.jar:?]
at net.milkbowl.vault.economy.plugins.Economy_Craftconomy3.getBalance(Economy_Craftconomy3.java:120) ~[Vault.jar:?]
at codecrafter47.bungeetablistplus.bukkitbridge.informationhooks.VaultHook.getInformation(VaultHook.java:102) [BungeeTabListPlus_BukkitBridge-7.jar:?]
at codecrafter47.bungeetablistplus.bukkitbridge.PlayerInformationUpdateTask.update(PlayerInformationUpdateTask.java:91) [BungeeTabListPlus_BukkitBridge-7.jar:?]
at codecrafter47.bungeetablistplus.bukkitbridge.PlayerInformationUpdateTask.run(PlayerInformationUpdateTask.java:57) [BungeeTabListPlus_BukkitBridge-7.jar:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) [spigot-1.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:726) [spigot-1.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot-1.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot-1.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot-1.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_79]
Another Server :
[14:41:43 WARN]: Unexpected exception while parsing console command "money give lt_lentong 100"
org.bukkit.command.CommandException: Unhandled exception executing command 'money' in plugin Craftconomy3 v3.3-e72ac42-trv178
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:642) ~[spigot-1.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:628) [spigot-1.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:404) [spigot-1.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:368) [spigot-1.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot-1.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot-1.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_79]
Caused by: java.lang.NullPointerException
at com.greatmancode.craftconomy3.commands.money.GiveCommand.execute(GiveCommand.java:53) ~[?:?]
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.8.7-R0.1-SNAPSHOT.jar:git-Spigot-44c59bf-1880a9c]
... 8 more
I was trying to get a fix for /money log
So I build locally (commit: dacf93c)
But now typing any command does not display any message
I am using a test spigot server (1.8.5 build 434 for testing)
To ensure it has got nothing to do with my server setup
I have tried using downloaded 3.2.1 jar file, it works
I cannot build 3.2.1 for testing my build setup due to outdated dependency
Could not resolve org.mcstats.standalone:metrics:R7
com.greatmancode:craftconomy3:3.2.1 > com.greatmancode:tools:1.1 > net.canarymod:CanaryLib:1.2.0
Could not GET 'https://libraries.minecraft.net/org/mcstats/standalone/metrics/R7/metrics-R7.pom'. Received status code 403 from server: Forbidden
I could do the setup routine till I had to enter the login credentials for the database to convert:
mysql selected. Now, Please enter the correct values for the database format chosen. Syntax is: /ccsetup convert <address, port, username, password, database> <value>
Example: /ccsetup convert address test
[16:32:43 INFO]: Olaf issued server command: /ccsetup convert localhost 3306 myexistingdb veryevilpassword myexistingdb
# No luck
[16:32:56 INFO]: Olaf issued server command: /ccsetup convert localhost 3306 myexistingdb veryevilpassword myexistingdb test
# No luck
[16:32:59 INFO]: Olaf issued server command: /ccsetup convert localhost 3306 myexistingdb veryevilpassword myexistingdb
# No luck
[16:33:12 INFO]: Olaf issued server command: /ccsetup convert localhost 3306 myexistingdb veryevilpassword
# No luck
[16:33:15 INFO]: Olaf issued server command: /ccsetup convert localhost
[16:33:15 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'ccsetup' in plugin Craftconomy3 v3.3-e72ac42-trv178
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8.jar:git-Spigot-76236cb-62a2169]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at com.greatmancode.craftconomy3.commands.setup.NewSetupConvertCommand.selectValues(NewSetupConvertCommand.java:87) ~[?:?]
at com.greatmancode.craftconomy3.commands.setup.NewSetupConvertCommand.execute(NewSetupConvertCommand.java:54) ~[?:?]
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.8.8.jar:git-Spigot-76236cb-62a2169]
... 15 more
[16:33:18 INFO]: Olaf issued server command: /ccsetup convert localhost 3306
# From this point CC3 does not recognize /ccsetup commands anymore.
As an additional suggestion. If the database setup has been completed and the further setup fails for any reason and you have to restart the server the whole procedure has to be done again even though those values have been written to the config file already. Did not test if Setup: false
would allow to skip this as well as starting a conversion process.
Thanks for reading.
Best regards
Olaf
I can't make change to the config because the reload command throw a NPE
[03:24:26 INFO]: val59000 issued server command: /craftconomy reload
>
[03:24:26 INFO]: [Craftconomy3] Closing the connection to the database.
>
[03:24:26 INFO]: [Craftconomy3] Starting up!
>
[03:24:26 INFO]: [Craftconomy3] Loading the Configuration
>
[03:24:26 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'craftconomy' in plugin Craftconomy3 v3.3-e72ac42-trv178
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.8.8.jar:git-Spigot-d97e08b-5e85956]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.8.8.jar:git-Spigot-d97e08b-5e85956]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:640) ~[spigot-1.8.8.jar:git-Spigot-d97e08b-5e85956]
at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot-1.8.8.jar:git-Spigot-d97e08b-5e85956]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot-1.8.8.jar:git-Spigot-d97e08b-5e85956]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.8.8.jar:git-Spigot-d97e08b-5e85956]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.8.8.jar:git-Spigot-d97e08b-5e85956]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.8.jar:git-Spigot-d97e08b-5e85956]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_05]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_05]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot-1.8.8.jar:git-Spigot-d97e08b-5e85956]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:714) [spigot-1.8.8.jar:git-Spigot-d97e08b-5e85956]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-d97e08b-5e85956]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [spigot-1.8.8.jar:git-Spigot-d97e08b-5e85956]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [spigot-1.8.8.jar:git-Spigot-d97e08b-5e85956]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_05]
Caused by: java.lang.NullPointerException
at com.greatmancode.craftconomy3.Common.reloadPlugin(Common.java:207) ~[?:?]
at com.greatmancode.craftconomy3.commands.config.ConfigReloadCommand.execute(ConfigReloadCommand.java:28) ~[?:?]
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.8.8.jar:git-Spigot-d97e08b-5e85956]
... 15 more
I'm using 3.3.3 on Spigot 1.8.8
I am working on migrating away from Essentials completely. When I convert the ccsetup, it registers 1400ish accounts and only converts just over 500.
I'm getting this in the console when the conversion runs
2016-01-03 13:40:07 [WARN] at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
2016-01-03 13:40:07 [WARN] at org.h2.message.DbException.get(DbException.java:179)
2016-01-03 13:40:07 [WARN] at org.h2.message.DbException.get(DbException.java:155)
2016-01-03 13:40:07 [WARN] at org.h2.message.DbException.get(DbException.java:144)
2016-01-03 13:40:07 [WARN] at org.h2.expression.Subquery.getValue(Subquery.java:41)
2016-01-03 13:40:07 [WARN] at org.h2.command.dml.Insert.insertRows(Insert.java:143)
2016-01-03 13:40:07 [WARN] at org.h2.command.dml.Insert.update(Insert.java:114)
2016-01-03 13:40:07 [WARN] at org.h2.command.CommandContainer.update(CommandContainer.java:78)
2016-01-03 13:40:07 [WARN] at org.h2.command.Command.executeUpdate(Command.java:254)
2016-01-03 13:40:07 [WARN] at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:157)
2016-01-03 13:40:07 [WARN] at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:143)
2016-01-03 13:40:07 [WARN] at com.greatmancode.com.zaxxer.libs.hikari.proxy.PreparedStatementProxy.executeUpdate(PreparedStatementProxy.java:61)
2016-01-03 13:40:07 [WARN] at com.greatmancode.com.zaxxer.libs.hikari.proxy.PreparedStatementJavassistProxy.executeUpdate(PreparedStatementJavassistProxy.java)
2016-01-03 13:40:07 [WARN] at com.greatmancode.craftconomy3.storage.sql.SQLStorageEngine.saveImporterUsers(SQLStorageEngine.java:1080)
2016-01-03 13:40:07 [WARN] at com.greatmancode.craftconomy3.converter.Converter.addAccountToString(Converter.java:167)
2016-01-03 13:40:07 [WARN] at com.greatmancode.craftconomy3.converter.converters.Essentials.importData(Essentials.java:105)
2016-01-03 13:40:07 [WARN] at com.greatmancode.craftconomy3.commands.setup.NewSetupConvertCommand.selectDb(NewSetupConvertCommand.java:121)
2016-01-03 13:40:07 [WARN] at com.greatmancode.craftconomy3.commands.setup.NewSetupConvertCommand.selectConvert(NewSetupConvertCommand.java:143)
2016-01-03 13:40:07 [WARN] at com.greatmancode.craftconomy3.commands.setup.NewSetupConvertCommand.execute(NewSetupConvertCommand.java:50)
2016-01-03 13:40:07 [WARN] at com.greatmancode.craftconomy3.tools.commands.SubCommand.execute(SubCommand.java:69)
2016-01-03 13:40:07 [WARN] at com.greatmancode.craftconomy3.tools.commands.bukkit.BukkitCommandReceiver.onCommand(BukkitCommandReceiver.java:51)
2016-01-03 13:40:07 [WARN] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
2016-01-03 13:40:07 [WARN] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
2016-01-03 13:40:07 [WARN] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641)
2016-01-03 13:40:07 [WARN] at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162)
2016-01-03 13:40:07 [WARN] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997)
2016-01-03 13:40:07 [WARN] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
2016-01-03 13:40:07 [WARN] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
2016-01-03 13:40:07 [WARN] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
2016-01-03 13:40:07 [WARN] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
2016-01-03 13:40:07 [WARN] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2016-01-03 13:40:07 [WARN] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
2016-01-03 13:40:07 [WARN] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715)
2016-01-03 13:40:07 [WARN] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
2016-01-03 13:40:07 [WARN] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
2016-01-03 13:40:07 [WARN] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
2016-01-03 13:40:07 [WARN] at java.lang.Thread.run(Thread.java:745)
hi i was wondering if there was any easy ways that you knew of converting the sql data for your plugin over to h2 data instead. i know theres documentation out there but as your the plugin developer i thought you would be bound to know of an easy and simple conversion tool
Hi,
When someone does a name change from Mojang their account will be wiped out.
I got no errors from Craftconomy3 in console when this happens, but i will get a error from a plugin called AnimatedNames:
http://pastebin.com/rSukqmBx
This is what i get in MySQL when it happens:
http://croons.se/index.php/s/pKHOl83AuTLh0R0
And here are the same account in the list plus one other account that have been wiped:
http://croons.se/index.php/s/iftNy2kl01IorvT
Version:
Craftconomy3 3.3-e72ac42-trv178
Spigot: last till today
Bungeecord: last till today
Hope you can help me with this.
Best regards,
Orgiz
May you add a Setting for the ConnectionPool Size ?
If you use CraftConomy in an Multiserver setup, the connections get to 70 or 80 :S.
The plugin does not close its MySQL connection when disabling, which cause a huge list of sleeping connections on the database.
Can you make a small fix for this ?
Thank you !
The plugin loads more or less fine, but when I try a command like /money set it gives me an error:
On command:
http://pastebin.com/xx2T2pxu
Am I doing something wrong here ?
never mind, i was being stupid, great plugin !
No msgs when the delete worked
Is there an posibility to create a Payday?
I want to give an hourly Interest on all existing Bank-Accounts...
It would be very helpful if CraftConomy3 could be reloaded with PlugMan (via /plugman reload CraftConomy3). I've tried, but the plugin fails to load again with the error message: "Plugin already initialized." As you probably know, this usually happens due to incorrect use of statics or references to the loaded plugin that don't get changed when it reloads.
Being able to silence commands is a nice addition.
[02:58:49] [Server thread/INFO]: [Craftconomy3] Enabling Craftconomy3 v3.3-e72ac42-trv178
[02:58:49] [Server thread/INFO]: [Craftconomy3] Starting up!
[02:58:49] [Server thread/INFO]: [Craftconomy3] Loading the Configuration
[02:58:50] [Server thread/INFO]: [Craftconomy3] Loading listeners.
[02:58:50] [Server thread/INFO]: [Craftconomy3] Loading commands
[02:58:50] [Server thread/INFO]: [Craftconomy3] Loading the Database Manager
[02:58:50] [Server thread/WARN]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[02:58:50] [Server thread/WARN]: SLF4J: Defaulting to no-operation (NOP) logger implementation
[02:58:50] [Server thread/WARN]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[02:58:51] [Server thread/ERROR]: Error occurred while enabling Craftconomy3 v3.3-e72ac42-trv178 (Is it up to date?)
com.greatmancode.com.zaxxer.libs.hikari.pool.PoolInitializationException: Exception during pool initialization
at com.greatmancode.com.zaxxer.libs.hikari.pool.BaseHikariPool.initializeConnections(BaseHikariPool.java:542) ~[?:?]
at com.greatmancode.com.zaxxer.libs.hikari.pool.BaseHikariPool.<init>(BaseHikariPool.java:171) ~[?:?]
at com.greatmancode.com.zaxxer.libs.hikari.pool.HikariPool.<init>(HikariPool.java:60) ~[?:?]
at com.greatmancode.com.zaxxer.libs.hikari.pool.HikariPool.<init>(HikariPool.java:48) ~[?:?]
at com.greatmancode.com.zaxxer.libs.hikari.HikariDataSource.<init>(HikariDataSource.java:80) ~[?:?]
at com.greatmancode.craftconomy3.storage.sql.SQLiteEngine.<init>(SQLiteEngine.java:56) ~[?:?]
at com.greatmancode.craftconomy3.storage.StorageHandler.<init>(StorageHandler.java:44) ~[?:?]
at com.greatmancode.craftconomy3.Common.initialiseDatabase(Common.java:393) ~[?:?]
at com.greatmancode.craftconomy3.Common.onEnable(Common.java:143) ~[?:?]
at com.greatmancode.craftconomy3.tools.interfaces.BukkitLoader.onEnable(BukkitLoader.java:49) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot.jar:git-Bukkit-0a645a2]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:327) [spigot.jar:git-Bukkit-0a645a2]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [spigot.jar:git-Bukkit-0a645a2]
at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugin(CraftServer.java:341) [spigot.jar:git-Bukkit-0a645a2]
at org.bukkit.craftbukkit.v1_8_R2.CraftServer.enablePlugins(CraftServer.java:313) [spigot.jar:git-Bukkit-0a645a2]
at net.minecraft.server.v1_8_R2.MinecraftServer.r(MinecraftServer.java:408) [spigot.jar:git-Bukkit-0a645a2]
at net.minecraft.server.v1_8_R2.MinecraftServer.k(MinecraftServer.java:374) [spigot.jar:git-Bukkit-0a645a2]
at net.minecraft.server.v1_8_R2.MinecraftServer.a(MinecraftServer.java:329) [spigot.jar:git-Bukkit-0a645a2]
at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.java:236) [spigot.jar:git-Bukkit-0a645a2]
at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:501) [spigot.jar:git-Bukkit-0a645a2]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79]
Caused by: java.sql.SQLException: JDBC4 Connection.isValid() method not supported, connection test query must be configured
at com.greatmancode.com.zaxxer.libs.hikari.pool.BaseHikariPool.addConnection(BaseHikariPool.java:441) ~[?:?]
at com.greatmancode.com.zaxxer.libs.hikari.pool.BaseHikariPool.initializeConnections(BaseHikariPool.java:540) ~[?:?]
... 20 more
It's hard to manage stuff when sometimes current status is forgotten
I noticed on my server that when using craftconomy3, a ton of MySQL connections are being opened. Aside from the cost of opening so many connections, this sometimes leads to not being able to connect to the MySQL server (due to error 1040 - too many connections) and the need for a forced restart of the MySQL server. Proof:
MariaDB [(none)]> SHOW STATUS LIKE '%onn%';
+-----------------------------------------------+-------+
| Variable_name | Value |
+-----------------------------------------------+-------+
| Aborted_connects | 341 |
| Connection_errors_accept | 0 |
| Connection_errors_internal | 0 |
| Connection_errors_max_connections | 0 |
| Connection_errors_peer_address | 0 |
| Connection_errors_select | 0 |
| Connection_errors_tcpwrap | 0 |
| Connections | 11767 |
| Max_used_connections | 25 |
| Performance_schema_session_connect_attrs_lost | 0 |
| Ssl_client_connects | 0 |
| Ssl_connect_renegotiates | 0 |
| Ssl_finished_connects | 0 |
| Threads_connected | 20 |
+-----------------------------------------------+-------+
14 rows in set (0.00 sec)
MariaDB [(none)]> SHOW processlist;
+-------+-----------+--------------------------------------------------------+--------------------+---------+-------+-------+------------------+----------+
| Id | User | Host | db | Command | Time | State | Info | Progress |
+-------+-----------+--------------------------------------------------------+--------------------+---------+-------+-------+------------------+----------+
| 2 | pex | [redacted]:41615 | hub_permissions | Sleep | 142 | | NULL | 0.000 |
| 14 | root | localhost:59850 | prison_permissions | Sleep | 4 | | NULL | 0.000 |
| 15 | root | localhost:59851 | multicraft_daemon | Sleep | 4 | | NULL | 0.000 |
| 16 | root | localhost:59852 | GANGS | Sleep | 17 | | NULL | 0.000 |
| 18 | eximstats | localhost | eximstats | Sleep | 126 | | NULL | 0.000 |
| 19 | pex | [redacted]:42142 | hub_permissions | Sleep | 1 | | NULL | 0.000 |
| 337 | root | localhost:60410 | multicraft_daemon | Sleep | 15301 | | NULL | 0.000 |
| 1013 | root | localhost:32914 | killsDatabase | Sleep | 17 | | NULL | 0.000 |
| 1620 | root | [redacted]:60260 | prison_plotz | Sleep | 1048 | | NULL | 0.000 |
| 11211 | root | localhost:44341 | prison_economy | Sleep | 1 | | NULL | 0.000 |
| 11651 | root | localhost:44844 | prison_economy | Sleep | 16 | | NULL | 0.000 |
| 11652 | root | localhost:44845 | prison_economy | Sleep | 16 | | NULL | 0.000 |
| 11653 | root | localhost:44846 | prison_economy | Sleep | 16 | | NULL | 0.000 |
| 11654 | root | localhost:44847 | prison_economy | Sleep | 16 | | NULL | 0.000 |
| 11655 | root | localhost:44848 | prison_economy | Sleep | 16 | | NULL | 0.000 |
| 11656 | root | localhost:44849 | prison_economy | Sleep | 16 | | NULL | 0.000 |
| 11657 | root | localhost:44850 | prison_economy | Sleep | 16 | | NULL | 0.000 |
| 11658 | root | localhost:44851 | prison_economy | Sleep | 16 | | NULL | 0.000 |
| 11659 | root | localhost:44852 | prison_economy | Sleep | 16 | | NULL | 0.000 |
| 11764 | root | localhost | NULL | Query | 0 | init | SHOW processlist | 0.000 |
+-------+-----------+--------------------------------------------------------+--------------------+---------+-------+-------+------------------+----------+
Notice that connections is at nearly 12000. It continues increasing. This should be a pretty easy fix. The problem appears to be in https://github.com/greatman/craftconomy3/blob/master/src/main/java/com/greatmancode/craftconomy3/storage/sql/SQLStorageEngine.java. The problem is that the connection is closed after every call, so it has to be opened again the next time that call is made.
When server loading then it simplely stop here
With 1700% CPU usage and no more reaction.
It happens occasionally, once only when several servers starts simultaneously.
[00:44:24] [Server thread/INFO]: [Vault][Chat] PermissionsEx_Chat hooked.
[00:44:24] [Server thread/INFO]: [Craftconomy3] Enabling Craftconomy3 v3.3-e72ac42-trv178
[00:44:24] [Server thread/INFO]: [Craftconomy3] Starting up!
[00:44:24] [Server thread/INFO]: [Craftconomy3] Loading the Configuration
i try to make a bank account but it said there was an error completing the command
PLEASE HELP
Hello there! I have 4 servers with 3 different currencies, how can I fix so that each of the servers have their own currency as the default one so that they aren't set for all 4. For example: I have a hub, Towny, Factions and mini-games server. And I want different currencies on all but the hub. I want so that the players can exchange the currencies at the hub. Is this possible to fix?
Why isn't there a version of Craftconomy or an Option where you can turn off the permissions for Craftconomy...or an Option where you can turn off the Permission, that default Users can use the commands without OP Permissions. I have a minecraft server and we had to install PermissionEx and Essentials (doesn't worked togehter and we have no Idea how we can do it).
It would be nice if there will be an Update with these sption or an extra version.
Thanks
And this too http://build.greatmancode.com/job/Craftconomy3/javadoc/com/greatmancode/craftconomy3/Common.html Please fix this ASAP!
I'm testing out craftconomy right now trying to find a lag source and I came across the below error.
What I am guessing is happening is that you don't prefix foreign key constraints when you try to make a table. I already have some craftconomy tables in this database.
I don't have any real need to be able to create two craftconomy storage instances in a single database, but I'm reporting the issue anyway as it might affect others.
23:30:41 INFO]: dddeeefff issued server command: /ccsetup database prefix cc34_
[23:30:41 INFO]: [Craftconomy3] Loading the Database Manager
[23:30:41 WARN]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[23:30:41 WARN]: SLF4J: Defaulting to no-operation (NOP) logger implementation
[23:30:41 WARN]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[23:30:43 WARN]: java.sql.SQLException: Can't create table 'signshoptest.cc34_balance' (errno: 121)
[23:30:43 WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
[23:30:43 WARN]: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
[23:30:43 WARN]: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
[23:30:43 WARN]: at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
[23:30:43 WARN]: at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
[23:30:43 WARN]: at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
[23:30:43 WARN]: at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
[23:30:43 WARN]: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
[23:30:43 WARN]: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
[23:30:43 WARN]: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
[23:30:43 WARN]: at com.greatmancode.com.zaxxer.libs.hikari.proxy.PreparedStatementProxy.executeUpdate(PreparedStatementProxy.java:61)
[23:30:43 WARN]: at com.greatmancode.com.zaxxer.libs.hikari.proxy.PreparedStatementJavassistProxy.executeUpdate(PreparedStatementJavassistProxy.java)
[23:30:43 WARN]: at com.greatmancode.craftconomy3.storage.sql.MySQLEngine.<init>(MySQLEngine.java:75)
[23:30:43 WARN]: at com.greatmancode.craftconomy3.storage.StorageHandler.<init>(StorageHandler.java:40)
[23:30:43 WARN]: at com.greatmancode.craftconomy3.Common.initialiseDatabase(Common.java:393)
[23:30:43 WARN]: at com.greatmancode.craftconomy3.commands.setup.NewSetupDatabaseCommand.mysql(NewSetupDatabaseCommand.java:140)
[23:30:43 WARN]: at com.greatmancode.craftconomy3.commands.setup.NewSetupDatabaseCommand.execute(NewSetupDatabaseCommand.java:48)
[23:30:43 WARN]: at com.greatmancode.craftconomy3.tools.commands.SubCommand.execute(SubCommand.java:69)
[23:30:43 WARN]: at com.greatmancode.craftconomy3.tools.commands.bukkit.BukkitCommandReceiver.onCommand(BukkitCommandReceiver.java:51)
[23:30:43 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[23:30:43 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
[23:30:43 WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:642)
[23:30:43 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1135)
[23:30:43 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:970)
[23:30:43 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
[23:30:43 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
[23:30:43 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
[23:30:43 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[23:30:43 WARN]: at java.util.concurrent.FutureTask.run(FutureTask.java:262)
[23:30:43 WARN]: at net.minecraft.server.v1_8_R3.SystemUtils.a(SystemUtils.java:19)
[23:30:43 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:714)
[23:30:43 WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367)
[23:30:43 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653)
[23:30:43 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556)
[23:30:43 WARN]: at java.lang.Thread.run(Thread.java:745)
[23:30:43 INFO]: [Craftconomy3] Database Manager Loaded!
[23:30:43 INFO]: [Craftconomy3] Loading the Currency manager.
[23:30:43 INFO]: [Craftconomy3] Currency Manager Loaded!
I dont know what is the cause of this, i convert from essentials when i set it up, but it only works until the server is restarted.
Currently there are two separate commands to checking your own balance and other people's balances.
/money and /money balance playername
I am working on aliasing the longer commands to shorter ones, like /money balance to /balance and it would be great if /money balance showed your own balance instead of the usage of needing a player name. ;)
Fresh install of CC3. ccsetup completed with no errors.
Created a group for PvP world and assigned it.
Created a group for Survival world and assigned it.
in the survival world I ran: /money set AvatarAcid 1000 Dollar
checked my balance. all good.
warped to the PvP world and ran: /money set AvatarAcid 1000 Dollar
I got the following error when I did that. Restarted server, same error.
/money all shows 100 Dollars in the default group which I don't know how to get rid of, and shows 1,000 in the survival group which I set. Nothing in PvP group due to the error here:
[03:28:50 INFO]: AvatarAcid issued server command: /money set AvatarAcid 1000 Dollar
org.bukkit.command.CommandException: Unhandled exception executing command 'money' in plugin Craftconomy3 v3.3-e72ac42-trv178
I'm getting the folowing error:
http://hastebin.com/kigupotovi.avrasm
What's wrong ?
Players create bank acounts and the plugin doesn't create the record in the cc3_balance table. cc3_acl and cc3_account both work as expected.
This means that when a player creates an account and deposit money into it he loses the money. The plugin sees it as if the account existed because of acl and accounts working like they should but the balance isn't saved anywhere.
Also, I tried creating accounts with random names to be sure that it's not caused by players having the same name as an account and it still did the same thing. Some accounts were created and some weren't.
There isn't any errors in console...
26.11 01:47:29 [Server] WARN SLF4J: Defaulting to no-operation (NOP) logger implementation
26.11 01:47:29 [Server] WARN SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
When someone uses the /money command or buys something in the Shop this happens
( Uses somehting that needes Money ):
Here is a list of Plugins installed:
Thanks :)
Btw;
I'm most likely online on this Teamspeak: Ts.IMT-Gaming.eu
named Erroru61 and beeing the [Server-Manager] else on the
minecraft Server. mc.NexusCity.de as Erroru61 [Admin]
Two plugins appear to have issues passing events to your plugin.
Factions:
[16:48:12] [Server thread/ERROR]: Could not pass event EventFactionsFactionShow to Factions v2.7.5
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at com.massivecraft.massivecore.event.EventMassiveCore.run(EventMassiveCore.java:30) [MassiveCore.jar:?]
at com.massivecraft.factions.cmd.CmdFactionsFaction.perform(CmdFactionsFaction.java:44) [Factions.jar:?]
at com.massivecraft.massivecore.cmd.MassiveCommand.execute(MassiveCommand.java:327) [MassiveCore.jar:?]
at com.massivecraft.massivecore.cmd.MassiveCommand.execute(MassiveCommand.java:306) [MassiveCore.jar:?]
at com.massivecraft.massivecore.cmd.MassiveCommand.execute(MassiveCommand.java:349) [MassiveCore.jar:?]
at com.massivecraft.massivecore.cmd.MassiveCoreBukkitCommand.execute(MassiveCoreBukkitCommand.java:67) [MassiveCore.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:642) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1135) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:970) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-f928e7a-e91aed8]
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_R3.SystemUtils.a(SystemUtils.java:19) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:718) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
Caused by: java.lang.NullPointerException
at net.milkbowl.vault.economy.plugins.Economy_Craftconomy3.getBalance(Economy_Craftconomy3.java:278) ~[?:?]
at net.milkbowl.vault.economy.plugins.Economy_Craftconomy3.getBalance(Economy_Craftconomy3.java:120) ~[?:?]
at com.massivecraft.massivecore.money.MoneyMixinVault.get(MoneyMixinVault.java:131) ~[?:?]
at com.massivecraft.massivecore.money.Money.get(Money.java:115) ~[?:?]
at com.massivecraft.factions.engine.EngineMain.onFactionShow(EngineMain.java:212) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-f928e7a-e91aed8]
... 24 more
[16:18:16] [Server thread/ERROR]: Could not pass event EventFactionsChunksChange to Factions v2.7.5
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at com.massivecraft.massivecore.event.EventMassiveCore.run(EventMassiveCore.java:30) [MassiveCore.jar:?]
at com.massivecraft.factions.entity.MPlayer.tryClaim(MPlayer.java:844) [Factions.jar:?]
at com.massivecraft.factions.cmd.CmdFactionsSetX.perform(CmdFactionsSetX.java:57) [Factions.jar:?]
at com.massivecraft.massivecore.cmd.MassiveCommand.execute(MassiveCommand.java:327) [MassiveCore.jar:?]
at com.massivecraft.massivecore.cmd.MassiveCommand.execute(MassiveCommand.java:306) [MassiveCore.jar:?]
at com.massivecraft.massivecore.cmd.MassiveCommand.execute(MassiveCommand.java:306) [MassiveCore.jar:?]
at com.massivecraft.massivecore.cmd.MassiveCommand.execute(MassiveCommand.java:349) [MassiveCore.jar:?]
at com.massivecraft.massivecore.cmd.MassiveCoreBukkitCommand.execute(MassiveCoreBukkitCommand.java:67) [MassiveCore.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:642) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1135) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:970) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-f928e7a-e91aed8]
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_R3.SystemUtils.a(SystemUtils.java:19) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:718) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
Caused by: java.lang.NullPointerException
at com.greatmancode.craftconomy3.storage.sql.SQLStorageEngine.getAccount(SQLStorageEngine.java:113) ~[?:?]
at com.greatmancode.craftconomy3.storage.StorageEngine.getAccount(StorageEngine.java:54) ~[?:?]
at com.greatmancode.craftconomy3.account.AccountManager.getAccount(AccountManager.java:54) ~[?:?]
at net.milkbowl.vault.economy.plugins.Economy_Craftconomy3.createPlayerAccount(Economy_Craftconomy3.java:262) ~[?:?]
at com.massivecraft.massivecore.money.MoneyMixinVault.ensureExists(MoneyMixinVault.java:195) ~[?:?]
at com.massivecraft.massivecore.money.MoneyMixinVault.move(MoneyMixinVault.java:158) ~[?:?]
at com.massivecraft.massivecore.money.MoneyMixinAbstract.move(MoneyMixinAbstract.java:63) ~[?:?]
at com.massivecraft.massivecore.money.MoneyMixinAbstract.spawn(MoneyMixinAbstract.java:88) ~[?:?]
at com.massivecraft.massivecore.money.Money.spawn(Money.java:181) ~[?:?]
at com.massivecraft.factions.integration.Econ.modifyMoney(Econ.java:242) ~[?:?]
at com.massivecraft.factions.integration.Econ.payForAction(Econ.java:40) ~[?:?]
at com.massivecraft.factions.engine.EngineEcon.payForAction(EngineEcon.java:119) ~[?:?]
at com.massivecraft.factions.engine.EngineEcon.payForAction(EngineEcon.java:147) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-f928e7a-e91aed8]
... 26 more
TimeIsMoney Logout
[17:22:05] [Server thread/INFO]: Mayor_Mike lost connection: Disconnected
[17:22:05] [Server thread/ERROR]: Could not pass event PlayerQuitEvent to Timeismoney v1.5
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PlayerList.disconnect(PlayerList.java:346) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:844) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.NetworkManager.l(NetworkManager.java:314) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:145) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:817) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
Caused by: java.lang.NullPointerException
at net.milkbowl.vault.economy.plugins.Economy_Craftconomy3.depositPlayer(Economy_Craftconomy3.java:310) ~[?:?]
at net.milkbowl.vault.economy.plugins.Economy_Craftconomy3.depositPlayer(Economy_Craftconomy3.java:130) ~[?:?]
at me.Phil.Timeismoney.Timeismoney.saveTime(Timeismoney.java:186) ~[?:?]
at me.Phil.Timeismoney.ServerPlayerListener.onPlayerQuit(ServerPlayerListener.java:42) ~[?:?]
at sun.reflect.GeneratedMethodAccessor417.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-f928e7a-e91aed8]
... 12 more
[17:22:05] [Server thread/INFO]: Mayor_Mike left the game.
Time Is Money Login
[11:50:50] [User Authenticator #31/INFO]: UUID of player Mayor_Mike is d6576359-f99b-4e1f-9b4a-622d18d6a6d1
[11:50:50] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to Timeismoney v1.5
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:296) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:156) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:817) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot.jar:git-Spigot-f928e7a-e91aed8]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
Caused by: java.lang.NullPointerException
at net.milkbowl.vault.economy.plugins.Economy_Craftconomy3.depositPlayer(Economy_Craftconomy3.java:310) ~[?:?]
at net.milkbowl.vault.economy.plugins.Economy_Craftconomy3.depositPlayer(Economy_Craftconomy3.java:130) ~[?:?]
at me.Phil.Timeismoney.Timeismoney.saveTime(Timeismoney.java:186) ~[?:?]
at me.Phil.Timeismoney.Timeismoney.playerJoin(Timeismoney.java:261) ~[?:?]
at me.Phil.Timeismoney.ServerPlayerListener.onPlayerJoin(ServerPlayerListener.java:35) ~[?:?]
at sun.reflect.GeneratedMethodAccessor388.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-f928e7a-e91aed8]
... 14 more
[11:50:50] [Server thread/INFO]: Mayor_Mike[/208.114.152.134:3852] logged in with entity id 74122 at ([Phoenixv7]1440.6943922002781, 129.43859154416486, -273.7187921258791)
Hello,
I tested this : http://dev.bukkit.org/bukkit-plugins/moneysql/
If you get money by console/players and log out of the server/server restart, then Vault will withdraw the money on login. Changing the update time of db is not solving the problem. I'm not using it so it's not "urgent", just to let you now.
Cannot view using /money log [username] command. it says invalid page.
[23:08:18 INFO]: rex issued server command: /money pay Jynx 1
[23:08:18 WARN]: java.sql.SQLException: Subquery returns more than 1 row
[23:08:18 WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
[23:08:18 WARN]: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
[23:08:18 WARN]: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
[23:08:18 WARN]: at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
[23:08:18 WARN]: at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
[23:08:18 WARN]: at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
[23:08:18 WARN]: at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
[23:08:18 WARN]: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
[23:08:18 WARN]: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
[23:08:18 WARN]: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
[23:08:18 WARN]: at com.greatmancode.com.zaxxer.libs.hikari.proxy.PreparedStatementProxy.executeUpdate(PreparedStatementProxy.java:61)
[23:08:18 WARN]: at com.greatmancode.com.zaxxer.libs.hikari.proxy.PreparedStatementJavassistProxy.executeUpdate(PreparedStatementJavassistProxy.java)
[23:08:18 WARN]: at com.greatmancode.craftconomy3.storage.sql.SQLStorageEngine.saveLog(SQLStorageEngine.java:197)
[23:08:18 WARN]: at com.greatmancode.craftconomy3.storage.sql.SQLStorageEngine.saveLog(SQLStorageEngine.java:178)
[23:08:18 WARN]: at com.greatmancode.craftconomy3.Common.writeLog(Common.java:503)
[23:08:18 WARN]: at com.greatmancode.craftconomy3.account.Account.withdraw(Account.java:214)
[23:08:18 WARN]: at com.greatmancode.craftconomy3.commands.money.PayCommand.execute(PayCommand.java:46)
[23:08:18 WARN]: at com.greatmancode.craftconomy3.tools.commands.SubCommand.execute(SubCommand.java:69)
[23:08:18 WARN]: at com.greatmancode.craftconomy3.tools.commands.bukkit.BukkitCommandReceiver.onCommand(BukkitCommandReceiver.java:51)
[23:08:18 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[23:08:18 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
[23:08:18 WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641)
[23:08:18 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1165)
[23:08:18 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1000)
[23:08:18 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
[23:08:18 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
[23:08:18 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
[23:08:18 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[23:08:18 WARN]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[23:08:18 WARN]: at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
[23:08:18 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:772)
[23:08:18 WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378)
[23:08:18 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:711)
[23:08:18 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:614)
[23:08:18 WARN]: at java.lang.Thread.run(Thread.java:745)
Hi Greatman.
I have a idea for you. It would be very nice if you could set the default "WorldBalanceGroup" in config.yml
This is the reason: I have a multiworld server. I have three WorldGroups: One for Survival worlds (default), one for Creative worlds (creativeBalance) and one for my ASkyBlock world (askyblockBalance). The creative and survival worlds can obviously not share economy. The problem is that some users spawn in a survival world and some users spawn in a creative world - depending on their rank. This means that in some cases their initial mount of money will end up in different worldgroups, depending on where they login after first install of Craftconomy. I want the money to end up in the survivalBalance (default). They don't need the money in the creative worlds.
/Rocologo
Implement optional caching methods.
hey,
if I copy the configured config from a other server and start the server with it it will not create user accounts. If I run /money it does throw this error:
[02:43:21] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'money' in plugin Craftconomy3 v3.2.1-13814c0-trv139
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[PluginCommand.class:1.7.10-1492.152]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) ~[SimpleCommandMap.class:1.7.10-1492.152]
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:717) ~[CraftServer.class:1.7.10-1492.152]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1317) [nh.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1099) [nh.class:?]
at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:38) [ir.class:?]
at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:53) [ir.class:?]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244) [ej.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) [nc.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:991) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:431) [lt.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:809) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:669) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
Caused by: java.lang.NullPointerException
at com.greatmancode.craftconomy3.storage.sql.SQLStorageEngine.getAccount(SQLStorageEngine.java:107) ~[?:?]
at com.greatmancode.craftconomy3.storage.StorageEngine.getAccount(StorageEngine.java:54) ~[?:?]
at com.greatmancode.craftconomy3.account.AccountManager.getAccount(AccountManager.java:54) ~[?:?]
at com.greatmancode.craftconomy3.commands.money.MainCommand.execute(MainCommand.java:30) ~[?:?]
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) ~[PluginCommand.class:1.7.10-1492.152]
... 13 more
The only way I could get it to work is to use the /ccsetup command. Which is annoying if you need todo it for multiple servers.
Is there any way this can be fixed/changed?
Hi! I have a bungeecord server with multiple currencies. Craftconomy is connected to my MySQL datebase. If i for example have a shop, I can't buy anything.
This error shows sometimes (~1/4 times) when starting up the server, other times it works fine.
mysql database has 1.2mil people in it. mysql openfiles and max connections already set to pretty much unlimited.
craftconomy3-3.3
vault 1.5.3
It would be nice if you add UUID support to the plugin.
Hey there.
I'm trying to convert the H2 DB to MySQL. The tables are created right, but the import fails with following error in console:
[11:08:44] [Server thread/ERROR]: Error occurred while enabling Craftconomy3 v3.3-e72ac42-trv178 (Is it up to date?)
java.lang.NullPointerException
at java.util.UUID.fromString(UUID.java:192) ~[?:1.8.0_45]
at com.greatmancode.craftconomy3.converter.H2ToMySQLConverter.run(H2ToMySQLConverter.java:64) ~[?:?]
at com.greatmancode.craftconomy3.Common.convertDatabase(Common.java:412) ~[?:?]
at com.greatmancode.craftconomy3.Common.initialiseDatabase(Common.java:397) ~[?:?]
at com.greatmancode.craftconomy3.Common.onEnable(Common.java:143) ~[?:?]
at com.greatmancode.craftconomy3.tools.interfaces.BukkitLoader.onEnable(BukkitLoader.java:49) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot.jar:git-Spigot-d97e08b-880a532]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot.jar:git-Spigot-d97e08b-880a532]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-d97e08b-880a532]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [spigot.jar:git-Spigot-d97e08b-880a532]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [spigot.jar:git-Spigot-d97e08b-880a532]
at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [spigot.jar:git-Spigot-d97e08b-880a532]
at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [spigot.jar:git-Spigot-d97e08b-880a532]
at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [spigot.jar:git-Spigot-d97e08b-880a532]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [spigot.jar:git-Spigot-d97e08b-880a532]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:524) [spigot.jar:git-Spigot-d97e08b-880a532]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
Any idea what this could be?
Thanks in advance.
It seems that craftconomy and vault dont seem to work together very well when the multiworld support is used.
Vault will only read out of the default one.
Im running vault 1.5.6-b49
Craftconomy 3 3.3
spigot 1.8.8 R0.1 snapshot
This has been tested with ezrankslite
If you need something else just tell me
So, i'm making a new server and seeing as Boseconomy is now dead i had to find a new one and decided this looked like the way to go. However, due to what seems like a lack of videos about the plugin in English I had to figure out how to use the plugin through trial and error( and still am). I have found a few things however that I think could be changed or improved upon to make the use of the plugin a little simpler.
First of all, It would be very useful to have a general help command in game that would give a player all the commands in the plugin. I couldn't seem to find one and eventually figured out that doing /money and /bank would give me the commands that i was looking for.
Next, When creating a bank the plugin does not automatically give the creator of the bank any permissions except for the ability to grant permissions for it. This means that when you do /bank create x you also need to do "/bank perm x withdraw" and "/bank perm x deposit" before you can even use it. So basically it would be nice to see the bank automatically give withdraw and deposit permissions to the creator(and any other ones necessary for use).
I think that's it for now, if i run across anything else I will surely let you know, thanks for making and continuing to support this plugin as it saved me the trouble of having to make my own eco plugin(which would have been a pain in my arse, although exactly what i would need).
Great work!
hey,
sometimes my log get spammed with this errors if I have BungeeTabListPlus and CraftConomy installed.
[20:51:12 WARN]: [BungeeTabListPlus_BukkitBridge] ?cAn internal error occured! Please send the following stacktrace to the developer in order to help resolving the problem
java.lang.NullPointerException
> at net.milkbowl.vault.economy.plugins.Economy_Craftconomy3.getBalance(Economy_Craftconomy3.java:287) ~[Vault-1.4.2-C.jar:?]
> at net.milkbowl.vault.economy.plugins.Economy_Craftconomy3.getBalance(Economy_Craftconomy3.java:123) ~[Vault-1.4.2-C.jar:?]
> at codecrafter47.bungeetablistplus.bukkitbridge.informationhooks.VaultHook.getInformation(VaultHook.java:110) [BungeeTabListPlus_BukkitBridge-7.jar:?]
> at codecrafter47.bungeetablistplus.bukkitbridge.PlayerInformationUpdateTask.update(PlayerInformationUpdateTask.java:95) [BungeeTabListPlus_BukkitBridge-7.jar:?]
> at codecrafter47.bungeetablistplus.bukkitbridge.PlayerInformationUpdateTask.run(PlayerInformationUpdateTask.java:61) [BungeeTabListPlus_BukkitBridge-7.jar:?]
> at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71) [CraftTask.class:1.7.10-1448.124]
> at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [CraftAsyncTask.class:1.7.10-1448.124]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_76]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_76]
> at java.lang.Thread.run(Thread.java:745) [?:1.7.0_76]
Hey,
Everything was working fine with this plugin, until I saw a weird error. I'm making plugins myself, so if it something from me please tell me. Here's the rror:
http://pastebin.com/VNS6YvXC
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.