Skip to main content

Overview

The Placeholders plugin integrates with PlaceholderAPI and registers the simplecloud expansion. You can use SimpleCloud values in scoreboards, chat formats, holograms, tab displays, and any other plugin that supports PlaceholderAPI.

Supported Software

Quick Setup

  1. Download the plugin from GitHub.
  2. Download and install PlaceholderAPI.
  3. Make sure the simplecloud-api plugin is installed on the server.
  4. Place all three plugins in your server template’s plugins/ folder.
  5. Start the server.
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.