public void addPlayer(String name, ReservationType type) {
   ConfigurationSection section =
       this.getConfiguration().getConfigurationSection("reserved-players");
   section.set(name, type.name());
   this.save();
   this.reservedPlayers.put(name, type);
 }
 private void setPlayers() {
   ConfigurationSection section =
       this.getConfiguration().getConfigurationSection("reserved-players");
   this.reservedPlayers.clear();
   for (String key : section.getKeys(false)) {
     try {
       this.reservedPlayers.put(key, ReservationType.valueOf(section.getString(key)));
     } catch (final IllegalArgumentException exception) {
       this.getLogger().warning(this, "invalid-reservation", key);
     }
   }
 }