Solved How to reference player in config?

Discussion in 'Spigot Plugin Development' started by CorruptedCookies, Jun 13, 2020.

  1. I've been wondering how people do this:
    Code (Text):

        broadcastMessage: <Player> "Has joined for the first time!"
    How are do you make this variable <Player> in your config?

    Note: I'm not sure if that layout above was correct it was more of an example
  2. umm
    Code (Java):
    • Agree Agree x 2
    • Like Like x 1
    • Like Like x 1
  3. you should use broadcastMessage: "<Player> Has joined for the first time!" instead of broadcastMessage: <Player> "Has joined for the first time!"
  4. I love how people completely ignore what the guy needed help with & start finding mistakes in his work.
    He litterly said that there are mistakes in the layout & its just an example.
    • Like Like x 1
  5. Thanks for the help it's working. Have a good day :D
  6. Your question has already been answered, so I would just spam this thread? If you aren't here to get your mistakes corrected then you should learn what programming forums are for.