-
Notifications
You must be signed in to change notification settings - Fork 6
Configuration
Luiz Filho edited this page May 7, 2026
·
1 revision
← Home | Database & ODBC Setup
| Section | Key | Description |
|---|---|---|
[SERVERINFO] |
PORT |
TCP listen port |
[SERVERINFO] |
IP |
Bind address (127.0.0.1 for local) |
[SERVERINFO] |
GUID |
Unique server ID |
[SERVERINFO] |
MAXUSER |
Maximum concurrent users |
[SERVERINFO] |
NAME |
Server display name |
[SERVERINFO] |
VERSION |
Internal server version |
[SERVERINFO] |
PACKETVERSION |
Packet protocol version |
[SERVERINFO] |
CLIENTVERSION |
Compatible Pangya client version |
[OPTION] |
TTL |
Client timeout in ms (0 = disabled) |
[OPTION] |
ANTIBOTTTL |
Anti-bot timeout in ms |
[OPTION] |
SAME_ID_LOGIN |
Allow duplicate logins — testing only |
[LOG] |
DIR |
Log output directory |
[AUTHSERVER] |
IP |
AuthServer IP address |
[AUTHSERVER] |
PORT |
AuthServer port |
[IPRULES]
enable_ip_rules = 1 ; Enable/disable IP rules
limit_connection_per_ip = 2 ; Max simultaneous connections per IP
order = deny,allow
allow = 127.0.0.1
allow = all
deny = 192.168.0.1/24 ; Block a CIDR range
[DDOS]
ddos_interval = 3000 ; Time window in ms
ddos_count = 5 ; Max connections in window
ddos_autoreset = 3000 ; Counter reset time in ms- Visual Studio 2022 (recommended) or MSBuild
- .NET Framework 4.8 or .NET 6+
- NuGet:
System.Data.Odbc10.0.3 (included inpackages/)
1. Open PangyaSharp.sln in Visual Studio 2022
2. Build > Restore NuGet Packages
3. Select: Release | Any CPU
4. Build > Build Solution (Ctrl+Shift+B)
Always start servers in this order:
1. AuthServer
2. LoginServer
3. GameServer
4. RankingServer
5. MessengerServer
Make sure the ODBC DSN is configured before starting any server.
Next: Game Modes