Supported software
Install the plugin
1
Install the required plugins
Download Placeholders from GitHub and PlaceholderAPI. Folia requires PlaceholderAPI 2.11.7 or newer.Place both JARs in the server template’s
plugins/ folder. Standard SimpleCloud templates already include simplecloud-api; add it through the target’s Plugins setting or the CLI if you use a custom template.2
Start a matching server
Start a server from the template. The plugin registers the
simplecloud expansion with PlaceholderAPI; it does not require a separate expansion download.3
Test a placeholder
Join the server and run:
A group server returns its SimpleCloud server UUID. A persistent server returns a value when you use a
persistent_server_* placeholder instead.The expansion identifier is
simplecloud, so every placeholder starts with
%simplecloud_...%.Server placeholders
These placeholders resolve from the current SimpleCloud server usingSIMPLECLOUD_UNIQUE_ID.
Group placeholders
These placeholders resolve from the current SimpleCloud group usingSIMPLECLOUD_GROUP.
Persistent-server placeholders
These placeholders resolve from the current persistent server usingSIMPLECLOUD_UNIQUE_ID.
Target another resource
By default, the placeholders above return information about the server on which the plugin is running. To display information about another resource, add its selector before the property.
For example:
server_player_count becomes server_Lobby:1_player_count, and group_max_players becomes group_Lobby_max_players.
Group and persistent-server names may contain underscores. The colon in a
running-server selector separates the group name from its numerical server
ID.
Example usage
Troubleshooting
PlaceholderAPI leaves the placeholder unchanged
PlaceholderAPI leaves the placeholder unchanged
Confirm that PlaceholderAPI,
simplecloud-api, and simplecloud-placeholder are enabled on the same Paper server. Then check the server log for dependency or expansion registration errors.A current-server placeholder returns no value
A current-server placeholder returns no value
Run the server through SimpleCloud. Current-resource placeholders depend on the
SIMPLECLOUD_UNIQUE_ID or SIMPLECLOUD_GROUP environment variable set by SimpleCloud.A targeted placeholder returns no value
A targeted placeholder returns no value
Check the resource name, UUID, or numerical ID. The target must exist, and a targeted running server must be online.