CommandPunishments

API reference for CommandPunishments in @erlcjs/presets.

Provides punishment actions for banned commands.

Signature:

declare class CommandPunishments

#Methods

Method

Modifiers

Description

ban()

static

Removes permissions and bans the player.

kick()

static

Removes permissions and kicks the player.

removePermissions()

static

Removes admin/mod permissions from the player.