- Thread Author
- #1
How to install the server:
- Download the archive, unzip it anywhere (there should be no Russian characters on the way to the folder).
- Install a MySQL server (e.g.
You must be registered for see linksConnect to localhost and create a database - reborn
- Once created, import the reborn.sql file from the archive
.
- For convenient database management, use
You must be registered for see linksor other similar SQL managers.
- After successful import, edit the data for connecting the server to the MySQL database, in two files:
server/packages/server/index.js
server/packages/server/systems/mysql.js
The last step is to edit the "whitelist" - the server system does not allow all players, except for those who are on the list.
Add your Social Club login in the file - server/packages/server/white.js-
JavaScript:
var sc_allowed = [ "kfc", "ваш логин social club", "логин друга" ]; - If you did everything correctly and there were no errors during the installation process, you can start the server.
- I hope the manual for installing this RAGE:MP server is clear to you, I tried to describe it in as much detail as possible.
The admin panel is displayed in the database, the table is user, the column is admin, the maximum level is 6
JavaScript:
mysql.connection = mysql2.createConnection({
host : 'localhost', // Оставляйте localhost если запускаете у себя на ПК
user : 'root', // пользователь, чаще всего root
password : 'root', // пароль
database : 'reborn' // название базы данных
});