Skip to content

groundsgg/plugin-player

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors