Go to file
Emma Miler 28b50b3ee1
Add deprecation notice (#93)
2022-11-21 15:02:32 +01:00
.github/workflows Add eslint CI check 2022-02-26 18:50:45 -03:00
.husky Proper name spoofing protection (API change, no actual protection!) (#42) 2022-03-24 21:22:12 +00:00
.vscode Add debug vscode config 2022-02-26 15:29:25 -03:00
account uid<->username lookup routes (#36) 2022-04-12 18:43:14 -03:00
client More rigorous checks for returning failing Stryder auth response (#88) 2022-10-03 21:25:30 +02:00
server Reject non-string values in server/update_values (#74) 2022-05-13 01:32:47 +02:00
shared More descriptive errors for stryder response (#85) 2022-09-01 17:26:50 +02:00
web Added text alternatives to images (#81) 2022-07-16 02:00:08 +02:00
.dockerignore Added Dockerfile (#73) 2022-07-14 23:55:34 +02:00
.eslintrc.json Read player data endpoints (#48) 2022-04-05 18:46:56 -03:00
.gitignore Proper name spoofing protection (API change, no actual protection!) (#42) 2022-03-24 21:22:12 +00:00
Dockerfile Added Dockerfile (#73) 2022-07-14 23:55:34 +02:00
LICENSE Add LICENSE from NorthstarLauncher 2021-12-25 02:13:42 +02:00
README.md Add deprecation notice (#93) 2022-11-21 15:02:32 +01:00
cfaddresses.txt use trusted proxy list instead of cloudflare proxy header cause it works better (#23) 2022-02-12 22:48:52 +00:00
dbSchema.json Proper name spoofing protection (API change, no actual protection!) (#42) 2022-03-24 21:22:12 +00:00
default.pdata initial mod pdef stuff and project structure improvements 2021-11-27 00:37:34 +00:00
dev.env uid<->username lookup routes (#36) 2022-04-12 18:43:14 -03:00
index.js Format project 2022-02-26 15:43:05 -03:00
package-lock.json Query game port on server create (#63) 2022-05-04 22:39:14 +02:00
package.json Query game port on server create (#63) 2022-05-04 22:39:14 +02:00
persistent_player_data_version_231.pdef initial mod pdef stuff and project structure improvements 2021-11-27 00:37:34 +00:00

README.md

Deprecation Notice

NorthstarMasterServer has been deprecated, and has been by replaced by Atlas.

NorthstarMasterServer

The master server is responsible for centralizing game servers created by players, it also verifies that connecting players own an Origin account with Titanfall 2.

Format

This project uses eslint to format code, make sure you run eslint --fix . before opening a Pull Request.

Using With Docker

  1. Build your image - docker build -t northstarmasterserver .
  2. Run it in a container using the following code -docker run -it -p 8080:80 -v $(pwd):/app northstarmasterserver <script>

A little explanation of the run command arguments -

  1. -it - Interactive mode, optionally you can use -d to run it in detached mode
  2. -p 8080:80 - While debugging using Docker port 80 is not allowed for obvious reasons hence we expose the container's port 80 to the host's port 8080
  3. -v $(pwd):/app - It maps a virtual directory from the host machine ($(pwd)) to the specified folder in the Docker image (/app), meaning that the docker image sees the contents of the hosts directory in runtime (on-the-fly) without having to rebuild the image
  4. northstarmasterserver - The image tag name as mentioned when building it
  5. <script> - This should be replaced by any one scripts such as start, watch etc from package.json

Alternatively the above commands can also be used as-is with podman.