Class ServerSettings
java.lang.Object
de.ellpeck.rockbottom.api.data.settings.ServerSettings
- All Implemented Interfaces:
IJsonSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()getSettingsFile(IDataManager manager) voidload(com.google.gson.JsonObject object) voidsave(com.google.gson.JsonObject object)
-
Field Details
-
autosaveIntervalSeconds
public int autosaveIntervalSeconds -
maxPlayerAmount
public int maxPlayerAmount -
worldName
-
-
Constructor Details
-
ServerSettings
public ServerSettings()
-
-
Method Details
-
load
public void load(com.google.gson.JsonObject object) - Specified by:
loadin interfaceIJsonSettings
-
save
public void save(com.google.gson.JsonObject object) - Specified by:
savein interfaceIJsonSettings
-
getSettingsFile
- Specified by:
getSettingsFilein interfaceIJsonSettings
-
getName
- Specified by:
getNamein interfaceIJsonSettings
-