Explorar o código

Add editor.cfg to enable local server from editor (#116)

Signed-off-by: allisaurus <[email protected]>
allisaurus %!s(int64=3) %!d(string=hai) anos
pai
achega
6758ee9c91
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  1. 3 1
      README.md
  2. 1 0
      editor.cfg

+ 3 - 1
README.md

@@ -108,7 +108,9 @@ MultiplayerSample.ServerLauncher.exe --console-command-file=server.cfg
 
 #### Running the Server in the Editor
 
-Refer to the O3DE document [Test Multiplayer Games in the O3DE Editor](https://o3de.org/docs/user-guide/gems/reference/multiplayer/multiplayer-gem/test-in-editor/), to set up required console variables (cvar) to support play in editor with servers. Ensure you configure ```editorsv_enabled``` and ```editorsv_launch``` as required. See the [Console Variable Tutorial](https://o3de.org/docs/user-guide/engine/cvars) for more details on setting and using cvars.
+By default, launching a local server from the editor during Play Mode is enabled. To disable this behavior, update the `editorsv_enabled` value in the `editor.cfg` file to `false`.
+
+Refer to the O3DE document [Test Multiplayer Games in the O3DE Editor](https://o3de.org/docs/user-guide/gems/reference/multiplayer/multiplayer-gem/test-in-editor/) for the complete list of console variables (cvar) which support play in the editor with servers.
 
 
 #### Running the Client

+ 1 - 0
editor.cfg

@@ -0,0 +1 @@
+editorsv_enabled=true