Example Config
/*
Gateway Server
*/
{
// General Information
Name: "Gateway",
ID: 4001,
// Connections
ConnectionManager: {
MaxConnections: 100
}
// Protocol
Protocol: {
ProtocolString: "CGAPI_527"
},
// Databases
Databases: {
GameDB: {
Backend: "MongoDB",
Host: "localhost",
Port: 2199,
Storables: [
Character
]
}
}
// Logging
Logger: {
Filename: "Gateway-dd-mm-yy-HH-mm.log",
WantLibraryLogging: false,
WantColors: true,
WantInfo: false,
WantError: true,
WantWarning: true
}
},
/*
World Server
*/
{
// General Information
Name: "World",
ID: 4002,
// Connections
ConnectionManager: {
// We only want routed connections from the gateway..
AllowDirectConnections: false,
AllowRoutedConnections: true
}
// Databases
Databases: {
GameDB: {
Backend: "MongoDB",
Host: "localhost",
Port: 2199,
Storables: [
Character
]
}
}
// Logging
Logger: {
Filename: "World-dd-mm-yy-HH-mm.log",
WantLibraryLogging: false,
WantColors: true,
WantInfo: false,
WantError: true,
WantWarning: true
}
}
SOEServer)StartServermethod.SOEServerinstanceSOEServershould be configurable.Example Config