diff --git a/GameInterface.md b/GameInterface.md index 446cc71..fb40afa 100644 --- a/GameInterface.md +++ b/GameInterface.md @@ -25,7 +25,7 @@ The following games are supported in some capacity Install the game interface by *copying the .gsc files to your game server install*. For `Plutonium` games you can execute the provided `deploy.bat` (on Windows) to automatically copy the files. - + The source .gsc files are provided in the `GameFiles` directory of your **IW4MAdmin** installation. **Make sure to restart IW4MAdmin *and* your game server after installation**. @@ -71,7 +71,34 @@ See [example_module.gsc](https://github.com/RaidMax/IW4M-Admin/blob/develop/Game # Troubleshooting -Coming soon... +## Regular commands stop working when game interface is enabled + +Increase the `pollingRate` value in `Configuration/ScriptPluginSettings.json`. +Increasing the polling rate adds more time between RCon requests for new data from the game server. +**Do note that increasing this will cause Game Interface to respond slower to commands**. + +```json +"GameInterface.js": { + "config": { + "pollingRate": 2000 + } + } +``` + +## Game interface commands respond slow + +Decrease the `pollingRate` value in `Configuration/ScriptPluginSettings.json`. +Decreasing the polling rate reduces the time between RCon requests for new data from the game server. +**Do note that decreasing this may increase the likelihood of IW4MAMdmin being RCon throttled**. +*See below for bus mode options to reduce latency on supported games*. + +```json +"GameInterface.js": { + "config": { + "pollingRate": 150 + } + } +``` # Advanced