Solved Custom Join Message

Discussion in 'Plugin Development' started by -L1nd-, Jun 5, 2018.

Thread Status:
Not open for further replies.
  1. Hey guys,
    I am currently programming a Minecraft plugin (Bukkit / Spigot) and would like to give users the opportunity to define a personal join message in the config.yml.

    So I want to do this:
    I would like to be able to enter the join message under a specific path in the config.yml, which is then retrieved and output during the join. Also, if you enter ?player? in the config.yml, the player name will be evaluated.

    My problem:
    I do not know how I can change the ?Player? in the player name, because the message is read out as a string from the config.yml and therefore I can not read out individual words (arguments) and so I can not change it to the player name.

    I hope you know what i mean :)


    Regards Jannick (L1nd)
     
  2. Online

    timtower Administrator Administrator Moderator

    -L1nd- likes this.
  3. Offline

    KarimAKL

    @-L1nd- Is this solved? If yes then please change the title prefix to solved.
     
Thread Status:
Not open for further replies.

Share This Page