Solved InvalidConfigurationException

Discussion in 'Plugin Development' started by SuperSniper, Oct 17, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    SuperSniper

    I don't know why this is happening, but in my config, I have this:

    Code:
    JoinTitle:
       Title: 'HubMagic'
          Color: 'AQUA'
       Subtitle: 'by SuperSniper on SpigotMC'
          Color: 'GREEN'
    
    And Im getting an error of this inside of the console:

    Show Spoiler

    upload_2015-10-17_15-28-18.png


    Line 52 in my Main class is
    reloadConfig();

    When I remove it, it says the same thing.

    Does anyone have any knowledge of why this is happening and willing to help?
     
  2. Offline

    Zombie_Striker

    @SuperSniper
    The way you formatted your config, Try fixing your formatting (spacing)
    Turn it into
    Code:
    JoinTitle:
       Title: 'HubMagic'
       Color: 'AQUA'
       Subtitle: 'by SuperSniper on SpigotMC'
       Color: 'GREEN'
    or
    Code:
    JoinTitle:
       Title:
          Color: 'AQUA'
       Subtitle:
          Color: 'GREEN'
     
  3. Offline

    SuperSniper

Thread Status:
Not open for further replies.

Share This Page