SHOW:
|
|
- or go back to the newest paste.
| 1 | ///////////////////////////////////////////////////////////////////////////// | |
| 2 | // | |
| 3 | // SERVERS.CFG: Loginserver configuration data on Gameservers | |
| 4 | // | |
| 5 | // Entries can contain the following properties: | |
| 6 | // Name Display name shown on login screen | |
| 7 | // IP IP Address of game server | |
| 8 | // Note: --ip-- uses your "Internet IP" address | |
| 9 | // --lan-- uses your "LAN IP" address | |
| 10 | // Otherwise, must be a numerical IP address. | |
| 11 | // Port Listening port of Gameserver | |
| 12 | // Note: This does not configure the server to actually | |
| 13 | // listen at that port - POL.CFG specifies that. | |
| 14 | // IPMatch IPAddr/Mask | |
| 15 | // If IPMatch lines are present for a server, that server | |
| 16 | // will only be displayed to clients connecting from IP | |
| 17 | // addresses matching those specified | |
| 18 | // AcctMatch Account Name | |
| 19 | // AcctMatch lines have one account name per line, and are | |
| 20 | // those accounts to show the given server to on login to the | |
| 21 | // 'login server'(the server that is in the client's login.cfg). | |
| 22 | // | |
| 23 | // Example : | |
| 24 | // | |
| 25 | // GameServer | |
| 26 | // {
| |
| 27 | // Name Test | |
| 28 | // IP 192.168.0.1 | |
| 29 | // Port 5003 | |
| 30 | // AcctMatch admin | |
| 31 | // AcctMatch staff | |
| 32 | // } | |
| 33 | // | |
| 34 | // The above would only display that particular server(Test, located at | |
| 35 | // 192.168.0.1:5003) to someone logging into the login server with | |
| 36 | // accounts admin or staff. | |
| 37 | // | |
| 38 | ///////////////////////////////////////////////////////////////////////////// | |
| 39 | ||
| 40 | ||
| 41 | GameServer | |
| 42 | {
| |
| 43 | Name LAN Test2 | |
| 44 | IP --lan-- | |
| 45 | Port 2595 | |
| 46 | IpMatch 192.168.0.0/255.255.0.0 | |
| 47 | IpMatch 172.16.0.0/255.240.0.0 | |
| 48 | IpMatch 10.0.0.0/255.0.0.0 | |
| 49 | } |