MrSev7en / master-base

Master Base is an open source project of Live for Speed Master Server that allows players to host their own master server to play with friends.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Master Base

Master Base is an open source project of Live for Speed Master Server that allows players to host their own master server to play with friends.

This Master Server was made for Live for Speed 0.6U, you can test in 0.6V but probably you will need change case switches into src/gateway.ts file, bellow case 76.

Master server shows demo license for all servers, but you can change it in environment variable LICENSE, changing 0 = Demo, 1 = S1, 2 = S2, 3 = S3.

Installation

Requirements

Steps

  1. Clone the repository
  2. Install dependencies with pnpm install
  3. Copy .env.example to .env and fill the values
  4. Build the project with pnpm build
  5. Run the project with pnpm start

Inside game

  1. In windows, you'll need to edit the hosts file. You can find it in: C:\Windows\System32\drivers\etc\hosts
  2. Add the following line to the file: <ip of master server> master.lfs.net
  3. Save the file
  4. In cmd or powershell, run the following command: ipconfig/flushdns
  5. Start the game

Optional

You can also start a dedicated server using DCon, example: DCon 0.6U

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Master Base is licensed under the MIT license.

About

Master Base is an open source project of Live for Speed Master Server that allows players to host their own master server to play with friends.

License:MIT License


Languages

Language:TypeScript 100.0%