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.
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);
Also if it is a yml, you could put all the info into a string and use the this.getConfig().getString("nameofthestring")