api.persistentServer(). Persistent servers keep their identity across restarts and can be assigned to a specific serverhost.
Get Persistent Servers
Create Persistent Server
Update Persistent Server
Delete Persistent Server
Persistent Server Properties
PersistentServerQuery
| Filter | Method | Description |
|---|---|---|
| Tags | filterByTags(String... tags) | Match persistent servers with any of the given tags |
| Active status | filterByActive(boolean active) | Match active or inactive persistent servers |
| Serverhost | filterByServerhostId(String serverhostId) | Match persistent servers assigned to one serverhost |
| Limit | limit(int limit) | Limit the number of returned results |
PersistentServer Model
PersistentServer extends ServerBase, so it includes the shared configuration fields used by groups and persistent servers.
Unique persistent server ID.
Human-readable server name.
Persistent server type. Use
SERVER for game servers or PROXY for proxy servers.Minimum memory in MB.
Maximum memory in MB.
Player limit.
Whether SimpleCloud should keep the persistent server running.
Priority used by scheduling and ordering logic.
Assigned serverhost ID.
Player count of the running instance, or
0 if no instance exists.Blueprint or image source configuration.
Lifecycle workflows.
Custom metadata.
Tags used for filtering and organization.
Creation timestamp in ISO 8601 format.
Last update timestamp in ISO 8601 format.
Running instances created from persistent servers still appear in
api.server() and expose server.getPersistentServerId() plus server.getPersistentServer().