Skip to content

CheatReport beta ​

Interface of @v12-engine/engine/server

ts
export interface CheatReport

A player whose client sent what an honest one never does (GameServerOptions.onCheat)

Members ​

address ​

ts
address?: string;

The address they connect from

kind ​

ts
kind: RejectedKind;

Why it was turned away (commandRejected's kind), in words (its reason), and the command's type when it is known

reason ​

ts
reason: string;

Why it was turned away, in words

recent ​

ts
recent: number;

How many there were within cheating.seconds, this one with them, and in the whole game

seat ​

ts
seat: ServerSeat;

The seat of the player who sent it

total ​

ts
total: number;

How many there were in the whole game

type ​

ts
type?: string;

The type of the command that was turned away, when it is known