Created
June 13, 2023 07:21
-
-
Save rjindael/76d5d58e1032bb747de2d29169bbd9fb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// null values can be anything | |
let envelope = { | |
"Mode": "GameServer", | |
"Settings": { | |
"PlaceId": placeId, | |
"PlaceFetchUrl": `http://${domain}/${null}/`, | |
"UniverseId": universeId, | |
"MatchmakingContextId": 1, | |
"CreatorId": userId, | |
"CreatorType": "User", | |
"GameId": null, | |
"MachineAddress": server.ip, | |
"PreferredPort": sever.port, | |
"PlaceVersion": placeVersion || assetVersion, | |
"BaseUrl": domain, | |
"GsmInterval": 10000, | |
"MaxPlayers": maxPlayers, | |
"MaxGameInstances": 1, | |
"ApiKey": place.apiKey, | |
"PreferredPlayerCapacity": preferredPlayerCapacity, | |
"PlaceVisitAccessKey": place.visitAccessKey | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment