Capabilities

Capabilities

Protocol capabilities and their GameBridge requirements

The handshake advertises the functions implemented by the installed bridge. Forgeport uses this list to enable connector-dependent features and checks.

CapabilityForgeport functionSource
VERIFY_GAME_CREDENTIALSLinking a game account to a master accountDatabase
CREATE_GAME_ACCOUNTSelf-service account creationDatabase
GET_SERVER_STATUSConnector statusConnection
GET_ONLINE_COUNTOnline-player countLive world
LIST_ACCOUNT_CHARACTERSPlayer charactersDatabase
LIST_RANKINGSPvP / PK / level leaderboardsDatabase
SEARCH_GAME_CATALOGItem selectorLoaded item data
SEARCH_SKILL_CATALOGSkill selectorLoaded skill data
DELIVER_GRANTItem and skill deliveryLive world + database journal
CHARACTER_SERVICESRename and gender changeLive world + database journal
PLAYER_ONLINE_EVENTReserved; unavailable in protocol v1
UNSTUCK_CHARACTEROffline-character unstuckDatabase

For database-only methods, the bridge may query through the pack's existing connection pool. Live-world methods must run in the game server process.

Advertise only completed capabilities:

@Override
public String[] capabilities()
{
	return new String[]
	{
		"GET_SERVER_STATUS",
		"GET_ONLINE_COUNT",
		"LIST_ACCOUNT_CHARACTERS"
	};
}