Skip to content
RaidMax edited this page Jul 5, 2020 · 8 revisions

Description

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.

Types

PenaltyCreated

/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) --

PenaltyRevoked

/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 --

TrustFactorChanged

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

Clone this wiki locally