api.player().
Get Players
Player Actions
Transfer Player
Kick Player
Adventure Integration
CloudPlayer implements Adventure’s Audience interface, giving you access to all Adventure messaging features:
Send Messages
Send Titles
Send Action Bar
Play Sounds
Boss Bars
Player List Header & Footer
CloudPlayer Model
| Property | Type | Description |
|---|---|---|
uniqueId | UUID | Player’s UUID |
name | String | Player’s username |
displayName | String | Player’s display name |
connectedServerName | String | Current server name |
connectedProxyName | String | Connected proxy name |
online | boolean | Whether the player is currently online |
onlineTimeSeconds | long | Accumulated online time in seconds |
sessionId | String | Active session ID, null if unavailable |
firstSeen | String | First login timestamp (ISO-8601) |
lastSeen | String | Last login timestamp (ISO-8601) |
properties | Map<String, String> | Player’s properties |
ConnectResult
| Value | Description |
|---|---|
SUCCESS | Transfer successful |
SERVER_NOT_FOUND | Target server doesn’t exist |
ALREADY_CONNECTED | Player already on that server |
PLAYER_NOT_FOUND | Player went offline |
CONNECTION_FAILED | Transfer failed |