Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved config parse error

Comments in 'Plugin Development' started by xBeastMode, Dec 22, 2015.

  1. xBeastMode
    Offline

    xBeastMode Active Member

    Joined:
    Nov 27, 2015
    Posts:
    292
    I'm back again with one of my stupid errors. I am trying to make a broadcaster plugin for my new server(opening soon) but the config won't load.
    Error:
    Code:
    [19:10:51] [Server thread/WARNING]: RuntimeException: "yaml_parse(): reading error encountered during parsing: invalid leading UTF-8 octet (line 1, column 1)" (E_WARNING) in "/src/pocketmine/plugin/PluginBase" at line 261
    Config:
    Code:
    #time it takes to broadcast a message in seconds
    broadcast_time: 25
    #messages to broadcast
    messages:
        - "Thanks for playing on the BeastHub-NET server!"
        - "Have questions? My kik: \nĀ§bAsk me there!"
        - "We are looking for staff, kik me at: "
    I don't wanna show my kik here.
  2. xBeastMode
    Offline

    xBeastMode Active Member

    Joined:
    Nov 27, 2015
    Posts:
    292
    I solved it. I forgot to delete the old config file and it was crashing.

Share This Page

Advertisement