Solved Getting info from config.yml?

Discussion in 'Plugin Development' started by Peter25715, Oct 21, 2014.

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

    Peter25715

    Hello, I just need help with getting info from the config.yml, My plugin contains; Print the message that is wrote in the config.yml and it works, Now I just wanna make it more advanced and get more info like when writing :
    Code:
    Msg: §aThis is a simple test, !PLAYER! !
    
    so it will detect !PLAYER! and make it player.getName(); in game.
     
  2. Offline

    fireblast709

    Peter25715 Google how to replace String contents with other contents. Also, don't use section signs in config files, rather use an alternate character (like &) and use ChatColor.translateAlternateColorCodes(char, String)
     
  3. Offline

    Rocoty

    What have you tried so far?
     
  4. Offline

    Peter25715

    Nvm its fixed. Ty.
     
Thread Status:
Not open for further replies.

Share This Page