TeamTalk 5 C-API DLL Version 5.19A

Public Attributes | List of all members
AbusePrevention Struct Reference
Server Administration

Properties to prevent server abuse. More...

`#include <TeamTalk.h>`

## Public Attributes

INT32 | nCommandsLimit
| Limit number of commands a user can send to the server. More...
INT32 | nCommandsIntervalMSec
| Commands within given interval. More...

## Detailed Description

Properties to prevent server abuse.

The AbusePrevention-struct is part of UserAccount and can be used to limit the number of commands a user can issue to the server.

Requires TeamTalk version 5.2.3.4896.

Definition at line 1988 of file TeamTalk.h.

## Member Data Documentation

## ◆ nCommandsLimit

INT32 AbusePrevention::nCommandsLimit

Limit number of commands a user can send to the server.

This can be used to prevent flooding where a user is sending several hundred text messages to another user.

Values set like this: User can issue `nCommandsLimit` commands within duration `nCommandsIntervalMSec`. Put zeros to disable.

See also
  CMDERR_COMMAND_FLOOD

Definition at line 1999 of file TeamTalk.h.

## ◆ nCommandsIntervalMSec

INT32 AbusePrevention::nCommandsIntervalMSec

Commands within given interval.

Definition at line 2001 of file TeamTalk.h.