Code Monkey home page Code Monkey logo

server's Introduction

RuneJS Discord Server

RuneJS

RuneJS Game Server

RuneJS is a RuneScape game server written in 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 game server currently runs a build of RuneScape from October 30th-31st, 2006 (game build #435). No other builds are supported at this time, but may become available in the future.

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 16 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 config/server-config.example.json and paste it into the same folder using the name server-config.json
  5. Optional: Go into the new server-config.json file and modify the RSA modulus and exponent with the ones matching your desired 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.json and paste it into the same folder using the name server-config.json
  3. Go into your new server-config.json 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 game Launches the game server by itself without building
  • npm run game:dev Builds and launches the game server by itself in watch mode
  • npm run login Launches the login server by itself without building
  • npm run update Launches the update server by itself without building
  • npm run infra Launches both the login and update server without building
  • npm run 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

server's People

Contributors

theblackparade avatar tynarus avatar promises avatar nicknick-io avatar schauwem avatar hallowatcher avatar hc747 avatar willughandled avatar twistt avatar katilith avatar dependabot[bot] avatar redsparr0w avatar clementop avatar dennismartinez avatar markbmullins avatar shadowzauu avatar muxeproject avatar ryanpannell avatar displee avatar openrs2gpe avatar heraticassassin avatar justjay-dev avatar src52 avatar

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.