How to make sure there are no server bits in the client in a combined project when deployed?

Godot Version



Good Morning. In a combined project with a client and server. When compiling the client, is there a way to make sure none of the server parts are compiled with the client? Without having a separate project for client and server.

I have found in the documentation on checking command line for the server side code to be executed… but that’s the opposite side.

You can specify files to exclude in the export options. Make two exports, one with server files excluded and one as dedicated server

1 Like

That sounds perfect. Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.