File: serverlist_example.xml

package info (click to toggle)
pokerth 2.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 64,020 kB
  • sloc: ansic: 94,844; cpp: 59,414; java: 3,135; sh: 2,054; xml: 643; sql: 46; makefile: 12
file content (34 lines) | stat: -rw-r--r-- 1,099 bytes parent folder | download
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
<?xml version="1.0" encoding="UTF-8"?>
<ServerList>
	<!-- Example: New server with TLS enabled (default) -->
	<Server id="1">
		<Name value="PokerTH Official Server (TLS)"/>
		<Sponsor value="PokerTH.net"/>
		<Country value="de"/>
		<IPv4Address value="new.server.example.com"/>
		<IPv6Address value="new.server.example.com"/>
		<SCTP value="0"/>
		<TLS value="on"/>
		<ProtobufPort value="7236"/>
		<AvatarServerAddress value="new.server.example.com"/>
	</Server>

	<!-- Example: Legacy server without TLS (for transition period) -->
	<Server id="2">
		<Name value="PokerTH Legacy Server (no TLS)"/>
		<Country value="de"/>
		<IPv4Address value="old.server.example.com"/>
		<IPv6Address value="old.server.example.com"/>
		<SCTP value="0"/>
		<TLS value="off"/>
		<ProtobufPort value="7234"/>
	</Server>

	<!-- Example: Server without TLS field (defaults to TLS enabled) -->
	<Server id="3">
		<Name value="PokerTH Server (TLS default)"/>
		<IPv4Address value="default.server.example.com"/>
		<IPv6Address value="default.server.example.com"/>
		<ProtobufPort value="7236"/>
	</Server>
</ServerList>