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

mapping values

Comments in 'Plugin Development' started by Andrey Nazarchuk, May 13, 2015.

  1. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    Hello,

    I loaded my plugin from source and got this error: (there was much more but its useless)
    Code:
    [WARNING] RuntimeException: "yaml_parse(): scanning error encountered during parsing: mapping values are not allowed in this context (line 10, column 13)" (E_WARNING) in "/src/pocketmine/utils/Config" at line 138
    
    Why does it seem to hate Line 10?
    Here is my config:
    Code:
    ===
    lobby: Lobby
    Signs:
      #[SkyWars]
      #Worldname
      #[0/8] Players
      #waiting, starting, started, reseting
    arenaworlds:
    JungleRuins:
      player-spawns:
      spec-spawn:
      minplayers: 6
      neededplayers: 8
    Ice:
      player-spawns:
      spec-spawn:
      minplayers: 6
      neededplayers: 16
    ---
    
    Last edited: May 13, 2015
  2. TigerHix
    Offline

    TigerHix Active Member

    Joined:
    May 11, 2015
    Posts:
    61
    Minecraft User:
    TigerHix
    Um. Just turn it to

    player-spawns: []

    and you should be good to go. As well as other empty options.
  3. Andrey Nazarchuk
    Offline

    Andrey Nazarchuk Active Member

    Joined:
    Dec 30, 2013
    Posts:
    332
    Minecraft User:
    digita1eclipse
    Thank you! :p:):cool:
    TigerHix likes this.

Share This Page

Advertisement