Send a message to a player on first time join

Discussion in 'Plugin Development' started by edragy, Jul 8, 2012.

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

    Cowboys1919

    Stuff like getting info from config files is well documented on here, there are posts on it, just use the search bar.
     
  2. Offline

    bartboy8

    You will have to define plugin in your listener class if you haven`t already. But then you can just use this:
    Code:
    player.sendMessage(plugin.getConfig().getString("Message1"));
    Message1 wouldn't be printed out the stuff after it would. This is how your config should look:
    Code:
    Message1: It will print this out!
     
  3. Offline

    edragy

    can you ppl also check out this thread please here
     
Thread Status:
Not open for further replies.

Share This Page