TrackMania2020 dedicated server controller
- Node.js LTS
- MySQL 8.0.26 and above
- Trackmania 2020 Dedicated Server
In your MySQL server create db
CREATE DATABASE pepeplanet CHARACTER SET UTF8mb4 collate utf8mb4_unicode_ci;
Create db user
CREATE USER 'pepega'@'localhost' IDENTIFIED BY 'your password';
Grant all access to user
GRANT ALL PRIVILEGES ON pepeplanet.* TO 'pepega'@'localhost';
Run script from root folder of this project. (Dont forget to enter 'your password' when mysql ask for it)
mysql -u pepega -p < ./db/script.sql
Install dependencies
npm install
Edit config.js
with your settings
npm start
if you want run controller in background you can use pm2