System Configuration Events
These events track changes to system-wide configuration including geographic settings, skins, player levels, and currencies.
onCountryInfoChanged
Triggered when country information is updated in the system.
When it fires:
- Country settings modified in Backoffice
- Country enabled/disabled for registration or login
| Field | Type | Description |
|---|---|---|
i | integer | Country ID |
s | string | Country ISO code (2-letter) |
n | string | Country name |
f | string | Phone number format (e.g., +...(...)......) |
d | integer | Dial code |
c | string | Main currency ISO code |
r | boolean | Registration enabled |
l | boolean | Login enabled |
m | integer | Minimum age to play |
Example:
{
"params": {
"country": {
"i": 9,
"s": "AO",
"n": "Angola",
"f": "+...(...)......",
"d": 244,
"c": "AOA",
"r": true,
"l": false,
"m": 19
}
}
}
onStateInfoChanged
Triggered when state/region information is updated in the system.
When it fires:
- State/region settings modified in Backoffice
- State enabled/disabled for registration or login
| Field | Type | Description |
|---|---|---|
i | integer | State ID |
cdi | integer | State code ID |
cni | integer | Parent country ID |
nf | string | Full state name |
ns | string | State abbreviation |
r | boolean | Registration enabled |
l | boolean | Login enabled |
m | integer | Minimum age to play |
Example:
{
"params": {
"state": {
"i": 15,
"cdi": 18654,
"cni": 1,
"nf": "Oregon",
"ns": "OR",
"r": true,
"l": true,
"m": 18
}
}
}
onSkinInfoChanged
Triggered when skin (brand) information is updated in the system.
When it fires:
- Skin settings modified in Backoffice
- Skin enabled/disabled
- External login configuration changed
| Field | Type | Description |
|---|---|---|
id | integer | Skin ID |
k | string | Skin key |
n | string | Skin name |
f | integer | Bit flags (see below) |
Skin Flags
| Bit | Value | Flag | Description |
|---|---|---|---|
| 0 | 1 | UseExternalLogin | Skin uses external authentication |
| 1 | 2 | Enabled | Skin is active |
Example:
{
"params": {
"skin": {
"id": 7,
"k": "tmp1",
"n": "tmp1",
"f": 2
}
}
}
Flags are combined using bitwise OR. For example, f: 3 means both UseExternalLogin (1) and Enabled (2) are set.
onPlayerLevelInfoChanged
Triggered when player level information is updated in the system.
When it fires:
- Player level settings modified in Backoffice
- Level thresholds or permissions changed
| Field | Type | Description |
|---|---|---|
i | integer | Player level ID |
o | integer | Order/sequence number |
n | string | Level name |
f | integer | Bit flags (see below) |
m | integer | Minimum cash amount to reach level |
Player Level Flags
| Bit | Value | Flag | Description |
|---|---|---|---|
| 0 | 1 | AllowUseChat | Player can use chat |
| 1 | 2 | AllowChangeChatColor | Player can change chat color |
| 2 | 4 | AllowChangeAvatar | Player can change avatar |
Example:
{
"params": {
"playerLevel": {
"i": 6,
"o": 7,
"n": "VIP5",
"f": 7,
"m": 1400001
}
}
}
f: 7 means all three flags are set (1 + 2 + 4 = 7): chat, chat color, and avatar permissions.
onCurrencyInfoChanged
Triggered when currency information is updated in the system.
When it fires:
- Currency settings modified in Backoffice
- Currency enabled/disabled
- Formatting or precision changed
| Field | Type | Description |
|---|---|---|
id | integer | Currency ID |
a | string | Currency alias (internal identifier) |
mt | integer | Money type code |
n | string | Currency name |
o | string | Currency ISO code |
fn | string | Full currency name |
f | integer | Bit flags |
d | string | Activation date |
p | integer | Internal precision (decimal places) |
c | integer | Display precision |
ep | integer | External precision |
r | integer | Rounding type |
m | string | Display format (e.g., $$$%1) |
g | integer | Digit grouping type |
s | string | Decimal separator |
u | string | Digit group separator |
t | integer | Currency type |
Digit Grouping Types
| Code | Type | Example |
|---|---|---|
| 95 | None | 1234567 |
| 65 | Group_every_3 | 1 234 567 |
| 66 | Group_once_3 | 1234 567 |
| 67 | Group_once_3_every_2 | 12 34 567 |
Currency Types
| Code | Type |
|---|---|
| 0 | Universal |
| 1 | Fiat |
| 2 | Crypto |
| 3 | PlayMoney |
| 4 | Web3 |
Example:
{
"params": {
"currency": {
"id": 17,
"a": "mt.money-17",
"mt": 80,
"n": "PlayMMM",
"o": "PLAY",
"fn": "Play_Money",
"f": 3198071,
"d": "2024-03-06 08:51:19",
"p": 2,
"c": 2,
"ep": 2,
"r": 0,
"m": "$$$%1",
"g": 66,
"s": ".",
"u": " ",
"t": 3
}
}
}
Related Events
- Player & Session Events — For player-level changes affecting individual users
- Currency Codes Reference — Currency code mappings