Repository navigation
Expand file tree
/
Copy pathMstArgNames.cs
More file actions
854 lines (773 loc) · 28.3 KB
/
Copy pathMstArgNames.cs
File metadata and controls
854 lines (773 loc) · 28.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
namespace MasterServerToolkit.MasterServer
{
public class MstArgNames
{
/// <summary>
/// Starts the master server automatically after the Unity player launches.
/// </summary>
/// <example>
/// <code>
/// -mstStartMaster=true
/// </code>
/// </example>
public string StartMaster => "-mstStartMaster";
/// <summary>
/// Starts the client connection to the master server automatically after the Unity player launches.
/// </summary>
/// <example>
/// <code>
/// -mstStartClientConnection=true
/// </code>
/// </example>
public string StartClientConnection => "-mstStartClientConnection";
/// <summary>
/// Overrides the default application.cfg path used to load MST arguments. Relative paths are resolved from the build or project root; the derived environment key is MST_CONFIG_FILE. Config files may import additional defaults with @import "relative/path.cfg".
/// </summary>
/// <example>
/// <code>
/// -mstConfigFile=Configs/master.cfg
/// </code>
/// </example>
public string ConfigFile => "-mstConfigFile";
/// <summary>
/// Sets the port opened by the master server socket.
/// </summary>
/// <example>
/// <code>
/// -mstMasterPort=25200
/// </code>
/// </example>
public string MasterPort => "-mstMasterPort";
/// <summary>
/// Sets the dashboard information identifier used by dashboard integrations.
/// </summary>
/// <example>
/// <code>
/// -mstDashboardInfoId=master
/// </code>
/// </example>
public string DashboardInfoId => "-mstDashboardInfoId";
/// <summary>
/// Sets the port opened by the dashboard server.
/// </summary>
/// <example>
/// <code>
/// -mstDashboardPort=25201
/// </code>
/// </example>
public string DashboardPort => "-mstDashboardPort";
/// <summary>
/// Sets the IP address or host used by the dashboard server.
/// </summary>
/// <example>
/// <code>
/// -mstDashboardIp=localhost
/// </code>
/// </example>
public string DashboardIp => "-mstDashboardIp";
/// <summary>
/// Sets the IP address or host used by clients and room servers to reach the master server.
/// </summary>
/// <example>
/// <code>
/// -mstMasterIp=master.example.com
/// </code>
/// </example>
public string MasterIp => "-mstMasterIp";
/// <summary>
/// Sets the spawn task identifier assigned to a spawned room process.
/// </summary>
/// <example>
/// <code>
/// -mstSpawnerTaskId=0
/// </code>
/// </example>
public string SpawnerTaskId => "-mstSpawnerTaskId";
/// <summary>
/// Sets the unique verification code used to detect tampering with spawned room processes.
/// </summary>
/// <example>
/// <code>
/// -mstSpawnerTaskUniqueCode=spawn-task-secret
/// </code>
/// </example>
public string SpawnerTaskUniqueCode => "-mstSpawnerTaskUniqueCode";
/// <summary>
/// Sets the maximum number of room processes that a spawner can run at the same time.
/// </summary>
/// <example>
/// <code>
/// -mstSpawnerMaxProcesses=10
/// </code>
/// </example>
public string SpawnerMaxProcesses => "-mstSpawnerMaxProcesses";
/// <summary>
/// Starts the room spawner automatically after the Unity player launches.
/// </summary>
/// <example>
/// <code>
/// -mstSpawnerStart=true
/// </code>
/// </example>
public string SpawnerStart => "-mstSpawnerStart";
/// <summary>
/// Sets the first room port that the spawner should use when allocating room server ports.
/// </summary>
/// <example>
/// <code>
/// -mstSpawnerRoomDefaultPort=25300
/// </code>
/// </example>
public string SpawnerRoomDefaultPort => "-mstSpawnerRoomDefaultPort";
/// <summary>
/// Sets the first redirected room port that the spawner should use when room servers listen behind a reverse proxy.
/// </summary>
/// <example>
/// <code>
/// -mstSpawnerRoomDefaultRedirectPort=5300
/// </code>
/// </example>
public string SpawnerRoomDefaultRedirectPort => "-mstSpawnerRoomDefaultRedirectPort";
/// <summary>
/// Sets the CPU usage limit for a spawned room process when the spawner supports process limits.
/// </summary>
/// <example>
/// <code>
/// -mstRoomCpuLimit=80
/// </code>
/// </example>
public string RoomCpuLimit => "-mstRoomCpuLimit";
/// <summary>
/// Sets the public IP address or host advertised by a spawned room server.
/// </summary>
/// <example>
/// <code>
/// -mstRoomIp=room.example.com
/// </code>
/// </example>
public string RoomIp => "-mstRoomIp";
/// <summary>
/// Sets the internal or redirected IP address used when rooms are behind NAT or a reverse proxy.
/// </summary>
/// <example>
/// <code>
/// -mstRoomRedirectIp=room.example.com
/// </code>
/// </example>
public string RoomRedirectIp => "-mstRoomRedirectIp";
/// <summary>
/// Sets the public port opened by a spawned room server.
/// </summary>
/// <example>
/// <code>
/// -mstRoomPort=25300
/// </code>
/// </example>
public string RoomPort => "-mstRoomPort";
/// <summary>
/// Sets the redirected room port used when rooms are behind NAT or a reverse proxy.
/// </summary>
/// <example>
/// <code>
/// -mstRoomRedirectPort=5300
/// </code>
/// </example>
public string RoomRedirectPort => "-mstRoomRedirectPort";
/// <summary>
/// Tells clients whether they should use a secure connection when connecting through the redirected room endpoint.
/// </summary>
/// <example>
/// <code>
/// -mstRoomClientUseSecure=true
/// </code>
/// </example>
public string RoomClientUseSecure => "-mstRoomClientUseSecure";
/// <summary>
/// Marks a room as private so clients must provide a password or invitation flow.
/// </summary>
/// <example>
/// <code>
/// -mstRoomIsPrivate=false
/// </code>
/// </example>
public string RoomIsPrivate => "-mstRoomIsPrivate";
/// <summary>
/// Sets the room process name, commonly used for console window titles and diagnostics.
/// </summary>
/// <example>
/// <code>
/// -mstRoomName=The Last Dawn [PvP] [Europe]
/// </code>
/// </example>
public string RoomName => "-mstRoomName";
/// <summary>
/// Sets the room title shown in room and lobby listings.
/// The value may be a plain string or a single-line JSON object with language keys.
/// </summary>
/// <example>
/// <code>
/// -mstRoomTitle=The Last Dawn [PvP] [Europe]
/// -mstRoomTitle={"en":"The Last Dawn [PvP]","ru":"Последний Рассвет [PvP]","tr":"Son Safak [PvP]"}
/// </code>
/// </example>
public string RoomTitle => "-mstRoomTitle";
/// <summary>
/// Sets the password required to join a private room.
/// </summary>
/// <example>
/// <code>
/// -mstRoomPassword=room-password
/// </code>
/// </example>
public string RoomPassword => "-mstRoomPassword";
/// <summary>
/// Sets the maximum number of client connections accepted by a room server.
/// </summary>
/// <example>
/// <code>
/// -mstRoomMaxConnections=40
/// </code>
/// </example>
public string RoomMaxConnections => "-mstRoomMaxConnections";
/// <summary>
/// Sets the executable path that the spawner should launch for a room server.
/// </summary>
/// <example>
/// <code>
/// -mstRoomExe=C:\Games\my_game\Room\Room.exe
/// </code>
/// </example>
public string RoomExecutablePath => "-mstRoomExe";
/// <summary>
/// Sets the region label used to group and filter spawners or rooms.
/// The value may be a plain string or a single-line JSON object with language keys.
/// </summary>
/// <example>
/// <code>
/// -mstRoomRegion=Europe
/// -mstRoomRegion={"en":"Europe","ru":"Европа","tr":"Avrupa"}
/// </code>
/// </example>
public string RoomRegion => "-mstRoomRegion";
/// <summary>
/// Sets the Unity scene that a room server should load for online gameplay.
/// </summary>
/// <example>
/// <code>
/// -mstRoomOnlineScene=Online
/// </code>
/// </example>
public string RoomOnlineScene => "-mstRoomOnlineScene";
/// <summary>
/// Enables WebSocket transport mode for room servers that support WebGL clients.
/// </summary>
/// <example>
/// <code>
/// -mstUseWebSockets=true
/// </code>
/// </example>
public string UseWebSockets => "-mstUseWebSockets";
/// <summary>
/// Sets the database connection string used by database bridge implementations.
/// </summary>
/// <example>
/// <code>
/// -mstDatabaseConnectionString=Server=127.0.0.1;Database=cube_survival;Uid=root;Pwd=password;Port=3306;
/// </code>
/// </example>
public string DatabaseConnectionString => "-mstDatabaseConnectionString";
/// <summary>
/// Sets database provider configuration data, such as a serialized connection profile or provider-specific connection string.
/// </summary>
/// <example>
/// <code>
/// -mstDatabaseConfiguration=default
/// </code>
/// </example>
public string DatabaseConfiguration => "-mstDatabaseConfiguration";
/// <summary>
/// Controls whether database connections should be closed automatically after operations when the provider supports it.
/// </summary>
/// <example>
/// <code>
/// -mstDatabaseAutoCloseConnection=true
/// </code>
/// </example>
public string DatabaseAutoCloseConnection => "-mstDatabaseAutoCloseConnection";
/// <summary>
/// Sets the database language or dialect type used by SQL-oriented providers.
/// </summary>
/// <example>
/// <code>
/// -mstDatabaseLanguageType=MySql
/// </code>
/// </example>
public string DatabaseLanguageType => "-mstDatabaseLanguageType";
/// <summary>
/// Sets the database provider type used by database bridge implementations.
/// </summary>
/// <example>
/// <code>
/// -mstDatabaseProvider=MySql
/// </code>
/// </example>
public string DatabaseProvider => "-mstDatabaseProvider";
/// <summary>
/// Sets the lobby identifier assigned to a spawned room process.
/// </summary>
/// <example>
/// <code>
/// -mstLobbyId=1
/// </code>
/// </example>
public string LobbyId => "-mstLobbyId";
/// <summary>
/// Enables secure connections to the master server socket.
/// </summary>
/// <example>
/// <code>
/// -mstUseSecure=false
/// </code>
/// </example>
public string UseSecure => "-mstUseSecure";
/// <summary>
/// Sets the path to the certificate file used for secure server connections.
/// </summary>
/// <example>
/// <code>
/// -mstCertificatePath=certs/master.pfx
/// </code>
/// </example>
public string CertificatePath => "-mstCertificatePath";
/// <summary>
/// Sets the password for the certificate used for secure server connections.
/// </summary>
/// <example>
/// <code>
/// -mstCertificatePassword=certificate-password
/// </code>
/// </example>
public string CertificatePassword => "-mstCertificatePassword";
/// <summary>
/// Overrides permission secrets by key for this process.
/// </summary>
/// <remarks>
/// On a master server, keys must already exist in the Inspector permission list; configuration
/// cannot create permissions or change their levels. On a connecting process, modules use the
/// entries they need when requesting additional permissions. Values are redacted from MST
/// argument diagnostics.
/// </remarks>
/// <example>
/// <code>
/// -mstPermissionCredentials={"default":"client-secret","room_server":"room-secret","spawner":"spawner-secret"}
/// </code>
/// </example>
public string PermissionCredentials => "-mstPermissionCredentials";
/// <summary>
/// Enables important MST development mode features in modules that support them.
/// </summary>
/// <remarks>
/// Use this flag only for development and test builds. It may enable dev-only behavior
/// across different systems, such as allowing Unity Editor clients to connect to a built master server.
/// Production servers should keep it disabled or omit it.
/// </remarks>
/// <example>
/// <code>
/// -mstUseDevMode=false
/// </code>
/// </example>
public string UseDevMode => "-mstUseDevMode";
/// <summary>
/// Sets the target Unity frame rate for the server process.
/// </summary>
/// <example>
/// <code>
/// -mstTargetFrameRate=60
/// </code>
/// </example>
public string TargetFrameRate => "-mstTargetFrameRate";
/// <summary>
/// Sets the IP address or host used by the built-in web server.
/// </summary>
/// <example>
/// <code>
/// -mstWebAddress=localhost
/// </code>
/// </example>
public string WebAddress => "-mstWebAddress";
/// <summary>
/// Sets the port opened by the built-in web server.
/// </summary>
/// <example>
/// <code>
/// -mstWebPort=25201
/// </code>
/// </example>
public string WebPort => "-mstWebPort";
/// <summary>
/// Requires HTTP Basic Auth for every registered built-in web server route.
/// Per-route credentials can still protect individual routes when this value is false.
/// </summary>
/// <example>
/// <code>
/// -mstWebUseCredentials=true
/// </code>
/// </example>
public string WebUseCredentials => "-mstWebUseCredentials";
/// <summary>
/// Sets an optional admin/service identifier for server-side service integrations.
/// The built-in HTTP server does not use this value.
/// </summary>
/// <example>
/// <code>
/// -mstAdminId=
/// </code>
/// </example>
public string AdminId => "-mstAdminId";
/// <summary>
/// Sets the admin username required for built-in web server authentication.
/// </summary>
/// <example>
/// <code>
/// -mstAdminUsername=admin
/// </code>
/// </example>
public string AdminUsername => "-mstAdminUsername";
/// <summary>
/// Sets the admin password required for built-in web server authentication.
/// </summary>
/// <example>
/// <code>
/// -mstAdminPassword=password
/// </code>
/// </example>
public string AdminPassword => "-mstAdminPassword";
/// <summary>
/// Legacy admin username argument for built-in web server authentication.
/// Prefer <see cref="AdminUsername"/> for new deployments.
/// </summary>
public string WebUsername => "-mstWebServerUsername";
/// <summary>
/// Legacy admin password argument for built-in web server authentication.
/// Prefer <see cref="AdminPassword"/> for new deployments.
/// </summary>
public string WebPassword => "-mstWebServerPassword";
/// <summary>
/// Sets the authentication realm advertised by the built-in web server.
/// </summary>
/// <example>
/// <code>
/// -mstWebServerRealm=Master Server
/// </code>
/// </example>
public string WebRealm => "-mstWebServerRealm";
/// <summary>
/// Enables CORS response headers for the built-in web server.
/// </summary>
/// <example>
/// <code>
/// -mstWebCorsEnabled=true
/// </code>
/// </example>
public string WebCorsEnabled => "-mstWebCorsEnabled";
/// <summary>
/// Sets allowed CORS origins for the built-in web server.
/// Use '*' for anonymous public access or a comma-separated exact-origin list.
/// </summary>
/// <example>
/// <code>
/// -mstWebAllowedOrigins=https://admin.example.com,http://localhost:5173
/// </code>
/// </example>
public string WebAllowedOrigins => "-mstWebAllowedOrigins";
/// <summary>
/// Sets allowed CORS methods for preflight responses.
/// </summary>
/// <example>
/// <code>
/// -mstWebAllowedMethods=GET,POST,PUT,DELETE,OPTIONS,HEAD
/// </code>
/// </example>
public string WebAllowedMethods => "-mstWebAllowedMethods";
/// <summary>
/// Sets allowed CORS request headers for preflight responses.
/// </summary>
/// <example>
/// <code>
/// -mstWebAllowedHeaders=Content-Type,Authorization,Accept,X-Requested-With
/// </code>
/// </example>
public string WebAllowedHeaders => "-mstWebAllowedHeaders";
/// <summary>
/// Allows credentialed CORS requests only when explicit origins are configured.
/// This is ignored when allowed origins contains '*'.
/// </summary>
/// <example>
/// <code>
/// -mstWebAllowCredentials=true
/// </code>
/// </example>
public string WebAllowCredentials => "-mstWebAllowCredentials";
/// <summary>
/// Sets the browser CORS preflight cache duration in seconds.
/// </summary>
/// <example>
/// <code>
/// -mstWebCorsMaxAge=86400
/// </code>
/// </example>
public string WebCorsMaxAge => "-mstWebCorsMaxAge";
/// <summary>
/// Sets how often the built-in web server heartbeat check should run.
/// </summary>
/// <example>
/// <code>
/// -mstWebServerHeartbeatCheckInterval=10
/// </code>
/// </example>
public string WebServerHeartbeatCheckInterval => "-mstWebServerHeartbeatCheckInterval";
/// <summary>
/// Sets the built-in web server page used for heartbeat checks.
/// </summary>
/// <example>
/// <code>
/// -mstWebServerHeartbeatCheckPage=/health
/// </code>
/// </example>
public string WebServerHeartbeatCheckPage => "-mstWebServerHeartbeatCheckPage";
/// <summary>
/// Sets how often analytics data should be sent by analytics-enabled modules.
/// </summary>
/// <example>
/// <code>
/// -mstAnalyticsSendInterval=60
/// </code>
/// </example>
public string AnalyticsSendInterval => "-mstAnalyticsSendInterval";
/// <summary>
/// Sets the MST file log path.
/// </summary>
/// <remarks>
/// Relative paths are resolved from the Unity player root. The path may use file-name tokens:
/// {spawnId}, {pid}, {roomName}, {roomPort}, {roomRedirectPort}, {masterPort}, {date}, and {channelId}.
/// The {channelId} token routes non-system channels into separate files. The System channel omits
/// the token value so default system logs keep the base file name.
/// </remarks>
/// <example>
/// <code>
/// -mstLogFilePath=Logs/master_{date}.log
/// -mstLogFilePath=Logs/rooms/{spawnId}_{roomName}_{roomPort}_{channelId}_{date}.log
/// </code>
/// </example>
public string LogFilePath => "-mstLogFilePath";
/// <summary>
/// Sets the minimum MST log level written to the configured log file.
/// </summary>
/// <example>
/// <code>
/// -mstLogFileMinLevel=Info
/// -mstLogFileMinLevel=Debug
/// </code>
/// </example>
public string LogFileMinLevel => "-mstLogFileMinLevel";
/// <summary>
/// Controls whether the MST file appender should append to existing files when the process starts.
/// </summary>
/// <remarks>
/// The default is false, so matching log file names are overwritten on startup.
/// </remarks>
/// <example>
/// <code>
/// -mstLogFileAppend=false
/// </code>
/// </example>
public string LogFileAppend => "-mstLogFileAppend";
/// <summary>
/// Controls whether Unity log messages should be mirrored into the configured MST log file.
/// </summary>
/// <example>
/// <code>
/// -mstLogUnityMessages=true
/// </code>
/// </example>
public string LogUnityMessages => "-mstLogUnityMessages";
/// <summary>
/// Sets comma-separated channels accepted by the MST file appender.
/// </summary>
/// <remarks>
/// The default is System. Use * to include every channel. When LogFilePath contains {channelId},
/// accepted channels are routed into files by their actual log channel. System omits the channel id in file names.
/// </remarks>
/// <example>
/// <code>
/// -mstLogChannels=System
/// -mstLogChannels=System,Chat,Economy
/// -mstLogChannels=*
/// </code>
/// </example>
public string LogChannels => "-mstLogChannels";
/// <summary>
/// Sets comma-separated channels written by the MST console appender. The default is System; use * to include every channel.
/// </summary>
/// <example>
/// <code>
/// -mstConsoleLogChannels=System
/// -mstConsoleLogChannels=System,Chat
/// </code>
/// </example>
public string ConsoleLogChannels => "-mstConsoleLogChannels";
/// <summary>
/// Sets the timeout after which inactive clients are disconnected.
/// </summary>
/// <example>
/// <code>
/// -mstClientInactivityTimeout=120
/// </code>
/// </example>
public string ClientInactivityTimeout => "-mstClientInactivityTimeout";
/// <summary>
/// Sets the timeout allowed for client validation during connection or authentication flows.
/// </summary>
/// <example>
/// <code>
/// -mstClientValidationTimeout=10
/// </code>
/// </example>
public string ClientValidationTimeout => "-mstClientValidationTimeout";
/// <summary>
/// Sets the SMTP host used for outgoing email.
/// </summary>
/// <example>
/// <code>
/// -mstSmtpHost=smtp.example.com
/// </code>
/// </example>
public string SmtpHost => "-mstSmtpHost";
/// <summary>
/// Sets the SMTP username used for outgoing email authentication.
/// </summary>
/// <example>
/// <code>
/// -mstSmtpUsername=user@example.com
/// </code>
/// </example>
public string SmtpUsername => "-mstSmtpUsername";
/// <summary>
/// Sets the SMTP password used for outgoing email authentication.
/// </summary>
/// <example>
/// <code>
/// -mstSmtpPassword=password
/// </code>
/// </example>
public string SmtpPassword => "-mstSmtpPassword";
/// <summary>
/// Sets the SMTP port used for outgoing email.
/// </summary>
/// <example>
/// <code>
/// -mstSmtpPort=587
/// </code>
/// </example>
public string SmtpPort => "-mstSmtpPort";
/// <summary>
/// Enables SSL/TLS for SMTP connections.
/// </summary>
/// <example>
/// <code>
/// -mstSmtpEnableSSL=true
/// </code>
/// </example>
public string SmtpEnableSSL => "-mstSmtpEnableSSL";
/// <summary>
/// Sets the SMTP request timeout.
/// </summary>
/// <example>
/// <code>
/// -mstSmtpTimeout=10
/// </code>
/// </example>
public string SmtpTimeout => "-mstSmtpTimeout";
/// <summary>
/// Sets the sender email address used in outgoing email.
/// </summary>
/// <example>
/// <code>
/// -mstSmtpMailFrom=no-reply@example.com
/// </code>
/// </example>
public string SmtpMailFrom => "-mstSmtpMailFrom";
/// <summary>
/// Sets the sender display name used in outgoing email.
/// </summary>
/// <example>
/// <code>
/// -mstSmtpSenderDisplayName=Cube Survivinator
/// </code>
/// </example>
public string SmtpSenderDisplayName => "-mstSmtpSenderDisplayName";
/// <summary>
/// Sets the default language code used by localization-aware MST modules.
/// </summary>
/// <example>
/// <code>
/// -mstDefaultLanguage=en
/// </code>
/// </example>
public string DefaultLanguage => "-mstDefaultLanguage";
/// <summary>
/// Sets the secret key used to sign and validate authentication tokens.
/// </summary>
/// <example>
/// <code>
/// -mstTokenSecret=change-this-token-secret
/// </code>
/// </example>
public string TokenSecret => "-mstTokenSecret";
/// <summary>
/// Sets the persistent master security key-ring file.
/// </summary>
/// <example>
/// <code>
/// -mstSecurityKeyRingFile=Configs/mst-security.keys.json
/// </code>
/// </example>
public string SecurityKeyRingFile => "-mstSecurityKeyRingFile";
/// <summary>
/// Sets the number of days before generated authentication tokens expire.
/// </summary>
/// <example>
/// <code>
/// -mstTokenExpiresInDays=7
/// </code>
/// </example>
public string TokenExpiresInDays => "-mstTokenExpiresInDays";
/// <summary>
/// Sets the issuer value written into generated authentication tokens.
/// </summary>
/// <example>
/// <code>
/// -mstTokenIssuer=my-game
/// </code>
/// </example>
public string TokenIssuer => "-mstTokenIssuer";
/// <summary>
/// Sets the audience value written into generated authentication tokens.
/// </summary>
/// <example>
/// <code>
/// -mstTokenAudience=my-game-client
/// </code>
/// </example>
public string TokenAudience => "-mstTokenAudience";
/// <summary>
/// Enables or disables the MST analytics module.
/// </summary>
/// <example>
/// <code>
/// -mstUseAnalyticsModule=false
/// </code>
/// </example>
public string UseAnalyticsModule => "-mstUseAnalyticsModule";
}
}