Player Droplet

The player droplet is an optional but powerful component that provides comprehensive player management, cross-server communication, and advanced interaction features using the Adventure API.

Understanding the Player Droplet

The player droplet replaces and enhances the CloudPlayer API from SimpleCloud v2. It enables server-independent player interactions and maintains detailed player statistics. While it's not required for basic SimpleCloud operation, it provides the optimal way to manage players across your network.

Features

Cross-Server Management

The player droplet operates independently of Minecraft servers, allowing you to manage players across your entire network. You can transfer players between servers, send messages, or play sounds without needing to know which server they're currently on.

Adventure API Integration

Full support for Kyori's Adventure API enables rich content delivery across your network:

  • Rich text messages with colors and formatting
  • Interactive components (clickable text, hover effects)
  • Book creation and display
  • Title and subtitle messages
  • Sound effects and music
  • Boss bars and action bars

Network-Wide Player Data

The droplet automatically tracks and stores essential player information:

PropertyTypeDescription
uniqueIdStringPlayer's Minecraft UUID
nameStringPlayer's username
displayNameString?Player's custom display name (if set)
firstLoginLongTimestamp of first network join
lastLoginLongTimestamp of most recent join
onlineTimeLongTotal time spent on network (in milliseconds)
clientLanguageStringPlayer's client language setting
numericalClientVersionIntMinecraft protocol version number
onlineModeBooleanWhether the player is authenticated with Mojang
lastServerStringName of the last connected server
onlineBooleanCurrent online status
lastPlayerConnectionPlayerConnectionDetails about the player's last connection

Optional Integration

While the player droplet provides powerful player management capabilities, it's completely optional within the SimpleCloud ecosystem. You can:

  • Use it alongside other SimpleCloud components for full integration
  • Implement it independently with your own server management solution
  • Skip it entirely if you don't need advanced player management

API Documentation

For detailed information about using the Player Droplet API, including code examples and implementation details, see our Player API documentation.

Was this page helpful?