private static Scoreboard loadScoreboard(ConfigurationSection section, String id) { String interval = section.getString("interval", "30m"); String command = section.getString("command"); Scoreboard.Sender senderType = Scoreboard.Sender.valueOf(section.getString("sender", "console").toUpperCase()); Scoreboard scoreboard = new Scoreboard( id, interval, senderType, command, loadLocation(section.getConfigurationSection("location"))); scoreboard.setFilter(section.getString("filter", null)); scoreboard.setDelay(section.getString("delay", "5s")); return scoreboard; }