Solved Get a list of materials from config

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

  1. Hi everyone, does anyone know how to get a list of materials from the config?
  2. Code (Java):
    List<String> names = config.getStringList("materials");

    List<Material> =;
    • Agree Agree x 1
    • Winner Winner x 1
  3. Thanks a lot, even if I haven't used that one but thanks..