How often can I call FireServer?

Hi Guys,

I plan on making a mining game and would like to do the following.

  1. Call FireServer() every second (this is the swing speed of the pickaxe)
  2. Calculate ore gains/xp on the server
  3. Return results to the client via FireClient()

Maximum players will be 12/server.

performance wise, if all 12 players were mining simultaneously would there be any issues with the server handling the load?

Thanks for any advise.

No, it would not be a problem. It really just depends on your code.

Great, Thanks.

Code won’t be too complex,

Just a few checks such as last ore extraction was >=1 second, current pickaxe lvl requirements, calculate ore/xp gains etc.

1 Like