Exactly what the title says, but for more context I am making an item releaser and when it releases an item it will stay on all servers. Basically, it’s like making it in studio except it’s in the game, this is because I want to have the Gui appear on all servers instantly without shutting down the whole game. Any ideas?
You would have to use a combination of DataStoreService, to have it active in all newly created servers, and also have to use MessagingService, to notify active servers that a new thing was created
You can just have it normally and make it appear after a specific time, u can check the time, including but not limited to months, year and day, using built-in functions.
Well, I am looking for a button that when clicked clones a Gui. (Adds new item)
I’ve tried this last night and when I fired messaging service it didn’t go onto all servers and instead put in the output there was a https error.
If you use Shut Down All Servers on the website, then every server is being shutdown. But before this happens, it runs all functions binded to game:BindToClose(). If you bind a function which clones a GUI to all players, then you will get your solution. The game will shutdown after all these binds finish. The server shuts down no matter what after 10 seconds.
After this GUI is placed, you could either wait a few seconds, or you could teleport everybody to a reserved server, which would teleport them back to the main game which is updated.
well just dont use the messaging service and check for updates to the data store every 1 mins - at worse your servers will be a min out of sync.
There are limits to how often you can check data stores but its like 10 a minute multiplied by the number of players in a server so…
Alright I’ll try this, thanks very much!
I don’t really understand what you mean, can you specify it a bit more?
Well when you want the gui thing to happen have it save a value to datastores…
Have each server check for that value every few minutes.
Also check for that value on startup…
Why in the world do you need datastores for this shutdown Gui?
This shutdown can’t take minutes. It’s limit is 10 seconds.
“How to make a Gui clone on all servers and have it STAY when the server shuts down?”
umm i assumed he wanted the gui to persist through shutdown?
Im starting to think he meant to type
“How to make a Gui clone on all servers and have it SAY when the server shuts down?”
You could use this gui as a teleport gui when you teleport everybody to reserved servers, so the game can update.
maybe - tbh i dont really know what he wants