-
Notifications
You must be signed in to change notification settings - Fork 1
Events
RaidMax edited this page Jul 5, 2020
·
8 revisions
Events are fired off by IW4MAdmin instances and consumed by the master.
This event data is used to feed the global ban system as well as determine trust factor for clients.
/event/penalty POST
Indicates a new penalty has been created for a client
| Name | Description | Type | Note |
|---|---|---|---|
| ClientNetworkId | Unique identifier of the client | Long | -- |
| Name | Name of the client | String | -- |
| IPAddress | IP Address of the client | String | -- |
| Type | Type of penalty | String | -- |
| Game | Name of game for penalty | String | -- |
| InstanceGuid | GUID of the origin instance | GUID | -- |
| Reason | Reason for the penalty | String | -- |
| ActivatedAt | Date/Time the penalty occurred | DateTime | -- |
| Meta | Additional meta about the penalty | Dictionary(String, String) | -- |
/event/penalty DELETE
Indicates a previously created penalty has been revoked and is no longer valid
| Name | Description | Type | Note |
|---|---|---|---|
| ClientNetworkId | Unique identifier of the client | Long | -- |
| InstanceGuid | GUID of the origin instance | GUID | -- |
Indicates a client's trust factor has increased by 1 point
| Name | Description | Type | Note |
|---|---|---|---|
| ClientNetworkId | Unique identifier of the client | Long | -- |
| InstanceGuid | GUID of the origin instance | GUID | -- |
| Amount | Amount to increase the trust-factor by | Decimal | -- |
Corresponding Endpoint — todo