I have a nuke in my game that fires an event, is there a way I could fire it for all the servers?
Thanks, JailBreaker_13
I have a nuke in my game that fires an event, is there a way I could fire it for all the servers?
Thanks, JailBreaker_13
Not sure what you mean "fire all the servers". When an event is fired from any local script, the corresponding server script will respond to it. Local
remoteevent:FireServer()
Server
remoteevent.OnServerEvent:Connect(function(player)
Like if somebody bought a nuke, could it fire the event for all the servers instead of just the current server.
So players on another server get effected by the nuke too.
Oh i understand now, take a look at the following article: https://devforum.roblox.com/t/global-announcements-that-show-across-all-servers/127920/3
There’s only one server. FireAllServers() method wouldn’t make sense. However there are multiple clients(players) in a game so that’s why there is a FireAllClients() method for RemoteEvents.
No, like in games like jailbreak there is a thousand servers, not one.
I see what you mean. You should be specific on what type of server you mean, Mentioning a method of a RemoteEvent lead me to think you meant a server in the Roblox client-server model. And yes, there’s only one server. However since you are talking about Roblox game servers, I understand.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
think of it like this: each player is a client, and the server is a nonxistant admin that exists, theres no fire all servers
To update for all servers in your entire game that are currently running, you would need to do what leaderboards do