Since loadstring is mainly used for debugging anyway, and knowing that you devs don’t really like having it enabled since its a security risk and all that, how about adding the ability to input code through the dev console? Only for game owners of course.
Hopefully, this would be implemented in such a way that only the connection that connects to the owner could send code to the server for execution. Then a full-blown man-in-the-middle attack would be required to exploit it, and it would require presence of the owner.
It would be a really neat and easy way to debug your games online[/quote]
There’s no point to debugging your games in Play mode unless you can save in Play mode – a lot more is going to have to go into this if you want that.[/quote]
There are many many cases in where I could use runtime debugging in online mode.
Lets say I temporarily just want to test something, nothing that needs saving, Boom, Done
Who needs admin commands when you have this
I’m really bad at giving examples, but theres just no reason not to do it
Why are you going to bother saving a place just to test it? If you need to test something where server/client are separated, Studio has a handy dandy Start Server feature where you can then start players from.
This sounds like a really good idea, as long as it could securely be restricted to just the owner.
On the subject of alternatives to online debugging: Yes, those are very useful and make sense most of the time. But occasionally there’s bugs that are only evident in running games with certain numbers of people, the amount of time the server has been running for, or some weird thing that only a player of the game would think to do. You don’t get actual gameplay in Test Server, so you can’t debug anything caused by gameplay easily. This would be extremely useful in those cases where there’s a rare bug that only appears online when people are playing.
If this could be done securely, it would allow the owner to debug games online when needed without having to sacrifice points and security in order to turn loadstring on.