R2Northstar Wiki
English
English
  • Welcome to Northstar
  • Contributing
  • Installing Northstar
    • Basic Setup
    • Northstar Installers
      • FlightCore Guide
      • VTOL Guide
      • Viper Guide
    • Manual installation
    • SteamDeck and Linux
      • Installing on SteamDeck and Linux
      • Troubleshooting
    • Troubleshooting
  • Using Northstar
    • Mods
    • Packages
    • Server Browser
    • Direct Connect
    • Gamemodes
    • Commands
    • Launch arguments
    • Progression System
    • Vanilla via Northstar
    • Advanced
  • FAQ
  • Hosting a server with Northstar
    • Getting started
    • Hosting a Basic Listen Server
    • Hosting a Dedicated Server
      • Best practices
      • Hosting on Windows
      • Hosting on Linux
    • Hosting a Local-only Server
    • Server settings
      • Startup arguments
      • ConVars
      • Playlistvars
      • Name in the files
      • Banlist
    • Troubleshooting
  • Modding and Development
    • Modding
    • Development
      • Repositories
        • Atlas
        • NorthstarMods
        • NorthstarLauncher
        • NorthstarMasterServer (old)
          • Deploy
      • Contributing code to Northstar
      • Testing
      • Reviewing
      • Releases
      • Debugging
        • Visual Studio
        • x64dbg
  • Other
    • Helping
    • Discord moderation
      • Rules
    • Credits
Powered by GitBook
On this page
  • Development
  • Installation steps
  • Enabling HTTPS
Edit on GitHub
  1. Modding and Development
  2. Development
  3. Repositories
  4. NorthstarMasterServer (old)

Deploy

PreviousNorthstarMasterServer (old)NextContributing code to Northstar

Last updated 7 months ago

The GitBook based NorthstarWiki has been replaced in favour of the where this wiki has been integrated.

Check it out here:

The same page on the new wiki should be located here:

Development

A Development Master Server uses http requests, it should be used for development purposes on your local machine.

Installation steps

  1. Clone .

  2. Copy the default to .env replace the ip with 127.0.0.1.

  3. Run npm install && npm run watch.

Your master server is now running, to connect to it you need to change some configuration files.

Northstar default masterserver is https://northstar.tf, to point to a new location you need to modify this URL in the autoexec_ns_server.cfg and autoexec_ns_client.cfg config files.

Enabling HTTPS

HTTPS should be used if you plan for other people to use your master server. It can be enabled pretty easy with . Download a Caddy binary and create a Caddyfile with the following content:

{$SHORTDOMAIN:localhost} {
    reverse_proxy http://127.0.0.1:8080
}

After configuring your DNS domain you can run it with SHORTDOMAIN=example.com caddy run. Caddy will automatically generate and maintain your certificates for you, check its documentation for more info: https://caddyserver.com/docs/

NorthstarDocs
https://docs.northstar.tf/Wiki/
https://docs.northstar.tf/Wiki/development/northstarmasterserver/deploy
NorthstarMasterServer
dev.env
Caddy