Configuring The Untìl URU Server
Here are some helpful hints to configuring your server.
Limiting the maximum players to the server
in the PlasmaServers.ini add the entry MachinePlayerLimit=n to the [ServerAgent] section to limit the server to n clients.
Disabling saved game uploads to the server
in the PlasmaServers.ini add the entry AllowSavedGameUploads=0 to the [vault_server] section to disable saved game uploads from the clients.
Reducing the amount of logging
To reduce the amount of logging once the server is setup and running correctly edit the PlasmaServers.ini file and create a new [EventLog] section with the entry loglevel=-1. To completely disable logging set disable=1 to the [EventLog] section.
You will WANT to reduce the logging, or your disk space will fill up fast with the default settings.
NOTE Currently neither of these options seem to work, the logs say that logging is disabled, but it keeps logging data anyway. You will need to clean the logs every so often on your servers, and unfortunately they can not be cleaned unless the server is not running. The next server release will hopefully have this issue fixed.
With the 0.38.10 release the amount of logging can now be configured:
New Global Configuration Var, StatusLogMask. This is a Bitmask that sets which log types are written to your disk.
- kStatusLogShowNone = 2
- kStatusLogShowAppMsg = 4
- kStatusLogShowErrorMsg = 8
- kStatusLogShowWarningMsg = 16
- kStatusLogShowDebugMsg = 32
For a combination of Message types add the numbers, The default is kStatusLogShowAppMsg(4) + kStatusLogShowErrorMsg(8) + kStatusLogShowWarningMsg(16) + kStatusLogShowDebugMsg(32) = 60. This default will give you the same level of logging that was present in 0.38.8. To disable all logging, set StatusLogMask=2. The value in the configuration file must be in decimal.
LogSqlStmts=1 is enabling logging of SQL statements executed on the MySQL database by the servers.
Lookup Server Address
Don't forget to set it to 127.0.0.1 in your PlasmaServers.ini
If you are on a multiple-IP server and set UU to run on only one IP, set the address to that IP. 127.0.0.1 will not work right in that case.
If you intend to run a multi-server Shard see CreatingShards for more information.
MySql configuration
Pay attention at mysql[d].sock location on your Linux installation.
[db] DbUserName=your_mysql_user DbPassword=your_mysql_password DbHost=localhost DbSocketPath=/var/run/mysqld/mysqld.sock