/
MultiplayerSettings.json
60 lines (60 loc) · 1.88 KB
/
MultiplayerSettings.json
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
{
"RunContainer": false,
"OutputFolder": "",
"NumHeartBeatsForActivateResponse": 10,
"NumHeartBeatsForMaintenanceEventResponse": 0, // a value < 1 will disable the maintenance event
"NumHeartBeatsForTerminateResponse": 60,
"AgentListeningPort": 56001,
// Valid maintenance event values are explained here: https://learn.microsoft.com/azure/virtual-machines/windows/scheduled-events#event-properties
"MaintenanceEventType": "Reboot",
"MaintenanceEventStatus": "Scheduled",
"MaintenanceEventSource": "Platform",
"AssetDetails": [
{
"MountPath": "C:\\Assets",
"LocalFilePath": "<path_to_game_server_package>"
}
],
"DeploymentMetadata": {
"Environment": "LOCAL",
"FeaturesEnabled": "List,Of,Features,Enabled"
},
"GameCertificateDetails": [],
"PortMappingsList": [
[
{
"NodePort": 56100,
"GamePort": {
"Name": "game_port",
"Number": 3600,
"Protocol": "TCP"
}
}
]
],
"ProcessStartParameters": {
"StartGameCommand": "<your_game_server_exe>"
},
"ContainerStartParameters": {
"StartGameCommand": "C:\\Assets\\<your_game_server_exe>",
"ResourceLimits": {
"Cpus": 0,
"MemoryGib": 0
},
"ImageDetails": {
"Registry": "mcr.microsoft.com",
"ImageName": "playfab/multiplayer",
"ImageTag": "wsc-10.0.17763.5576",
"Username": "",
"Password": ""
}
},
"SessionConfig": {
"SessionId": "ba67d671-512a-4e7d-a38c-2329ce181946",
"SessionCookie": null,
"InitialPlayers": [ "Player1", "Player2" ]
},
"TitleId": "",
"BuildId": "00000000-0000-0000-0000-000000000000",
"Region": "WestUs"
}