| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- //-----------------------------------------------------------------------------
- // Copyright (c) 2012 GarageGames, LLC
- //
- // Permission is hereby granted, free of charge, to any person obtaining a copy
- // of this software and associated documentation files (the "Software"), to
- // deal in the Software without restriction, including without limitation the
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- // sell copies of the Software, and to permit persons to whom the Software is
- // furnished to do so, subject to the following conditions:
- //
- // The above copyright notice and this permission notice shall be included in
- // all copies or substantial portions of the Software.
- //
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- // IN THE SOFTWARE.
- //-----------------------------------------------------------------------------
- //Firstly, set up our standard server prefs
- // List of master servers to query, each one is tried in order
- // until one responds
- $Pref::Server::RegionMask = 2;
- $pref::Master[0] = "2:master.garagegames.com:28002";
- // Information about the server
- $Pref::Server::Name = "Torque 3D Server";
- $Pref::Server::Info = "This is a Torque 3D server.";
- // The connection error message is transmitted to the client immediatly
- // on connection, if any further error occures during the connection
- // process, such as network traffic mismatch, or missing files, this error
- // message is display. This message should be replaced with information
- // usefull to the client, such as the url or ftp address of where the
- // latest version of the game can be obtained.
- $Pref::Server::ConnectionError =
- "You do not have the correct version of "@$appName@" or "@
- "the related art needed to play on this server, please contact "@
- "the server administrator.";
- // The network port is also defined by the client, this value
- // overrides pref::net::port for dedicated servers
- $Pref::Server::Port = 28000;
- // If the password is set, clients must provide it in order
- // to connect to the server
- $Pref::Server::Password = "";
- // Password for admin clients
- $Pref::Server::AdminPassword = "";
- // Misc server settings.
- $Pref::Server::MaxPlayers = 64;
- $Pref::Server::TimeLimit = 20; // In minutes
- $Pref::Server::KickBanTime = 300; // specified in seconds
- $Pref::Server::BanTime = 1800; // specified in seconds
- $Pref::Server::FloodProtectionEnabled = 1;
- $Pref::Server::MaxChatLen = 120;
|