Katilith / server

RuneJS is a RuneScape game server written in TypeScript and JavaScript. The goal of the project is to create a comprehensive game engine, while also providing simple and easy to use content development systems and APIs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuneJS

RuneJS

RuneJS Discord Server

RuneJS is a RuneScape game server written entirely using TypeScript and JavaScript. The aim of this project is to create a game server that is both fun and easy to use, while also providing simple content development systems.

The server runs on the 435 revision of the game, which was a game update made on October 31st, 2006. There are not any plans to convert it to other versions at this time.

RuneJS is completely open-source and open to all pull requests and/or issues. Many plugins have been added by contributor pull requests and we're always happy to have more!

RuneJS Lumbridge

Setup

  1. Download and install NodeJS version 14 or higher: https://nodejs.org/en/
  2. Clone the Github Repo: https://github.com/runejs/server
  3. Install dependencies by navigating to the project in your Terminal or command prompt and running the command npm install
  4. Copy the data/config/server-config.example.yaml and paste it into the same folder using the name server-config.yaml
  5. Go into your new server-config.yaml file and modify your RSA modulus and exponent with the ones matching your game client
  • You may also modify the server's port and host address from this configuration file
  1. Run the game server with npm start

The game server will spin up and be accessible via port 43594.

Setup using docker

  1. Download and install Docker and Docker Compose: first https://docs.docker.com/get-docker/ then https://docs.docker.com/compose/install/
  2. Copy the config/server-config.example.yaml and paste it into the same folder using the name server-config.yaml
  3. Go into your new server-config.yaml file and modify your RSA modulus and exponent with the ones matching your game client
  • You may also modify the server's port and host address from this configuration file
  1. Build the docker image with docker-compose build
  2. Run the game server with `docker-compose up'

The game server will spin up and be accessible via port 43594.

Game Client

The RuneScape Java Client #435 must be used to log into a RuneJS game server.

Additional Commands

  • npm run start:game Launches the game server by itself without building
  • npm run start:game:dev Builds and launches the game server by itself in watch mode
  • npm run start:login Launches the login server by itself without building
  • npm run start:update Launches the update server by itself without building
  • npm run start:infra Launches both the login and update server without building
  • npm run start:standalone Launches all three servers concurrently without building
  • npm run build:watch Builds the application and watches for changes
  • npm run build Builds the application
  • npm run lint Runs the linter against the codebase to look for code style issues

About

RuneJS is a RuneScape game server written in TypeScript and JavaScript. The goal of the project is to create a comprehensive game engine, while also providing simple and easy to use content development systems and APIs.

License:GNU General Public License v3.0


Languages

Language:TypeScript 99.6%Language:JavaScript 0.4%Language:Dockerfile 0.0%