setServerConfigSetting | Multi Theft Auto: Wiki Skip to content

setServerConfigSetting

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function sets server settings which are stored in the mtaserver.conf file.

Note

This function is protected by default and must be explicitly allowed in the servers acl before it can be used.

Caution

"bandwidth_reduction" set to 'maximum' will cause player movement synchronization issues, on locations built outside 3000m radius from world center.

Syntax

setServerConfigSetting ( )

Code Examples

server

This example enables network encryption

setServerConfigSetting( "networkencryption", "1", true )