Changes

Jump to navigation Jump to search

Server administration (Wurm Unlimited)

531 bytes added, 00:46, 24 October 2015
→‎Server Configuration file: Added mention of config file syntax, added examples for PLAYERLOG configuration item.
==Server Configuration file==
On startup, the server reads from the '''wurm.ini''' file in the folder of the server that is loaded from the interface or with the <tt>start=</tt> argument. This configuration file (details of the syntax are specified by Java's [https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html#load-java.io.Reader- Properties.load method]) sets a number of parameters:
===Terrain and Resources===
::;CAVEIMG:When true, the ores on the map will be saved to a file named Ore.png in the server directory on startup. If not specified, defaults to false.
::;DEVMODE: Turns on additional logging and disables email sending. If not specified, defaults to false.
::;LAG_THRESHOLD: Certain long-running operations are logged if they are over a certain threshold, as specified in milliseconds by LAG_THRESHOLD. If not specified, defaults to 1000.
::;PLAYERLOG: Indicates the log file to which player statistics will be written at regular intervals. Must have a .log extension and write access or the default will be used. The syntax of the file path may be in standard Java path format, eg.::::<code>PLAYERLOG=d:/path/to/players.log</code>:::and may be an absolute or a relative path, eg:::::<code>PLAYERLOG=logs/numplayers.log</code>:::If backslash path characters are preferred on a Windows environment, they need to be escaped:::::<code>PLAYERLOG=d:\\path\\to\\players.log</code>:::If not specified, defaults to numplayers.log in the server directory.
::;USE_DATABASE_FOR_SERVER_STATISTICS_LOG: When true, server statistics will be logged to the wurmlogs database. This is in addition to MRTG logging. If not specified, defaults to false.
::;USE_ITEM_TRANSFER_LOG: When true, item transfers are logged to the database.
assistant, editor
31

edits

Navigation menu