Registers the operator command /PlyBan (alias /Ban), which bans a player by name, Steam ID or IP address for a number of minutes, or permanently with a duration of 0.

Summary

Methods

Bans a player; arguments are the name, Steam ID or IP, the duration in minutes and an optional reason.

Methods

COMMAND:OnRun(player, arguments)

shared gamemodes/catwork/gamemode/core/commands/sh_plyban.lua:16

Bans a player; arguments are the name, Steam ID or IP, the duration in minutes and an optional reason.

A duration of 0 bans permanently. Protected players cannot be banned.

Parameters

  • player
  • arguments

Defined in