Command Line Arguments
The GEM Plugin allows the following launch arguments on builds.
Server Arguments (Client and Server)
| Command Argument |
Parameters |
Example |
Details |
| UseGEM |
(bool)[True/ False] |
-UseGEM=True |
Forces the GEM Plugin to be enabled or disabled on launch. |
| ReleaseMode |
(bool)[True/False] |
-ReleaseMode=False |
Sets the ReleaseMode which is otherwise configured in the GEMuserSettings.yaml and default as "True". If ReleaseMode=False, more debug statements are shown in the startup sequence. |
Server Arguments
| Command Argument |
Parameters |
Example |
Details |
| GemAddress |
(string)[IP] |
-GemAddress=127.0.0.1 |
Sets the IP Address at which the Showrunner is expected. |
| GemPort |
(ulong)[Port] |
-GemPort=13700 |
Sets the Port Address at which the Showrunner is expected. |
| StageOffsetLocation |
(Vector2)[x,y] |
-StageOffsetLocation=[0,0] |
Sets the stage offset by which the Experience is to be offset with. |
| GemGroupId |
(int)[Number] |
-GemGroupId=0 |
Sets the Group ID that the Gameserver was launched for by GEM. |
| GemGroupSize |
(uint)[Number] |
-GemGroupSize=4 |
Sets the Group Size that the Gameserver was launched for by GEM. |
Client Arguments
| Command Argument |
Parameters |
Example |
Details |
| GemAddress |
(string){IP} |
-GemAddress=127.0.0.1 |
Overrides the IP Address at which the Client expects the Siterunner. If UseGEM is false, this sets the Gameserver IP to connect directly to. |
| GamePort |
(ulong){Port} |
-GamePort=7777 |
Overrides the Port Address at which the Client connects to the Gameserver with. |
| DeviceID |
(string){ID} |
-DeviceID=Player1 |
Force-Overrides the Device ID. Used when launching multiple Clients on a single Device to differentiate them. |