Jump to content

How do I check if server is a dedicated server?


Recommended Posts

Hello fellow dst modders and players,

I'm looking for something that could be run in a mod to check if the server is dedicated upon startup. The reason for this is to prevent clients acting as hosts from running the mod regardless if enabled in mods.

I would be extremely greatful for the help and feedback you provide! :)

Edited by neahxx
Link to comment
Share on other sites

Shouldn't your mod be "server only" in this case ? I don't understand why this will not be enough ? Do you need some parts to be available for all clients ?

 

Ok, sorry, i didn't understood the question, the mention of "client" confused me. I don't know if it's possible to do.

Edited by Lumina
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...