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.
| Capability | Forgeport function | Source |
|---|---|---|
VERIFY_GAME_CREDENTIALS | Linking a game account to a master account | Database |
CREATE_GAME_ACCOUNT | Self-service account creation | Database |
GET_SERVER_STATUS | Connector status | Connection |
GET_ONLINE_COUNT | Online-player count | Live world |
LIST_ACCOUNT_CHARACTERS | Player characters | Database |
LIST_RANKINGS | PvP / PK / level leaderboards | Database |
SEARCH_GAME_CATALOG | Item selector | Loaded item data |
SEARCH_SKILL_CATALOG | Skill selector | Loaded skill data |
DELIVER_GRANT | Item and skill delivery | Live world + database journal |
CHARACTER_SERVICES | Rename and gender change | Live world + database journal |
PLAYER_ONLINE_EVENT | Reserved; unavailable in protocol v1 | — |
UNSTUCK_CHARACTER | Offline-character unstuck | Database |
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"
};
}