Skip to main content

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 using SIMPLECLOUD_UNIQUE_ID.

Group placeholders

These placeholders resolve from the current SimpleCloud group using SIMPLECLOUD_GROUP.

Persistent-server placeholders

These placeholders resolve from the current persistent server using SIMPLECLOUD_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:
Use the same properties that appear after the resource prefix in the tables above. 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.
A targeted placeholder cannot be resolved if the selected resource does not exist, the running server is offline, or the selector is invalid.

Example usage

If a current-resource placeholder returns no value, confirm that the server is running inside SimpleCloud and that the matching environment variable is available. For a targeted placeholder, verify the resource name, UUID, or numerical ID.

Troubleshooting

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.
Run the server through SimpleCloud. Current-resource placeholders depend on the SIMPLECLOUD_UNIQUE_ID or SIMPLECLOUD_GROUP environment variable set by SimpleCloud.
Check the resource name, UUID, or numerical ID. The target must exist, and a targeted running server must be online.