@ApiInternal public final class ServerSettings extends java.lang.Object implements IJsonSettings
| Modifier and Type | Field and Description |
|---|---|
int |
autosaveIntervalSeconds |
int |
maxPlayerAmount |
java.lang.String |
worldName |
| Constructor and Description |
|---|
ServerSettings() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.io.File |
getSettingsFile(IDataManager manager) |
void |
load(com.google.gson.JsonObject object) |
void |
save(com.google.gson.JsonObject object) |
public int autosaveIntervalSeconds
public int maxPlayerAmount
public java.lang.String worldName
public void load(com.google.gson.JsonObject object)
load in interface IJsonSettingspublic void save(com.google.gson.JsonObject object)
save in interface IJsonSettingspublic java.io.File getSettingsFile(IDataManager manager)
getSettingsFile in interface IJsonSettingspublic java.lang.String getName()
getName in interface IJsonSettings