Reference
The manifest, definePlugin and ctx pages are written by hand and tested against @phantomclient/plugin. The SDK, packets and Vue pages are generated from the source when the site builds.
The manifestEvery field of the phantom block in a plugin's package.json.definePluginThe shape of a plugin's entry, and when each part of it runs.ctxWhat a plugin gets: its games, storage, preferences, and network and clipboard access.@phantomclient/plugin/vueThe components and composables a plugin's screens are built from.The CLIphantom-plugin runs, builds, checks, packs and publishes.
The game
The SDKEvery area and every call, with its parameters, types and permission.PacketsThe messages the game and the server send, field by field.
The guides start at Working with the game.