Closed t00thpick1 closed 12 years ago
brand new install on a clean database.
did you try on the before latest dev build?
Yes just figured that out and was about to say so, btw if I am setting up my database manually rrather than with commands, can I leave the "world" value in the balance table blank or do I have to specify a world, multiworld is disabled in config
the system automaticly put the default world name (the first one to load) in the world field.
I mean from an external mysql editor, not from in game
I currently have the world column value as null, but the create table query you made tells me it should not be null, so what should I put in the world cell if I don't want to specify a world
set it to the default world name (world= in the minecraft.properties file)
server.properties*
Ah thankya kindly
2012-07-13 13:10:13 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'money' in plugin Craftconomy v2.3.5-b4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 at java.lang.String.substring(Unknown Source) at me.greatman.Craftconomy.Craftconomy.format(Craftconomy.java:355) at me.greatman.Craftconomy.Craftconomy.format(Craftconomy.java:320) at me.greatman.Craftconomy.commands.money.OwnMoneyCommand.perform(OwnMoneyCommand.java:29) at me.greatman.Craftconomy.commands.BaseCommand.execute(BaseCommand.java:58) at me.greatman.Craftconomy.Craftconomy.handleMoneyCommand(Craftconomy.java:272) at me.greatman.Craftconomy.Craftconomy.onCommand(Craftconomy.java:237) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more 2012-07-13 13:10:36 [SEVERE] Exception in thread "Timer-1" 2012-07-13 13:10:36 [SEVERE] java.lang.StringIndexOutOfBoundsException: String index out of range: 2 2012-07-13 13:10:36 [SEVERE] at java.lang.String.substring(Unknown Source) 2012-07-13 13:10:36 [SEVERE] at me.greatman.Craftconomy.Craftconomy.format(Craftconomy.java:355) 2012-07-13 13:10:36 [SEVERE] at me.greatman.Craftconomy.PayDay.paydayIterator(PayDay.java:146) 2012-07-13 13:10:36 [SEVERE] at me.greatman.Craftconomy.PayDay.run(PayDay.java:114) 2012-07-13 13:10:36 [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source) 2012-07-13 13:10:36 [SEVERE] at java.util.TimerThread.run(Unknown Source) 2012-07-13 13:11:58 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'money' in plugin Craftconomy v2.3.5-b4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 at java.lang.String.substring(Unknown Source) at me.greatman.Craftconomy.Craftconomy.format(Craftconomy.java:355) at me.greatman.Craftconomy.Craftconomy.format(Craftconomy.java:320) at me.greatman.Craftconomy.commands.money.OwnMoneyCommand.perform(OwnMoneyCommand.java:29) at me.greatman.Craftconomy.commands.BaseCommand.execute(BaseCommand.java:58) at me.greatman.Craftconomy.Craftconomy.handleMoneyCommand(Craftconomy.java:272) at me.greatman.Craftconomy.Craftconomy.onCommand(Craftconomy.java:237) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more 2012-07-13 13:12:01 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'money' in plugin Craftconomy v2.3.5-b4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 at java.lang.String.substring(Unknown Source) at me.greatman.Craftconomy.Craftconomy.format(Craftconomy.java:355) at me.greatman.Craftconomy.Craftconomy.format(Craftconomy.java:320) at me.greatman.Craftconomy.commands.money.OwnMoneyCommand.perform(OwnMoneyCommand.java:29) at me.greatman.Craftconomy.commands.BaseCommand.execute(BaseCommand.java:58) at me.greatman.Craftconomy.Craftconomy.handleMoneyCommand(Craftconomy.java:272) at me.greatman.Craftconomy.Craftconomy.onCommand(Craftconomy.java:237) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more 2012-07-13 13:18:44 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'money' in plugin Craftconomy v2.3.5-b4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 at java.lang.String.substring(Unknown Source) at me.greatman.Craftconomy.Craftconomy.format(Craftconomy.java:355) at me.greatman.Craftconomy.commands.money.GiveCommand.perform(GiveCommand.java:63) at me.greatman.Craftconomy.commands.BaseCommand.execute(BaseCommand.java:58) at me.greatman.Craftconomy.Craftconomy.handleMoneyCommand(Craftconomy.java:280) at me.greatman.Craftconomy.Craftconomy.onCommand(Craftconomy.java:237) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more