forked from External/mage
Added optional server config parameter to limit the number of AI players when creating tournaments.
This commit is contained in:
parent
f04df1b193
commit
360a62917b
6 changed files with 55 additions and 14 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue