Read first: running your first UOJS shard

DrBoon

Administrator
Staff member
Nov 26, 2026
15
0
1
This is the short way from nothing to logging in to your own shard. Ask anything it leaves unclear in a thread of your own in this forum.

What you need
  • Node.js 22.18 or newer. UOJS runs its TypeScript as it is: there is nothing to build.
  • An Ultima Online client, installed. The server reads the maps from its files, and players need the same files.

Starting it
In the UOJS folder:
Code:
npm install
npm run dev
The shard listens on 127.0.0.1, port 2593.

The admin panel and its first setup
Put "adminPort": 2594 in server/uojs.config.json, restart, and open http://127.0.0.1:2594. A new shard has no admin: as it starts it writes a code in its log. Enter that code on the panel with the account that is to be the admin.

The panel then walks you through the first setup, a page at a time: the shard's name, its era, your UO client folder, who may connect, filling the world, and your staff.

Connecting a client
  • ClassicUO: in its settings.json set the ip to 127.0.0.1 and the port to 2593.
  • The official client: point login.cfg at it with LoginServer=127.0.0.1,2593. Every version is taken, encryption and all.

Before you open it to the world
By default a name nobody has used makes a new account. Turn that off ("Create accounts on first login" on the panel) before strangers can reach your shard.

If you would rather not run a server yourself, a shard can be hosted for you here: see the Shard Hosting section.