File: ServerConfiguration.json

package info (click to toggle)
jazz2-native 3.5.0-1
  • links: PTS, VCS
  • area: contrib
  • in suites:
  • size: 16,836 kB
  • sloc: cpp: 172,557; xml: 113; python: 36; makefile: 5; sh: 2
file content (86 lines) | stat: -rw-r--r-- 2,256 bytes parent folder | download | duplicates (2)
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
{
	/* The file can contain both multi-line comments */
	// and single-line comments
	
	/* "$include" directive can be used to include configuration from another file */
	"$include": "BaseConfig.json",
	
	"ServerName": "{PlayerName}'s Server",

	/* "ServerAddressOverride" allows to specify alternative public server address */
	/*"ServerAddressOverride": "123.123.123.123",*/
	
	"WelcomeMessage": "Welcome to the {PlayerName}'s server!",
	"MaxPlayerCount": 16,
	"MinPlayerCount": 1,
	"ServerPort": 7438,
	"IsPrivate": false,
	"RequiresDiscordAuth": false,
	"AllowedPlayerTypes": 7, /* Jazz + Spaz + Lori */
	"IdleKickTimeSecs": 600,
	
	/* Only whitelisted players can join if the whitelist is specified */
	/*"WhitelistedUniquePlayerIDs": {
		"8C0D:9387:CDE3:F357:8D8B:8667:3123:1645": "User-defined comment 1"
	},*/
	
	/* Admins can use server commands in the console */
	"AdminUniquePlayerIDs": {
		"370D:9320:3785:3216:9876:8843:323C:1401": "*"
	},
	
	"BannedUniquePlayerIDs": {
		"8C0D:8887:CDE3:F357:8D8B:8837:3123:1645": "User-defined comment 1",
		"990D:9320:3755:3216:9876:8843:323C:1401": "User-defined comment 2"
	},
	"BannedIPAddresses": {
		"192.168.1.2": "User-defined comment 1",
		"111.222.333.444": "User-defined comment 2"
	},

	"ReforgedGameplay": true,
	"RandomizePlaylist": false,
	"TotalPlayerPoints": 100,
	
	/* These properties are redundant, because they are overriden by the playlist */
	"GameMode": "battle",
	"Elimination": false,
	"InitialPlayerHealth": -1,
	"MaxGameTimeSecs": 900,
	"PreGameSecs": 60,
	"SpawnInvulnerableSecs": 4,
	"TotalKills": 10,
	"TotalLaps": 3,
	"TotalTreasureCollected": 0,

	/* Playlist can contain unlimited number of entries */
	"Playlist":
	[
		{
			"LevelName": "arace1",
			"GameMode": "race",
			"Elimination": false,
			"InitialPlayerHealth": -1,
			"MaxGameTimeSecs": 900,
			"PreGameSecs": 60,
			"SpawnInvulnerableSecs": 4,
			"TotalKills": 10,
			"TotalLaps": 3,
			"TotalTreasureCollected": 0
		},
		{
			"LevelName": "battle1",
			"GameMode": "battle",
			"Elimination": false,
			"InitialPlayerHealth": -1,
			"MaxGameTimeSecs": 900,
			"PreGameSecs": 60,
			"SpawnInvulnerableSecs": 4,
			"TotalKills": 10,
			"TotalLaps": 3,
			"TotalTreasureCollected": 0
		}
	],
	
	"PlaylistIndex": 0
}