-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGServer.cfg.example
More file actions
48 lines (40 loc) · 1.22 KB
/
GServer.cfg.example
File metadata and controls
48 lines (40 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Helbreath Game Server Configuration
# Copy this file to GServer.cfg and edit as needed
# Server Identity
game-server-name = HGServer
game-server-port = 2848
# Self-Contained Mode (uses built-in auth with PostgreSQL)
# Set to true to use integrated auth, false for legacy external auth servers
self-contained = true
# Database Configuration (required for self-contained mode)
db-host = localhost
db-port = 5432
db-name = helbreath
db-user = hgserver
db-password = your_password_here
db-pool-size = 10
# WebSocket Configuration (for self-contained mode)
ws-bind = 0.0.0.0
ws-port = 2848
ws-max-connections = 2000
# Authentication Settings
max-characters = 4
allow-registration = true
session-timeout = 3600
# Legacy Protocol (optional - for backwards compatibility with old clients)
enable-legacy-protocol = false
legacy-port = 2849
# Logging Configuration
# Levels: trace, debug, info, warn, error, critical, off
log-console-level = trace
log-file-level = trace
log-directory = logs
log-file = hgserver.log
log-max-size-mb = 10
log-max-files = 3
# Legacy External Servers (only used if self-contained = false)
log-server-address = 127.0.0.1
log-server-port = 3000
gate-server-address = 127.0.0.1
gate-server-port = 4000
game-server-mode = 0