Tables
Simple
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | Player server id |
name | string | No | Display name |
data | table | No | Extra payload |
Alignment
| Left | Center | Right |
|---|---|---|
| A | B | C |
| 1 | 2 | 3 |
Returns / errors
| Return | Type | When |
|---|---|---|
true | boolean | Success |
false | boolean | Failed validation |
nil | — | Player offline |
API quick reference block
| Export | Side | Description |
|---|---|---|
GetCharacter | Server | Character object |
AddMoney | Server | Add funds |
RemoveItem | Server | Remove inventory item |
Notify | Client | HUD notification |
| Event | Direction | Description |
|---|---|---|
pcore:client:notify | S → C | Show notification |
pcore:server:giveItem | C → S | Request item |
pcore:server:characterLoaded | Internal | Character ready |
