Solved Block Mapping

Discussion in 'Spigot Plugin Development' started by WaffleMast3r, Jun 4, 2017.

Thread Status:
Not open for further replies.
  1. Code (Text):
    Cannot load plugins\Points\config.yml
    org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in 'string', line 1, column 1:
        mysql:
        ^
    expected <block end>, but found BlockMappingStart
    in 'string', line 8, column 2:
         itemcost:
         ^
    show your config.yml
     
  2. Code (Text):
    mysql:
      host: 'localhost'
      port: '3306'
      database: 'points'
      username: 'root'
      password: ''
      prefix_table: 'shades_'
    itemcost:
       Diamond: 1000
    use one more space bar before itemcost

    and 4 more before Diamond:
     
  3. OH LOL I didn't see Thank u
     
  4. Ah wait I see. My fault.

    Remove 1 space bar before itemcost, Dont need to add anything before Diamond
     
    • Like Like x 1
  5. This is what i do Thanks
     
Thread Status:
Not open for further replies.