Opt-in increase friction to publishing a place file

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.

6 Likes

I liked how the publish notes window gave that friction, they feel very familiar to how programmers (working with Git) have commit friction where it won’t upload your work unless you describe what you did. In general a good practice imo.

I hope this publish notes feature becomes a setting, even if it doesn’t fit some people’s publish-heavy workflows, I really like the practice of annotating your versions.

A separate publish lock feature could be interesting, currently you can also make a textlabel in the viewport and destroy upon playtest, but accidents happen in team environments.

6 Likes

Thank you for sharing this idea with us @EmeraldSlash.

I agree, pressing Alt+P quickly becomes muscle memory, and its ease of use can also be its downside. I really like how your plugin addresses this thoughtfully. Introducing intentional friction by scoping publish permissions to specific team members or places is a compelling idea.. We’re always looking for ways to improve the publishing flow, and we’ll definitely keep this in mind.

2 Likes