Contents
- Description
- Nested Class Summary
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- setHytaleServerConfig(HytaleServerConfig)
- isEnabled()
- setEnabled(boolean)
- getCheckIntervalSeconds()
- setCheckIntervalSeconds(int)
- isNotifyPlayersOnAvailable()
- setNotifyPlayersOnAvailable(boolean)
- getPatchline()
- setPatchline(String)
- isRunBackupBeforeUpdate()
- setRunBackupBeforeUpdate(boolean)
- isBackupConfigBeforeUpdate()
- setBackupConfigBeforeUpdate(boolean)
- getAutoApplyMode()
- setAutoApplyMode(UpdateConfig.AutoApplyMode)
- getAutoApplyDelayMinutes()
- setAutoApplyDelayMinutes(int)
Class UpdateConfig
java.lang.Object
com.hypixel.hytale.server.core.config.UpdateConfig
Configuration for the server auto-update system.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumMode for automatic update application. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintMinutes to wait before auto-applying when using SCHEDULED mode.The auto-apply mode for staged updates.intbooleanbooleanbooleanbooleanvoidsetAutoApplyDelayMinutes(int autoApplyDelayMinutes) voidsetAutoApplyMode(UpdateConfig.AutoApplyMode autoApplyMode) voidsetBackupConfigBeforeUpdate(boolean backupConfigBeforeUpdate) voidsetCheckIntervalSeconds(int checkIntervalSeconds) voidsetEnabled(boolean enabled) voidsetHytaleServerConfig(HytaleServerConfig hytaleServerConfig) voidsetNotifyPlayersOnAvailable(boolean notifyPlayersOnAvailable) voidsetPatchline(String patchline) voidsetRunBackupBeforeUpdate(boolean runBackupBeforeUpdate)
-
Field Details
-
DEFAULT_CHECK_INTERVAL_SECONDS
public static final int DEFAULT_CHECK_INTERVAL_SECONDS- See Also:
-
CODEC
-
-
Constructor Details
-
UpdateConfig
public UpdateConfig() -
UpdateConfig
-
-
Method Details
-
setHytaleServerConfig
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getCheckIntervalSeconds
public int getCheckIntervalSeconds() -
setCheckIntervalSeconds
public void setCheckIntervalSeconds(int checkIntervalSeconds) -
isNotifyPlayersOnAvailable
public boolean isNotifyPlayersOnAvailable() -
setNotifyPlayersOnAvailable
public void setNotifyPlayersOnAvailable(boolean notifyPlayersOnAvailable) -
getPatchline
-
setPatchline
-
isRunBackupBeforeUpdate
public boolean isRunBackupBeforeUpdate() -
setRunBackupBeforeUpdate
public void setRunBackupBeforeUpdate(boolean runBackupBeforeUpdate) -
isBackupConfigBeforeUpdate
public boolean isBackupConfigBeforeUpdate() -
setBackupConfigBeforeUpdate
public void setBackupConfigBeforeUpdate(boolean backupConfigBeforeUpdate) -
getAutoApplyMode
The auto-apply mode for staged updates. Default: DISABLED -
setAutoApplyMode
-
getAutoApplyDelayMinutes
public int getAutoApplyDelayMinutes()Minutes to wait before auto-applying when using SCHEDULED mode. Default: 30 -
setAutoApplyDelayMinutes
public void setAutoApplyDelayMinutes(int autoApplyDelayMinutes)
-