ZavAutoMessager (Nevalidní yml)

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
cz_martin_k
Příspěvky: 478
Registrován: 12 kvě 2012, 17:54
Reputation: 0

ZavAutoMessager (Nevalidní yml)

#1 Příspěvekod cz_martin_k » 10 lis 2012, 10:10

93.91.250.119:27802
Zdravím,
upravoval jsem v ZavAutoMessager zprávy a najednou to píše ty základní, v server log to hází chybu, ale nenašel jsem jí v configu.

Chyba:
Spoiler: zobrazit

Kód: Vybrat vše

2012-11-10 09:02:32 [SEVERE] Cannot load plugins/ZavAutoMessager/config.yml
org.bukkit.configuration.InvalidConfigurationException: unacceptable character '�' (0xFFFD) special characters are not allowed
in "<string>", position 2022
   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 org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117)
   at com.zavteam.plugins.configs.MainConfig.loadConfig(MainConfig.java:17)
   at com.zavteam.plugins.Main.autoReload(Main.java:65)
   at com.zavteam.plugins.Main.onEnable(Main.java:48)
   at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
   at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
   at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
   at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:272)
   at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:254)
   at net.minecraft.server.MinecraftServer.j(MinecraftServer.java:320)
   at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:299)
   at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:258)
   at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:141)
   at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:400)
   at net.minecraft.server.ThreadServerApplication.run(SourceFile:818)
Caused by: unacceptable character '�' (0xFFFD) special characters are not allowed
in "<string>", position 2022
   at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
   at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
   at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
   at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
   ... 18 more


Config:
Spoiler: zobrazit

Kód: Vybrat vše

# Default config for ZavAutoMessager.
# Visit http://dev.bukkit.org/server-mods/zavautomessager/ for more help
# Plugin created by the ZavCoding Team
# Authors: javoris767 and zachoooo.
# Make sure all your messages are inside of single quotes. (This makes sure that color and special characters work properly)
# If you want to make your own line breaks MAKE SURE WORDWRAP IS FALSE!!! Custom line breaks are only supported when wordwrap is off.
# Update checking requires an internet connection.
# Set update checking to false if you have no internet connection or you have a very strict firewall.

enabled: true

wordwrap: true

delay: 45 # In Seconds

permissionsenabled: false # If true, only people with permission can view the message.

chatformat: '&5[&bBIG CITY&5] %msg'

messageinrandomorder: false # Should the messages be displayed in a random order

updatechecking: true

messagesinconsole: true

requireplayersonline: true

messages:
    - '&aChcete mit vyhodu nad hraci? Kupte si &eVIP  &evyhody&a &avice na: &3http://cz-minecraft-server.webnode.cz/nas-server/vip/'
    - '&aKazdy tyden si mohou hraci dat &e/kit &estart &ea  &e/kit &ejidlo'
    - '&aVice informaci na nasem webu: &3http://cz-minecraft-server.webnode.cz/'
    - '&aByla zahajena soutez o nejlepsi &eSKIN &a, &avyherce bude &aodmenen &eVIP &evyhody&a, &avice &ainformaci &analeznete &ana: &ehttp://cz-minecraft-server.webnode.cz/news/nova-akce/'
    - '&aPri poruseni pravidel muzete dostat &eBAN! &aPeclive si &a prectete vsechna &epravidla!'
    - '&aMate napad na vylepseni &aserveru? &apiste &ami &ana &askype &bmartinkr3'
    - '&aPidivejte se na videa z &anaseho &aserveru! &3https://www.youtube.com/watch?v=PUyd4KIC-cY&feature=plcp &3http://www.youtube.com/watch?v=JlYDrgp7ILc&feature=plcp &aa &adejte &aodber &apro pokracovani...'
    - '&aChcete si zabojovat? poslouzi Vam &aprikaz &e/ma join'
    - '&aPotrebujete s necim poradit? zeptejte se &eAdminu &aco &ajsou prave online, &aurcite ti pomohou!'
    - '&aChcete si zahrát Skyblock? &aposlouzi &avam &aprikaz &e/island'
    - '&aHlavne neotravujte Adimny &akvuli &ablbostem! &aJako &anapr. &eAdmine, &epojd &esem, &ejak se &eti &eto libi?'
    - '&a Chcete vedet vice o pluginech? &aposlouzi &avam &aprikaz &e/warp &einfo_o_serveru'   
   

Uživatelský avatar
nejento
Příspěvky: 9815
Registrován: 28 lis 2011, 14:09
Reputation: 55
Kontaktovat uživatele:

Re: ZavAutoMessager (Nevalidní yml)

#2 Příspěvekod nejento » 10 lis 2012, 12:46

Jinak problémy by ti mohly dělat i ty odkazy na YouTube, protože když je tam &feature, tak to změní barvu na bílou a vznikne z toho bílé eature.
Oskazy si uprav (třeba pomocí zkracovadla http://bit.ly) Ale nejprv zkus tohle:
Spoiler: zobrazit

Kód: Vybrat vše

# Default config for ZavAutoMessager.
# Visit http://dev.bukkit.org/server-mods/zavautomessager/ for more help
# Plugin created by the ZavCoding Team
# Authors: javoris767 and zachoooo.
# Make sure all your messages are inside of single quotes. (This makes sure that color and special characters work properly)
# If you want to make your own line breaks MAKE SURE WORDWRAP IS FALSE!!! Custom line breaks are only supported when wordwrap is off.
# Update checking requires an internet connection.
# Set update checking to false if you have no internet connection or you have a very strict firewall.

enabled: true

wordwrap: true

delay: 45 # In Seconds

permissionsenabled: false # If true, only people with permission can view the message.

chatformat: '&5[&bBIG CITY&5] %msg'

messageinrandomorder: false # Should the messages be displayed in a random order

updatechecking: true

messagesinconsole: true

requireplayersonline: true

messages:
    - '&aChcete mit vyhodu nad hraci? Kupte si &eVIP  &evyhody&a &avice na: &3http://cz-minecraft-server.webnode.cz/nas-server/vip/'
    - '&aKazdy tyden si mohou hraci dat &e/kit &estart &ea  &e/kit &ejidlo'
    - '&aVice informaci na nasem webu: &3http://cz-minecraft-server.webnode.cz/'
    - '&aByla zahajena soutez o nejlepsi &eSKIN &a, &avyherce bude &aodmenen &eVIP &evyhody&a, &avice &ainformaci &analeznete &ana: &ehttp://cz-minecraft-server.webnode.cz/news/nova-akce/'
    - '&aPri poruseni pravidel muzete dostat &eBAN! &aPeclive si &a prectete vsechna &epravidla!'
    - '&aMate napad na vylepseni &aserveru? &apiste &ami &ana &askype &bmartinkr3'
    - '&aPidivejte se na videa z &anaseho &aserveru! &3https://www.youtube.com/watch?v=PUyd4KIC-cY&feature=plcp &3http://www.youtube.com/watch?v=JlYDrgp7ILc&feature=plcp &aa &adejte &aodber &apro pokracovani...'
    - '&aChcete si zabojovat? poslouzi Vam &aprikaz &e/ma join'
    - '&aPotrebujete s necim poradit? zeptejte se &eAdminu &aco &ajsou prave online, &aurcite ti pomohou!'
    - '&aChcete si zahrat Skyblock? &aposlouzi &avam &aprikaz &e/island'
    - '&aHlavne neotravujte Adimny &akvuli &ablbostem! &aJako &anapr. &eAdmine, &epojd &esem, &ejak se &eti &eto libi?'
    - '&a Chcete vedet vice o pluginech? &aposlouzi &avam &aprikaz &e/warp &einfo_o_serveru'
Obrázek

Obrázek Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: https://discord.fakaheda.eu/

cz_martin_k
Příspěvky: 478
Registrován: 12 kvě 2012, 17:54
Reputation: 0

Re: ZavAutoMessager (Nevalidní yml)

#3 Příspěvekod cz_martin_k » 10 lis 2012, 15:58

Funguje to, máš karmu a co si tam vůbec upravil?


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 48 hostů