Skip to main content

Common Settings

Cache

Section: Cache

KeyTypeDefaultRequiredExamplesNotes
Hoststring127.0.0.1falselocalhost
Portushort6379false6379default value 13001 (game) and 11002 (auth)

Database

Section: Database

KeyTypeDefaultRequiredExamplesNotes
ProviderDatabaseProvidernulltruepostgresql, mysql, sqlite
ConnectionStringstringnulltrueServer=localhost;Database=metin2;Uid=metin2;Pwd=metin2;Refer to ConnectionStrings

Hosting

Section: Hosting

KeyTypeDefaultRequiredExamplesNotes
Hosting:IpAddressstring0.0.0.0false127.0.0.1only IP addresses no host names
Hosting:Portushortfalse13001default value 13001 (game) and 11002 (auth)

Serilog

Section: Serilog

KeyTypeDefaultRequiredExamplesNotes
Serilog:*Refer to Serilog