Join scripts

From LRREW
Revision as of 14:54, 1 July 2023 by Ryelow (talk | contribs)
Jump to navigation Jump to search

Joinscripts

Joinscripts are used to make a client connect to a gameserver.

Format

In 2016, Roblox had elected to use JSON join'script's rather then the legacy Lua joinscript.

An example of what the client will receive as a joinscript as follows:

{"ClientPort":0,"MachineAddress":"127.0.0.1","ServerPort":25564,"PingUrl":"","PingInterval":20,"UserName":"John Doe","SeleniumTestMode":false,"UserId":123456,"SuperSafeChat":false,"CharacterAppearance":"https://your-website-here.com/charapp-blahlahvlah","ClientTicket":"your client ticket","GameId":3,"PlaceId":420,"MeasurementUrl":"","WaitingForCharacterGuid":"26eb3e21-aa80-475b-a777-b43c3ea5f7d2","BaseUrl":"https://your-website-here.com/","ChatStyle":"Classic","VendorId":0,"ScreenShotInfo":"","VideoInfo":"","CreatorId":42069,"CreatorTypeEnum":"User","MembershipType":"None","AccountAge":3000000,"CookieStoreFirstTimePlayKey":"rbx_evt_ftp","CookieStoreFiveMinutePlayKey":"rbx_evt_fmp","CookieStoreEnabled":true,"IsRobloxPlace":true,"GenerateTeleportJoin":false,"IsUnknownOrUnder13":false,"SessionId":"39412c34-2f9b-436f-b19d-b8db90c2e186|00000000-0000-0000-0000-000000000000|0|something random|8|2021-03-03T17:04:47+01:00|0|null|null","DataCenterId":0,"UniverseId":3,"BrowserTrackerId":0,"UsePortraitMode":false,"FollowUserId":0,"characterAppearanceId":1}

Format Properties

Joinscript Properties
Property Name Purpose Example Value
UserName The username of the connecting player. "JohnDoe"
CharacterAppearance The CharacterAppearance field of the connecting player. "https://your-website-here.com/charapp-blahlahvlah"
CharacterAppearanceId The CharacterAppearanceId field of the connecting player. 1
ServerPort The port of the server the player will connect to. 25564
ClientPort The source port that will be used to connect to the server. (0 = random) 0
MachineAddress The IP of the server the player will connect to. "127.0.0.1"
BaseUrl The base URL of the game. "https://roblox.com/"
CreatorTypeEnum The type of creator the place has.
CreatorTypeEnum
Name Meaning
User Owned CreatorId points to a user
Group Owned CreatorId points to a group
"User"
MembershipType The membership the user had signed up for.
MembershipType
Name Meaning
None No membership (non builders club)
BuildersClub Builders Club membership
TurboBuildersClub Turbo Builders Club membership
OutrageousBuildersClub Outrageous Builders Club membership
"None"
ClientTicket Client authentication
SuperSafeChat Whether the connecting player has Super Safe Chat enabled or not. false

INCOMPLETE