Added support for websocket connections (disabled by default)

This commit is contained in:
downthecrop
2026-07-03 11:10:44 +00:00
committed by Ryan
parent 76523c0130
commit afeffc1b98
14 changed files with 340 additions and 19 deletions
+11
View File
@@ -25,6 +25,17 @@ daily_accounts_per_ip = 3
watchdog_enabled = true
connectivity_check_url = "https://google.com,https://2009scape.org"
connectivity_timeout = 500
# Enables a websocket listener for browser clients. The websocket stream carries the
# same raw binary protocol as TCP; each websocket binary frame is treated as a byte chunk.
websocket_enabled = false
# Leave at 0 to use the default websocket port of 53594 + world_id.
websocket_port = 0
# Enables TLS on the websocket listener so browser clients can connect over wss://.
websocket_tls_enabled = false
# PKCS12 keystore path, e.g. certs/dev-wss.p12.
websocket_tls_keystore_path = ""
# Optional. Leave blank for a PKCS12 file exported with an empty password.
websocket_tls_keystore_password = ""
[database]
database_name = "global"