Skip to content

Commit 9d78b07

Browse files
authored
Update service-manager-scripting-variables.mdx
Doc had error. ThisServiceController is available in all service manager events.
1 parent 72ee021 commit 9d78b07

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

docs/customizations/scripts/script-objects/service-manager-scripting-variables.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,13 @@ ThisService_StopCommandWait
3838
ThisService_StopDelay
3939
ThisService_WorkingDirectory
4040
ThisService_RunAsUserName
41+
ThisServiceController - In IronPython and C# scripts, this can be used to read and update values in the game server's `TCAdmin2\Monitor\Services\ServiceId\Service.cfg`.
4142
```
4243

4344
The following variables are available in the `After Started`, `Before Stopped` and `After Stopped` events.
4445

4546
- `ThisService_Pid` - Id of the process that was started/stopped.
4647

47-
- `ThisServiceController` - In IronPython and C# scripts, there is a variable named ThisServiceController. This can be used to read and update values in the game server's `TCAdmin2\Monitor\Services\ServiceId\Service.cfg`.
48-
4948
:::note example
5049

5150
```bash

0 commit comments

Comments
 (0)