-
Notifications
You must be signed in to change notification settings - Fork 0
/
Server.config
71 lines (60 loc) · 2.12 KB
/
Server.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="utf-8" ?>
<!--
Basic configuration for a DarkRift server.
See http://www.darkriftnetworking.com/DarkRift2/Docs/ for reference documentation.
-->
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://www.darkriftnetworking.com/DarkRift2/Schemas/2.9.0/Server.config.xsd">
<!--
Defines the overall server settings.
-->
<server maxStrikes="3" />
<metrics enablePerMessageMetrics="true">
<metricsWriter type="PrometheusEndpoint">
<settings host="localhost" path="/metrics" port="9796" />
</metricsWriter>
</metrics>
<!--
Specifies where DarkRift should look for plugins.
-->
<pluginSearch>
<pluginSearchPath src="Plugins/" createDir="true" />
<pluginSearchPath src="LogWriters/" />
<pluginSearchPath src="NetworkListeners/" />
</pluginSearch>
<!--
The settings for logging server events.
-->
<logging>
<!--
The writers that will output log messages from the server.
See the Logging section of the documentation for more information.
-->
<logWriters>
<logWriter name="FileWriter1" type="FileWriter" levels="trace, info, warning, error, fatal">
<settings file="Logs/{0:d-M-yyyy}/{0:HH-mm-ss tt}.txt" />
</logWriter>
<logWriter name="ConsoleWriter1" type="ConsoleWriter" levels="info, warning, error, fatal" />
<logWriter name="DebugWriter1" type="DebugWriter" levels="warning, error, fatal" />
</logWriters>
</logging>
<!--
Defines the plugins that will be loaded by the server.
-->
<plugins loadByDefault="true">
<!-- Example:
<plugin type="Sniffer" load="false" />
-->
</plugins>
<!--
Defines the settings for storing server data.
-->
<data directory="Data/"/>
<!--
Defines the listeners that will be loaded by the server.
-->
<listeners>
<listener name="DefaultNetworkListener" type="BichannelListener" address="0.0.0.0" port="4296">
<settings noDelay="true" />
</listener>
</listeners>
</configuration>