Solved Pulling information from config.yml

Discussion in 'Plugin Development' started by Giorgio, Dec 7, 2012.

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

    Giorgio

    I would like it so, if player1 sets data perhaps "/name john". It will then write the information to the config.yml (DONE!). Now say if player2 comes and types "/getname player1", it will then go into the config.yml and pull the data to be shown to player2.
     
  2. Offline

    chaseoes Retired Staff

    Code:
    player.sendMessage(getConfig().getString(args[0]));
     
  3. Offline

    Giorgio

  4. Offline

    gomeow

Thread Status:
Not open for further replies.

Share This Page