Repository navigation
Master Server Configuration
Jokūbas M edited this page Dec 22, 2023
·
2 revisions
- Compiled server binaries and a working MariaDB database server (if you do not have at least one yet, please go back to Building and installing page.
- Text editor(Notepad++ recommended, although Wordpad and Notepad should work aswell, on Windows).
By opening Master Server's configuration file with text editor, which is project_dir/cfg/masterserver.ini you can see some already commented options.
Each section will be explained below.
In this section all configuration related to the server is kept. That means here you can: change listen port, change log level and etc.
Note: There is no listen ip option. This is because all of the servers are listening on Ip.Any.
- port - it is listen port which default is
9001.
In this section all configuration related to the login database are kept. That means here you can: change database authentication details.
- ip - ip of the database server, default:
127.0.0.1 - port - port of the database server, default:
3306 - database - database name, default:
login - username - database username, default:
root - password - database user password, default: empty
In this section all configuration related to the game database are kept. That means here you can: change database authentication details.
- ip - ip of the database server, default:
127.0.0.1 - port - port of the database server, default:
3306 - database - database name, default:
world - username - database username, default:
root - password - database user password, default: empty