Make your own server
A quick way to run a SixL server on your own Windows computer and join it. More detailed technical documentation is linked at the end of the page.
1. Download the launcher
Download the launcher ZIP and unpack it into any folder you can write to (not C:\Program Files). No installer and no administrator rights are needed. The public download is not available yet; it will appear on the main page.
2. Run the launcher
Start sixl-launcher.exe once. The same file is both the launcher and the way to start the game.
3. Find the server archive
In the launcher folder, next to sixl-launcher.exe, there is the server archive SixL-Server-win-x64-<version>.zip. It comes with the launcher and is replaced with every update, so only the current version is kept. The server archive is planned for the nearest release.
4. Unpack and start the server
Unpack the archive anywhere and run start-server.cmd (double-click). It starts the local gateway to the lobby, then the server in the same window; logs are written to logs\. Nothing needs to be installed.
On the first start server.json.example is copied to server\server.json. Open it and set name, maxPlayers and lobbyToken (an empty token means the server is not shown in the lobby list).
5. Connect
In the launcher use "Connect by address" and enter 127.0.0.1:31130.
6. Change the game mode
The server runs the packages in node\packages (one folder with an index.js each) and gives players the client scripts in client_packages. To start your own mode:
- Stop the server (close its window, or Ctrl+C in it).
- Copy an example from the archive's
examplesfolder:hello(a server and a client part) orfreeroam(a server-only game mode with chat commands, vehicles, teleports, respawn and blips). Each example's page says what to copy where: Example packages. - Start the server again and join. Change
node\packages\<name>\index.js, restart the server, and join again: a server script is read only at start. Changed client files inclient_packagesare rebuilt by themselves and reach players the next time they join.
What a package may contain and how players receive client files: Resources and packages. The typings in the archive's types folder give your editor the mp API with descriptions; the same text is the API reference. Porting a mode from RAGE MP: Migrating from RAGE MP.
Server for players on the internet
To let other players join, first set "bindAddress": "0.0.0.0" in server\server.json (the archive starts on this computer only, 127.0.0.1) and restart the server; Windows Firewall will then ask once whether GameServer may accept connections from the network: allow it. Then open these ports on your router and firewall:
- TCP
31130: server information, resources and sign-in (the game port). - UDP
31131: voice (game port + 1). - UDP
31132and31133: game shards (two shards by default; every additional shard uses the next port in a row).
Never open 31128, 31151 and 31152: they are local ports for the server itself.
List your server in the lobby
The lobby's server list shows servers that report themselves to it. To be listed:
- In the launcher, sign in to the lobby (a login, a password and an e-mail address; the e-mail is not shown to anyone).
- Open the Brands tab and choose Register a brand: a brand is the name your servers and your community appear under, and it is unique.
- On your brand's page, under the servers, fill in the server's name, its public address (
host:port, the game port, for exampleplay.example.com:31130), tags and a description, and choose Add server. - The lobby shows the server's token once. Put it into
server\server.jsonaslobbyTokenand restart the server. From then on the server reports to the lobby every 30 seconds and appears in the list with its player count. If the token is lost, New token on the brand page makes a new one.
A server on this computer only (bindAddress 127.0.0.1) can be listed too, but other players cannot join it: open it to the internet first (the section above).
Detailed technical documentation
- Server configuration: every setting, the ports, the flags, starting on Windows and Linux.
- Resources and packages: server and client scripts, how players receive them, what a client script may do.
- Events: the events the server and the client raise.
- Example packages:
hello, a minimal package with a server part and a client part, andfreeroam, a small game mode.
The typings of every mp member, with descriptions and examples, are in the types folder of the server archive.