Outprinting

Discussion in 'Plugin Development' started by cehobbs, Nov 26, 2013.

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

    cehobbs

    Hi all, I have logged information onto a file. How do i make it so when i perform a command it outprints all the information to the player in a message? Thanks.
     
  2. Offline

    Chinwe

    What kind of file are you using - yml? If so, you can loop through everything in a section with yml.getConfigurationSection("path.to.section").getKeys(boolean getChildrenKeysToo);

     
    calebbfmv likes this.
  3. Offline

    dmoney12321

    Also if it is a yml, you could put all the info into a string and use the this.getConfig().getString("nameofthestring")
     
Thread Status:
Not open for further replies.

Share This Page