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!
- Download and install NodeJS version 14 or higher: https://nodejs.org/en/
- Clone the Github Repo: https://github.com/rune-js/server
- Install dependencies by navigating to the project in your Terminal or command prompt and running the command npm install
- Copy the
data/config/server-config.example.yamland paste it into the same folder using the nameserver-config.yaml - Go into your new
server-config.yamlfile 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
- Run the game server with
npm start
The game server will spin up and be accessible via port 43594.
The RuneScape Java Client #435 must be used to log into a RuneJS game server.
npm run start:gameLaunches the game server by itself without buildingnpm run start:game:devBuilds and launches the game server by itself in watch modenpm run start:loginLaunches the login server by itself without buildingnpm run start:updateLaunches the update server by itself without buildingnpm run start:infraLaunches both the login and update server without buildingnpm run start:standaloneLaunches all three servers concurrently without buildingnpm run build:watchBuilds the application and watches for changesnpm run buildBuilds the applicationnpm run lintRuns the linter against the codebase to look for code style issues

