Skip to content
This repository was archived by the owner on May 8, 2019. It is now read-only.

INIConfiguration

Arves100 edited this page Jul 5, 2018 · 7 revisions

The MasterServer looks for a MasterServer.ini in the same folder where the MasterServer is executed.

Loading a Modules

The section [Modules] handle the module loading.

The value is the number of the module that should be loaded.

WARNING: The number starts at 0. Like arrays.

WARNING2: Don't try to put the same numbers otherwise there could be unexcepted behaviour.

NOTE: The autocompletion of the name is already done for the platforms, in Windows at appends .dll at the end of the file, in all the other system, it appends lib at the beginnig and .so at the ends of the file.

Example: 0=PlayerSpy. In this case, MasterServer will load PlayerSpy as the first module.

MasterServer Options

Section Option Values Description Defalut Value
Database Enabled 1 or 0 If the value is 0, it prevents ANY database iteraction globally 1
Database Port A number between 1 and 65535 The port that Server will use to conenct to the Database 3306
Database Name A string The name of the database that Server should use masterserver
Database Password A string The password of the database username the Server will use to connect
Database Username A string The username that Server will use to connect masterserver
Database Host A string The IP Adress of the Database localhost
Database Socket A string The UNIX socket used to connect to the Server (Ignored in Windows)
Server DefaultIP A string The default IP the server will bind localhost

Modules Options

Each section of the module name is the Module name defined at the loading poing.

Each module could have their own Option, see their reference for more information. This are the generic option that will be used in all the modules.

Option Values Description Default Value
Port A number between 1 and 65535 The port that the module should use to bind it
BindIP A string The IP that the module should use to bind Server's DefaultIP
DisableMySQL 1 or 0 If the value is 0, the module will not perform a connection to the Database 0
Clone this wiki locally