1.12.2 Read multiple Yaml Files

Discussion in 'Spigot Plugin Development' started by Nico12, Feb 9, 2020.

  1. The title already says a lot, I try to read multiple yaml files in a folder inside the folder of my plugin to be able to create multiple scoreboards that are going to be categorized according to their permission, something like AnimatedMenu inventories, that is one can create the amount of scoreboard that you want and put it to a player with the permission that one wants, I only need somehow to read all the files of the directory and in some way that is FileConfiguration to be able to use methods like getString, getInt, getConfigurationSection etc., Could you help me?
  2. Post what code you already have. What you're asking for is basic Java I/O that you should already know before attempting to use the Bukkit API.
  3. drives_a_ford


    • Agree Agree x 1