Skip to main content

Mp.config

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Server-side JavaScript). Calling it does nothing or throws.

Returns object of server configurations like name, maxplayers.

See all default setting options

Example​

Server-Side

console.log(mp.config.name) // "Default RageMP Server"
console.log(mp.config.maxplayers) // 100