./gradlew buildThe 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).
Run in dev mode with live reload using DevSpace in a Kubernetes cluster:
cd velocity
devspace use namespace games
devspace devLicensed under the GNU Affero General Public License v3.0