Forgeport connector

Install the connector core and implement its game-server bridge

The Forgeport connector runs inside the game server process and opens an outbound WebSocket connection to Forgeport. It provides live server data and executes the operations implemented by the server's GameBridge.

This page is for L2J sources

This page and Architecture describe the L2J connector core, which runs inside the game server process. An L2Off server running retail binaries has no source to compile a bridge into — its connector is a separate process configured through portal.toml, described in PTS / L2Off servers.

What Forgeport provides

ComponentResponsibility
Connector core JARAuthentication, handshake, heartbeat, reconnects, and protocol messages
minimal-json JARJSON dependency used by the connector core
GameBridge interfaceContract between the connector core and the game server
Documentation examplesComplete aCis and Mobius bridges — the composition class and every helper, printed in full

Forgeport does not provide an aCis or Mobius adapter. The game server administrator or developer owns the bridge implementation, including database queries, live-world operations, password verification, persistence, and grant idempotency.

Supported functions

  • Game-account credential verification
  • Character lists and PvP, PK, and level rankings
  • Item and skill delivery
  • Server status and online-player count
  • Item and skill catalog search
  • Optional account creation
  • Optional character rename, gender change, and unstuck

Forgeport enables a function only when the installed bridge advertises its capability.

Installation

  1. Add the game server in Admin → Game Servers.
  2. Download the connector core and minimal-json JAR files onto the game server's classpath. Requires Java 17 or newer.
  3. Implement GameBridge for the exact game-server revision.
  4. Start the connector with your bridge, and add a shutdown call: PortalConnector.getInstance().start(new MyGameBridge()).
  5. Download portal.properties and place it in config/portal.properties.
  6. Rebuild and start the game server.
  7. Confirm Connected, then run Connector check.

A bridge is a composition class plus roughly ten helper classes — the journal, the grant paths, and the SQL are the bulk of the work. Start with the complete aCis or Mobius example — each prints every class in full. For another source or a modified revision, follow Custom bridge.

On this page