Stránka 1 z 1

MyCommand error

Napsal: 29 čer 2014, 22:25
od DTB1995
93.91.250.110:27937

Čaute mám problém s pluginom MyCommand.. Nechápem ako to môže hádzať error keď som doň ani nezasahoval.. log

Spoiler: zobrazit

Kód: Vybrat vše

ERROR]: Cannot load plugins/MyCommand/language.yml
org.bukkit.configuration.InvalidConfigurationException: unacceptable character '�' (0xFFFD) special characters are not allowed
in "<string>", position 533
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57) ~inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226) ~inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169) ~inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:180) inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at it.mri.mycommand.InitializeConfigFiles.checkConfig(InitializeConfigFiles.java:109) yCommand.jar:?]
at it.mri.mycommand.Main.onEnable(Main.java:172) yCommand.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin(CraftServer.java:446) inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins(CraftServer.java:380) inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.n(MinecraftServer.java:352) inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.g(MinecraftServer.java:326) inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.a(MinecraftServer.java:282) inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:182) inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:436) inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
Caused by: org.yaml.snakeyaml.reader.ReaderException: special characters are not allowed
at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70) ~inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50) ~inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) ~inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~inecraft_server.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]


Spoiler: zobrazit

Kód: Vybrat vše

Cannot load plugins/MyCommand/language.yml
org.bukkit.configuration.InvalidConfigurationException: unacceptable character '�' (0xFFFD) special characters are not allowed
in "<string>", position 533
Toto som si všimol ako prvé a ja tam nič take nevidim

Súbor language.yml

Spoiler: zobrazit

Kód: Vybrat vše

#-----------------------------------------------------------------------------------------------------------#
#                       MyCommand Language config file (last update v5.1.1)                     #
#                           Use & as color code ,and %s for variables                        #
#                    BukkitDev Help page : http://dev.bukkit.org/server-mods/mycommand/                #
#-----------------------------------------------------------------------------------------------------------#
LANGUAGE:
  PREFIX: "&0[&6MyCmd&0]&r "
  ECONOMY_COST: "&6This command cost &e%s&6$. New balance §e%s&6$"
  ECONOMY_NO_MONEY: "&6You need &e%s&6$ for run this command."
  DEBUG_EXECUTE: "Execute: "
  COMMAND_ARGS_LINE1: "No args...Please use :"
  COMMAND_ARGS_LINE2: "-> Output command(s) :"
  ITEM_NOSET: "&dThere are no command(s) on this item"
  NO_PERMISSIONS: "&cOps, check your permissions."
  SIGN_REMOVED: "Sign removed!."
  SIGN_EMPTY: "All lines are empty."
  BLOCK_REMOVED: "Block removed!."
  SPOUT_NOCLIENT: "You need a Spoutcraft client for use this command"
  BLOCK_DELAY: "&cYou must wait %s sec for re-use this"
  WARMUP1: "&6The command will be performed in &e%s &6seconds"
  WARMUP2: "&aYou have bypassed the warmup"
  WARMUP3: "&cThis command its already called. Wait &4%s&c seconds"
  COOLDOWN1: "&cWait %s seconds before you can use this command again"
  COOLDOWN2: "&cYou have bypassed the cooldown on this command"

Re: MyCommand error

Napsal: 29 čer 2014, 22:44
od Chytrolin
DTB1995 píše:ECONOMY_COST: "&6This command cost &e%s&6$. New balance §e%s&6$"


§ je tím problémem. Místo něj napiš &