Added optional server config parameter to limit the number of AI players when creating tournaments.

This commit is contained in:
LevelX2 2013-10-07 18:14:27 +02:00
parent f04df1b193
commit 360a62917b
6 changed files with 55 additions and 14 deletions

View file

@ -94,6 +94,10 @@ public class ConfigSettings {
public String getUserNamePattern() {
return config.getServer().getUserNamePattern();
}
public String getMaxAiOpponents() {
return config.getServer().getMaxAiOpponents();
}
public List<Plugin> getPlayerTypes() {
return config.getPlayerTypes().getPlayerType();