rojo-rbx / rojo

Rojo enables Roblox developers to use professional-grade software engineering tools
https://rojo.space
Mozilla Public License 2.0
947 stars 179 forks source link

Play Solo & Test Server auto connect #840

Closed boatbomber closed 8 months ago

boatbomber commented 8 months ago

image

When enabled, the baseurl of the session is written to workspace:SetAttribute("__Rojo_ConnectionUrl") so that the test server can connect to that session automatically.

This works for Play Solo and Local Test Server. It is marked experimental for now (and disabled by default) since connecting during a playtest session is... not polished. Rojo may overwrite things and cause headaches. Further work can be done later, this PR just gets the feature out since #468 has been sitting for 3 years already.

jackTabsCode commented 8 months ago

Tested it on my end, seems to work flawlessly.