feat: overhaul the nakama user management, leaderboard, prep for 2.1

This commit is contained in:
2026-04-03 04:50:18 +08:00
parent 47f88d31dc
commit e1a3ef8e85
318 changed files with 1933 additions and 1099 deletions
+5 -2
View File
@@ -2,7 +2,7 @@ extends Node
# Standard Nakama Configuration
var nakama_server_key = "defaultkey"
var nakama_host = "localhost"
var nakama_host = "tektondash.vps.webdock.cloud"
var nakama_port = 7350
var nakama_scheme = "http"
@@ -74,7 +74,10 @@ func set_server(host: String, port: int = 7350):
nakama_scheme = "http"
nakama_port = explicit_port if explicit_port != -1 else port
_init_client()
# Only recreate the client if there is no active session.
# If we're already connected, just store the new settings for the next connect.
if not session:
_init_client()
print("[NakamaManager] Server updated to: ", nakama_scheme, "://", nakama_host, ":", nakama_port)
func _process(_delta):