-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Tanguy edited this page Mar 30, 2023
·
38 revisions
You can download the expansion on PlaceholderAPI's eCloud at https://api.extendedclip.com/expansions/playerlist/
-
playerlist: # Text shown when the index is out of range offline-text: "Offline" # Separator for filters such as PERMISSION, WORLD and PLACEHOLDER argument-separator: '||' # Here's where you defined all your lists lists: # The name of this list is "staff" staff: # We only want online staff members type: ONLINE # If we're part of the list, we want to be included included: true filters: # Does the player have the group.staff permission? - PERMISSION:group.staff # Can you see the player? (usually managed by vanish plugins) - CANSEE
%playerlist_<name>_<list|amount|#>%
- ALL - Matches all players
- ONLINE - Matches online players
- OFFLINE - Matches offline players
Filters | Description | Valid Lists | Note |
---|---|---|---|
PERMISSION: | Matches all players that have the defined permission | ONLINE | Supports multiple permissions separated by ` |
WORLD: | Matches all players in the specified world | ONLINE | Supports multiple worlds separated by ` |
NEARBY: | Matches all players in the defined radius in blocks | Online | |
WHITELISTED | Matches all players in the whitelist. | ONLINE, OFFLINE, ALL | |
BANNED | Matches all players banned from the server | OFFLINE | ONLINE and ALL type work but for obvious reason don't exactly matter |
CANSEE | Matches all players you can see | ONLINE | This feature checks players which aren't hidden from you in game by other plugins such as vanish plugins. |
PLACEHOLDER: | Matches all players which the placeholder defined in text1 returns the specified output |
||
VERSION: | Matches all players with the version specified | Online | To specify versions, you have to use the Version Numbers defined here. Supports multiple versions separated by a + and range of versions with - (both can be mixed!) Ex: ver1-ver3+ver5 . Requires ViaVersion. |
GAMEMODE | ONLINE | List of online players in the specified gamemode |
- list - Returns a list of players separated by
,
. You can also change the separator withlist-<separator>
. Since , is used to separate the differents parts of the placeholder, use\.
instead if you want to display a,
. - amount - Returns amount of players matched
-
<integer>
- Returns the player at the specified index
lists:
# List of all online staff members
staff:
type: ONLINE
included: true
filters:
- PERMISSION:group.staff
- CANSEE
# List of all players that ever joined the server, excluding you
all:
type: ALL
included: false