Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 902 Bytes

File metadata and controls

42 lines (28 loc) · 902 Bytes

grounds-plugin-player

Build

./gradlew build

Configuration

The plugin requires the gRPC target to be provided via environment variable:

export PLAYER_PRESENCE_GRPC_TARGET="dns:///service-player.api.svc.cluster.local:9000"

Optional heartbeat configuration:

export PLAYER_PRESENCE_HEARTBEAT_SECONDS="30"
export PLAYER_SESSIONS_TTL="90s"

PLAYER_PRESENCE_HEARTBEAT_SECONDS is automatically clamped to a safe value based on PLAYER_SESSIONS_TTL (max = ttl / 3) to reduce false stale-session cleanup.

Messages are configured in velocity/src/main/resources/messages.yml (copied to the plugin data directory on first run).

Development

Run in dev mode with live reload using DevSpace in a Kubernetes cluster:

cd velocity
devspace use namespace games
devspace dev

License

Licensed under the GNU Affero General Public License v3.0