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

[ASAP] yaml_parse

Comments in 'Plugin Development' started by Primus, Apr 14, 2015.

  1. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    [WARNING] RuntimeException: "yaml_parse(): scanning error encountered during parsing: could not find expected ':' (line 10, column 1), context while scanning a simple key (line 8, column 1)" (E_WARNING) in "/src/pocketmine/plugin/PluginBase" at line 261'

    Here is the config
    Code:
    ---
    # List all your vips here.
    vips: []
    # Disable/Enable features.
    enable-join-message:
    "true"
    enable-leave-message:
    "true"
    enable-death-message:
    "true"
    # Chat Formats
    vip-chat:
        "[VIP] {PLAYER}] {MESSAGE}"
    vip-name-tag:
        "[VIP] {PLAYER}"
    vip-join-message:
        "[VIP] {PLAYER} Joined the game."
    vip-join-message:
        "[VIP] {PLAYER} Left the game."
        # DO NOT CHANG THIS
    version: 1.0.0
    ---
    
    
    
    
  2. Praxthisnovcht
    Offline

    Praxthisnovcht Notable Member Plugin Developer

    Joined:
    Mar 10, 2014
    Posts:
    701
    Plugins:
    4
    Minecraft User:
    PraxHellTag
    plugin.yml ? maybe
  3. iJoshuaHD
    Offline

    iJoshuaHD Notable Member Plugin Developer

    Joined:
    Nov 7, 2013
    Posts:
    1,196
    Plugins:
    4
    Minecraft User:
    iJoshuaHD
    it must be more like this because the current one is wrong.
    Code:
    ---
    # List all your vips here.
    vips: []
    # Disable/Enable features.
    enable-join-message: "true"
    enable-leave-message: "true"
    enable-death-message: "true"
    # Chat Formats
    vip-chat: "[VIP] {PLAYER}] {MESSAGE}"
    vip-name-tag: "[VIP] {PLAYER}"
    vip-join-message: "[VIP] {PLAYER} Joined the game."
    vip-join-message: "[VIP] {PLAYER} Left the game."
    # DO NOT CHANG THIS
    version: 1.0.0
    ---
    
    PEMapModder and EvolSoft like this.
  4. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    The end of file must be ... and not ---
    Then is better to write messages inline (look @iJoshuaHD post)

Share This Page

Advertisement