docsFunctionsCooldownZserverCooldown

ZserverCooldown

Applies a server-wide cooldown that prevents anyone in the server from running the command until the duration expires.

Syntax

ZserverCooldown{duration;errorMessage?}

Arguments

NameTypeRequiredDefault
durationdurationYes-
errorMessagestringNo-

Example

ZserverCooldown{10m;This command is on cooldown!}