A browser-based Old School RuneScape private server with a TypeScript/WebGL client and TypeScript game server.
In game, ::home teleports to the world's configured spawn using the usual teleport restrictions.
::staff shows online staff and their ranks in a scroll. Press Ctrl+; to open ::teleports
or Ctrl+/ to open ::commands while playing; page text fields keep their normal keyboard behavior.
client/— browser client (Forked from xRSPS)server/— game server (Official continuation of our Elvarg fork - Ported to TypeScript)
Install Node.js 22.16 or later first. No separate Yarn or Corepack installation is needed.
From the repository root:
npm run setup
yarn startOpen http://localhost:3000. The first start downloads the game cache automatically.
If setup is interrupted, run npm run setup again.
Running several branches at once, one worktree each on its own ports: see docs/worktrees.md.
Create server/data/definitions/world.local.json with the settings you want to override from
world.json; omitted settings keep their shipped values. This file is gitignored, so local
customizations survive updates without changing tracked files. Restart the server after edits.
Every setting is listed in docs/world-configuration.md.
Two optional local services are Java; neither is needed to run the server.
| Command | What it enables | Setup |
|---|---|---|
yarn bridge |
the in-game Quest Helper panel, from the upstream Java helper | Java 21, then the one-time build in tools/quest-helper-bridge |
yarn gateway |
the official OSRS client through RSProx, playing on this server | runelite-gateway/README.md |
The bridge and server need the same QUEST_HELPER_TOKEN (at least 24 characters) in .env.
Without it, the panel reports that the server token is missing. Tutorial Island and Recipe for
Disaster still work because the server answers those itself. QUEST_HELPER_URL can point the
server at a bridge outside loopback, such as http://quest-helper:16471; it must be an HTTP(S)
URL without credentials, query parameters or a fragment. The default is
http://127.0.0.1:${QUEST_HELPER_PORT:-16471}.
Create a server token at RSPS.app under Settings → Server tokens, then add it to .env in the repository root:
WEBRTC_WORLD_ID=my-world
WEBRTC_WORLD_TOKEN=paste-your-token-hereSet "name": "My World" in server/data/definitions/world.local.json to choose the display name; it defaults to Old School RuneScape. This name is used by the login page, World list, welcome messages and bank title. The list also shows the description (up to 120 characters) and spawn from server/data/definitions/world.json.
Run yarn start. Your world appears in the World list once it registers. Keep the token private.
- Discord — questions, help and development chat
- Progress — how much of OSRS is implemented, by category
- Host a world
We want to thank Astrul/@Lerl, Detuks/@Reinismu, Kraken/@UnhealthyKraken, Vexus/@Bandit-HaxUnit, @xrsps and all the contributors of both the legacy Java project and the TypeScript continuation.
This fan project is not affiliated with Jagex Ltd. Old School RuneScape and related assets and trademarks belong to their respective owners.