godotengine / godot-docs

Godot Engine official documentation
https://docs.godotengine.org
Other
3.92k stars 3.2k forks source link

Dedicated server documentation is inaccurate for 4.0 #7310

Open calliana opened 1 year ago

calliana commented 1 year ago

Your Godot version: 4.0

Issue description:

I was trying to set up a new Godot 4.0 project that will use a dedicated game server and while going through the docs I realized that this page needs a bit of an overhaul. As a preface, the server platform was removed from SCons in the following PR and I believe that as a result, any reference to server vs. headless in the documentation is no longer accurate:

https://github.com/godotengine/godot/pull/49074

If I understand that pull request correctly, there is no longer a dedicated server binary and instead any platform can use the --display-driver headless argument.

The Exporting for dedicated servers probably needs a major rework. Some specific issues:

It seems like the entire workflow for dedicated servers is probably different now? I think a relatively simple recommended flow could be something like:

Also, this Introduction to the buildsystem page still refers to the server platform.

I don't mind submitting a PR for these but would like to first verify what the recommended solution is for dedicated servers in 4.0 so I don't write anything inaccurate.

URL to the documentation page:

dsnopek commented 1 year ago

The updated docs should probably include information about the "dedicated server export mode" added in https://github.com/godotengine/godot/pull/70377 too