Custom Commands
# A simple "broadcast" command for broadcasting the text argument.
# This is accessible only to users with the "skript.example.broadcast" permission.
command /broadcast <text>:
permission: skript.example.broadcast
description: Broadcasts a message to everyone including console.
trigger:
broadcast arg-textCommand Pattern
command /<command name> <arguments>:
prefix: # command prefix, defaults to "skript"
aliases: # alternate command names
executable by: # players or console
usage: # the message that explains how to use the command
description: # the command's description
permission: # the permission needed to use the command
permission message: # the message sent to users without the correct permissions
cooldown: # a timespan, during which the command can't be used again
cooldown message: # the message sent when the command is used again too fast
cooldown bypass: # the permission necessary to bypass the cooldown
cooldown storage: # what variable to store the cooldown in
trigger:
# The code to run goes here.Command Name
Arguments
Prefix
Aliases
Executable by
Description
Permission
Cooldowns
The Trigger Section
Last updated