GithubHelp home page GithubHelp logo

q3-little-master-serverlist's Introduction

Little nodejs master serverlist broadcaster that supports several protocols:

  • 68 (Q3)
  • 60 (RTCW)
  • 84 (W:ET)
  • can be extended to support more

At that moment, handles single protocol at a time, but could be extended to handle multiple protocols per instance.

Usage

  • install Nodejs 11+
  • clone the repo
  • install deps: npm install
  • run server: npm start

By default it runs on port 27950 and serves the procol 68 (Q3). You can change the protocol by setting PROTOCOL environment variable.
PROTOCOL=84 npm start

You can change the listen port by setting the PORT environment variable.
PORT=8484 npm start

Extension

The inner architecture uses the middleware approach to extend the server functionality. It's rather simple to extend the server to support additional request commands and their properties. Check the src/main.js file to grasp the idea.

Misc

  • Run tests: npm test
  • Check covarage: npm run coverage, generates lcov report
  • Generate JSDoc: npm doc

MIT license

q3-little-master-serverlist's People

Contributors

isryven avatar

Stargazers

JumptoHistory avatar jf. avatar Christophe Mateos avatar

Watchers

James Cloos avatar  avatar

Forkers

g3mh4v0k

q3-little-master-serverlist's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.