-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathserverinfo.php
53 lines (43 loc) · 2.1 KB
/
serverinfo.php
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
<?php //<--- you see this shit right here, that php tag, it better be the first thing in the file
//If there is even a space or a newline before that tag, shit will break
// Connection settings:
$servers = Array();
/*
Example: (copy paste this to somewhere AFTER the comment and fill with your own information)
If you have multiple servers, list them one after the other. Change the id from 1 to 2, 3, 4, etc. tho.
"address" and "port": is the ip or url you use to connect: Normally you see
byond://123.123.123.123:56372. The 123.123.123.123 part is the address, the 56372
part is the port. Fill with your own information, obviously. If you use an url
and you connect to something like byond://game.mysite.com:1234, then
game.mysite.com is the address and 1234 the port
"servername": is just a string that gets written on the image. Can be
pretty much anything
errortext, when defined, replaces the "connection failed" error with the string given
//My Server
$servers[1] = Array();
$servers[1]["address"] = "192.168.0.100";
$servers[1]["port"] = 56372;
$servers[1]["servername"] = "SS13: My Server";
*/
//Copy paste the code above to after this line
//Basil
$servers[0] = Array();
$servers[0]["address"] = "game.tgstation13.org";
$servers[0]["port"] = 2337;
$servers[0]["servername"] = "SS13: Server 1 (Badger)";
//$servers[0]["errortext"] = "KEVIN!!!!!!!!!!!.";
//Sybil
$servers[1] = Array();
$servers[1]["address"] = "game.tgstation13.org";
$servers[1]["port"] = 1337;
$servers[1]["servername"] = "SS13: Server 2 (Sybil)";
//$servers[1]["errortext"] = "Blame cyberboss.";
//Artyom
$servers[2] = Array();
$servers[2]["address"] = "game.tgstation13.org";
$servers[2]["port"] = 3337;
$servers[2]["servername"] = "SS13: Artyom";
$servers[2]["errortext"] = "Closed due to aids.";
///\/ you see this shit right here, that closing php tag, it better be the last thing in the file
//If there is even a space or a newline after that tag, shit will break
?>