Skip to main content
This example registers a custom player provider and a client interaction provider. Add only the domains your server owns.

Directory

Manifest

Start it after HumaLike:

Server provider

Do not cache a player object across callbacks. Resolve the active character from source each time so reconnects and character switches are handled correctly.

Client interaction provider

Each option contains text, optional icon, canInteract(entity), and onSelect(entity). Preserve those callbacks when adapting the option to your target system.

Select and verify

Run humalike_status in both the server and client consoles. Both domains should show selected, the expected provider name, and the bridge as owner. See Provider API for every descriptor and return value.

Next