Sometimes I need to do some work in a place file of a published game with active players, where I need to be extra careful not accidentally publish the WIP version of the place file by pressing the Alt+P or the context menu option.
A couple weeks ago you guys enabled a feature which showed a popup that forced us to write a commit message. This was annoying, so I’m glad you rolled it back shortly afterwards, but one upside of it was that it made it harder to accidentally publish the game when you didn’t want to.
It would be pretty helpful to have an opt-in mechanism for increasing the friction of publishing, to prevent accidental publish incidents.
It could be a simple toggle setting for the specific place file (“require confirmation before publishing”), or something more complicated like the following idea…
Place file locking. Players can “lock” a place file so that publishing is disabled, with a message so that anyone attempting to publish can see a short note on why it is locked.
For example, let’s say somebody in my team opens the published place file team and presses Alt+P: instead of causing an incident where a broken version of the game was published, a popup or error will show saying:
Publishing this place is currently disabled, the place was saved instead.
Explanation note (written by @EmeraldSlash):
"Currently messing around with some save data things."
I suppose with this approach, each player should be able to take locks independently, and the place can’t be published until each player releases their lock (or something like that). Perhaps other player’s locks can be manually removed/ignored if desired (to prevent griefing/deadlocks), the point is simply to increase friction and provide an explanation of why the place shouldn’t be published.
At the moment, in order to achieve the communication part of this use case, I have to do hacky stuff like:
task.spawn(function()
while task.wait(1) do
warn("!!!!!!! GAME IS NOT CURRENTLY IN A PLAYABLE STATE, DO NOT PUBLISH !!!!!!!")
end
end)
Similarly, I also made a studio plugin that warns when you have a particular PlaceId open, so that you don’t have to run the test to get a warning about it being the live game.
But these solutions only works for people who have the output window open (programmers) and not artists or other people who typically have the ouput window closed. You could make similar things that show up in the main viewport but that’s just a lot of pointless engineering work.