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
CloudPlayer Model
| Property | Type | Description |
|---|---|---|
uniqueId | UUID | Player’s UUID |
name | String | Player’s username |
connectedServerName | String | Current server name |
connectedProxyName | String | Connected proxy name |
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 |