-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathconfig_example.xml
More file actions
136 lines (119 loc) · 5.72 KB
/
config_example.xml
File metadata and controls
136 lines (119 loc) · 5.72 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<Config>
<!-- The address the GameSpy services will bind to -->
<gsAddress>127.0.0.1</gsAddress>
<!-- The address the NAS HTTP server will bind to -->
<nasAddress>127.0.0.1</nasAddress>
<nasPort>80</nasPort>
<!-- The address the NAS HTTPS proxy server will bind to -->
<nasAddressHttps>127.0.0.1</nasAddressHttps>
<nasPortHttps>443</nasPortHttps>
<enableHttps>false</enableHttps>
<!--
The address the payload server will be located at,
leave blank to use the deprecated integrated server
-->
<payloadServerAddress>127.0.0.1:29997</payloadServerAddress>
<!--
The address the frontend RPC server will bind to.
This is a local channel for internal server communication,
that _MUST NOT_ be exposed to a public network or the internet.
Do NOT change this address unless you are running the frontend
and backend on separate servers or containers.
-->
<frontendAddress>127.0.0.1:29998</frontendAddress>
<!-- The address the frontend can reach the backend from -->
<frontendBackendAddress>127.0.0.1:29999</frontendBackendAddress>
<!--
The address the backend RPC server will bind to.
This is a local channel for internal server communication,
please note the above warning on frontendAddress.
-->
<backendAddress>127.0.0.1:29999</backendAddress>
<!-- The address the backend can reach the frontend from -->
<backendFrontendAddress>127.0.0.1:29998</backendFrontendAddress>
<!-- Path to the certificate and key used for modern web browser requests -->
<certPath>fullchain.pem</certPath>
<keyPath>privkey.pem</keyPath>
<!-- SSL/TLS exploit configuration -->
<enableHttpsExploitWii>false</enableHttpsExploitWii>
<enableHttpsExploitDS>false</enableHttpsExploitDS>
<!-- Path to the certificate and key used for the Wii DNS exploit -->
<certDerPathWii>naswii-cert.der</certDerPathWii>
<keyPathWii>naswii-key.pem</keyPathWii>
<!-- Path to the certificate, Wii client certificate and key used for the DS DNS exploit -->
<certDerPathDS>nas-cert.der</certDerPathDS>
<wiiCertDerPathDS>nwc.der</wiiCertDerPathDS>
<keyPathDS>nas-key.pem</keyPathDS>
<!-- Allow default Dolphin device keys to be used -->
<allowDefaultDolphinKeys>true</allowDefaultDolphinKeys>
<!-- Database Credentials -->
<username>username</username>
<password>password</password>
<!-- Database information -->
<databaseAddress>127.0.0.1</databaseAddress>
<databaseName>wwfc</databaseName>
<!-- Logging configuration -->
<!-- Log verbosity
0: No messages are logged.
1: General messages are logged.
2: General and error messages are logged.
3: General, error, and warning messages are logged.
4: General, error, warning, and informational messages are logged.
-->
<logLevel>4</logLevel>
<!-- Log output
None : Messages are discarded.
StdOut : Messages are written to standard output.
StdOutAndFile: Messages are written to both standard output and a file.
-->
<logOutput>StdOutAndFile</logOutput>
<!-- API secret.
This is used for API authentication and should only be shared with
trusted administrators.
-->
<apiSecret>hQ3f57b3tW2WnjJH3v</apiSecret>
<eventReporting>
<!-- Enable to log events to the "events" table in the database -->
<logToDatabase>true</logToDatabase>
<!-- Discord logging via webhook -->
<discord>
<!-- Multiple <webhook> elements can be added here -->
<webhook>
<!-- Enable sending events to this webhook -->
<enabled>true</enabled>
<!-- The URL of the webhook to send events to -->
<url>https://discord.com/api/webhooks/...</url>
<!-- The author tag to be displayed in the webhook embed, can be omitted -->
<author>wfc-server event reporting</author>
<!--
The list of events that will be reported on this webhook.
Hint: Use the event type "all" to report all events to this webhook.
The following list contains all possible event types that can be reported:
-->
<eventTypes>
<!-- <event>all</event> -->
<event>backend_started</event>
<event>backend_stopped</event>
<event>profile_created</event>
<event>logged_in</event>
<event>logged_out</event>
<event>received_login_info</event>
<event>device_authenticated</event>
<event>reported_bad_packet</event>
<event>reported_stall</event>
<event>gpcm_returned_error</event>
<event>group_created</event>
<event>group_deleted</event>
<event>group_joined</event>
<event>group_left</event>
<event>group_host_changed</event>
<event>natneg_succeeded</event>
<event>natneg_failed</event>
<event>profile_kicked</event>
<event>profile_banned</event>
<event>profile_unbanned</event>
</eventTypes>
</webhook>
</discord>
</eventReporting>
</Config>