content: package au.com.mineauz.minigames.config;
  
  import au.com.mineauz.minigames.menu.MenuItem;
  import org.bukkit.Material;
  import org.bukkit.configuration.file.FileConfiguration;
  
  import java.util.ArrayList;
  import java.util.List;
  
  public class StrListFlag extends Flag<List<String>> {
  
      public StrListFlag(List<String> value, String name) {
          setFlag(value);
          setDefaultFlag(new ArrayList<>()); //saving tests if the flag is equal to their default
          setName(name);
      }
  
      @Override
      public void saveValue(String path, FileConfiguration config) {
          config.set(path + "." + getName(), getFlag());
      }
  
      @Override
      public void loadValue(String path, FileConfiguration config) {
          setFlag(config.getStringList(path + "." + getName()));
      }
  
      @Override
      public MenuItem getMenuItem(String name, Material displayItem) {
          return null;
      }
  
      @Override
      public MenuItem getMenuItem(String name, Material displayItem,
                                  List<String> description) {
          return null;
      }
  
  }
  