BattleKits

BattleKits

250k Downloads

Enchantments

Jambohamb opened this issue · 1 comments

commented

Hello again! My problem is that when i put the chestplateEnchant: '1:2' then it comes up with an error in the console!Anyway i'm sending you my log file!

2013-09-14 15:38:01 [SEVERE] Cannot load plugins\BattleKits\kits.yml
org.bukkit.configuration.InvalidConfigurationException: while scanning for the next token
found character '\t' that cannot start any token
in "", line 270, column 1:
chestplateEnchant: '1:2'
^

at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175)
at com.lavacraftserver.BattleKits.ConfigAccessor.reloadConfig(ConfigAccessor.java:64)
at com.lavacraftserver.BattleKits.BattleKits.makeConfigs(BattleKits.java:190)
at com.lavacraftserver.BattleKits.BattleKits.onEnable(BattleKits.java:164)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin(CraftServer.java:282)
at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlugins(CraftServer.java:264)
at net.minecraft.server.v1_5_R3.MinecraftServer.j(MinecraftServer.java:304)
at net.minecraft.server.v1_5_R3.MinecraftServer.e(MinecraftServer.java:283)
at net.minecraft.server.v1_5_R3.MinecraftServer.a(MinecraftServer.java:243)
at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:151)
at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:382)
at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)

Caused by: while scanning for the next token
found character '\t' that cannot start any token
in "", line 270, column 1:
chestplateEnchant: '1:2'
^

at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:358)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
... 17 more

2013-09-14 15:38:01 [INFO] [BattleKits] length is 6220
2013-09-14 15:38:01 [INFO] [BattleKits] length is 942
2013-09-14 15:38:01 [INFO] [BattleKits] length is 268
2013-09-14 15:38:01 [INFO] [BattleKits] Not enabling restrictions due to config setting
2013-09-14 15:38:01 [INFO] [BattleKits] Vault found.
2013-09-14 15:38:01 [INFO] [BattleKits] Disabling tag functionality as TagAPI is not installed.
2013-09-14 15:38:01 [INFO] [BattleKits] BattleKits (2.0.3) has been enabled!
2013-09-14 15:38:01 [INFO] [ChatManager] Enabling ChatManager v1.19.1
2013-09-14 15:38:01 [INFO] [ChatManager] ChatManager disabled. Check config.yml!
2013-09-14 15:38:01 [INFO] [ChatManager] Disabling ChatManager v1.19.1
2013-09-14 15:38:01 [INFO] [ChatManager] ChatManager disabled!
2013-09-14 15:38:01 [INFO] [EssentialsProtect] Enabling EssentialsProtect v2.10.1
2013-09-14 15:38:01 [INFO] [ClearLag] No updates found!
2013-09-14 15:38:02 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
2013-09-14 15:38:03 [INFO] [ServerSigns] Enabling ServerSigns v2.8
2013-09-14 15:38:03 [INFO] [ServerSigns] Successfully hooked in into Vault
2013-09-14 15:38:03 [INFO] [ServerSigns] Version 2.8 is now enabled.
2013-09-14 15:38:03 [INFO] [EssentialsSpawn] Enabling EssentialsSpawn v2.10.1
2013-09-14 15:38:03 [INFO] [Multiverse-Portals] Enabling Multiverse-Portals v2.4-b548
2013-09-14 15:38:03 [INFO] [Multiverse-Portals] - Version 2.4-b548 Enabled - By Rigby and fernferret
2013-09-14 15:38:03 [INFO] [Multiverse-Portals] 3 - Portals(s) loaded
2013-09-14 15:38:03 [INFO] [xAuth] Enabling xAuth v2.0.26
2013-09-14 15:38:04 [WARNING] [xAuth] -------- xAuth Updater --------
2013-09-14 15:38:04 [WARNING] [xAuth] This server appears to be running an older version
2013-09-14 15:38:04 [WARNING] [xAuth] of xAuth. Version 2.4.0 is now available.
2013-09-14 15:38:04 [WARNING] [xAuth]
2013-09-14 15:38:04 [WARNING] [xAuth] Priority: HIGH
2013-09-14 15:38:04 [WARNING] [xAuth] Details: http://github.com/lycano/xAuth/
2013-09-14 15:38:04 [WARNING] [xAuth] Download: http://dev.bukkit.org/server-mods/xAuth/
2013-09-14 15:38:04 [WARNING] [xAuth] -------------------------------
2013-09-14 15:38:04 [INFO] [xAuth] PermissionAlias backend: 'pex' registered!
2013-09-14 15:38:04 [INFO] [xAuth] PermissionAlias backend: 'gm' registered!
2013-09-14 15:38:04 [INFO] [xAuth] PermissionAlias backend: 'bukkit' registered!
2013-09-14 15:38:04 [INFO] [xAuth] Attempting to use supported permissions plugin 'GroupManager'
2013-09-14 15:38:04 [WARNING] [xAuth] This plugin is not ready yet.
2013-09-14 15:38:04 [INFO] [xAuth] Initializing bukkit backend
2013-09-14 15:38:04 [INFO] [xAuth] Attempting to use supported permissions plugin 'PermissionsEx'
2013-09-14 15:38:04 [WARNING] [xAuth] This plugin is not ready yet.
2013-09-14 15:38:04 [INFO] [xAuth] Initializing bukkit backend
2013-09-14 15:38:04 [INFO] [xAuth] Config node permissions.backend changed to 'pex'
2013-09-14 15:38:04 [INFO] [xAuth] Initializing pex backend
2013-09-14 15:38:04 [WARNING] [xAuth] This plugin is not ready yet.
2013-09-14 15:38:04 [INFO] [xAuth] Attached to PermissionsEx version 1.19.5
2013-09-14 15:38:05 [INFO] [xAuth] Successfully established connection to H2 database
2013-09-14 15:38:05 [INFO] [xAuth] v2.0.26 Enabled!
2013-09-14 15:38:05 [INFO] [EssentialsChat] Enabling EssentialsChat v2.10.1
2013-09-14 15:38:05 [INFO] [Factions] Enabling Factions v1.6.9.4
2013-09-14 15:38:05 [INFO] [Factions v1.6.9.4] === ENABLE START ===
2013-09-14 15:38:05 [INFO] [Factions v1.6.9.4] Loading board from disk
2013-09-14 15:38:05 [INFO] [Factions v1.6.9.4] Found and will integrate chat with EssentialsChat v2.10.1
2013-09-14 15:38:05 [INFO] [Factions v1.6.9.4] Economy integration through Vault plugin successful.
2013-09-14 15:38:05 [INFO] [Factions v1.6.9.4] NOTE: Economy is disabled. You can enable it with the command: f config econEnabled true
2013-09-14 15:38:05 [INFO] [Factions v1.6.9.4] === ENABLE DONE (Took 594ms) ===
2013-09-14 15:38:05 [INFO] [Lockette] Enabled link to plugin Factions for Groups, version 1.6.9.4
2013-09-14 15:38:06 [INFO] Server permissions file permissions.yml is empty, ignoring it
2013-09-14 15:38:06 [INFO] Done (17,964s)! For help, type "help" or "?"
2013-09-14 15:38:48 [INFO] DimitrisGR123[/127.0.0.1:2149] logged in with entity id 210 at ([world] -2895.0116768176504, 80.17473548622962, -689.1542617517493)
2013-09-14 15:38:57 [INFO] DimitrisGR123 issued server command: /login 0626393496
2013-09-14 15:38:57 [INFO] [xAuth] DimitrisGR123 authenticated
2013-09-14 15:39:03 [INFO] DimitrisGR123 issued server command: /kit
2013-09-14 15:39:03 [SEVERE] Unhandled exception executing command 'kit' in plugin BattleKits v2.0.3
org.bukkit.command.CommandException: Unhandled exception executing command 'kit' in plugin BattleKits v2.0.3
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:334)
at com.earth2me.essentials.Essentials.onCommand(Essentials.java:319)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189)
at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:523)
at net.minecraft.server.v1_5_R3.PlayerConnection.handleCommand(PlayerConnection.java:965)
at net.minecraft.server.v1_5_R3.PlayerConnection.chat(PlayerConnection.java:883)
at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:840)
at net.minecraft.server.v1_5_R3.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292)
at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:109)
at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35)
at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.NullPointerException
at com.lavacraftserver.BattleKits.CommandBattleKits.onCommand(CommandBattleKits.java:52)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 18 more
2013-09-14 15:39:05 [INFO] DimitrisGR123 issued server command: /kits
2013-09-14 15:39:06 [INFO] [ǹȬGaleDzȬCraftȦ]: ǶȬThanks for choosing our server!
2013-09-14 15:39:08 [INFO] DimitrisGR123 issued server command: /kit
2013-09-14 15:39:08 [SEVERE] Unhandled exception executing command 'kit' in plugin BattleKits v2.0.3
org.bukkit.command.CommandException: Unhandled exception executing command 'kit' in plugin BattleKits v2.0.3
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:334)
at com.earth2me.essentials.Essentials.onCommand(Essentials.java:319)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189)
at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:523)
at net.minecraft.server.v1_5_R3.PlayerConnection.handleCommand(PlayerConnection.java:965)
at net.minecraft.server.v1_5_R3.PlayerConnection.chat(PlayerConnection.java:883)
at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:840)
at net.minecraft.server.v1_5_R3.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292)
at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:109)
at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35)
at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.NullPointerException
at com.lavacraftserver.BattleKits.CommandBattleKits.onCommand(CommandBattleKits.java:52)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 18 more

E-mail me at [email protected] for the sulotion of this!

commented

Never use tabs in YAML.