commands.yml(esMX)

## --------------------------------------- ##
## COMMANDS
## --------------------------------------- ##
#
## ACTIONS:
## --------
## BROADCAST: <message>  - Broadcasts the following message to the server
## CONSOLE: <command>  - Executes the command as the console
## PLAYER: <command>  - Executes the command as a player
## OP: <command>  - Executes the command as the console
#
#  this is for private message
#  - "'here your message'"
#
## PATCH:
## ------
## permission: <here your permission>
## nopermission:
## - ""
## cooldown: <here a time for second>
## currentcooldown:
## - ""
## IS OPTIONAL!!!

# This command is with permission!
first_command:
  command: first
  permission: firstcmd.use
  nopermission: 
  - "&6&l------------------------------------"
  - "&cYou need permission &7firstcmd.use &cto access this command"
  - "&6&l------------------------------------"
  actions:
  - "&a------------------------------------"
  - "&athis is the action for the messages"
  - "&a------------------------------------"
  
second_command:
  command: second
  actions:
  - "&a---------------------"
  - "&7This command no require of permission!"  
  - "&a---------------------"
  
# This command is with cooldown!
three_command:
  command: three
  cooldown: 300
  currentcooldown:
  - "&cYou must wait another &e{COOLDOWN} &cbefore using this"
  actions:
  - "&9----------------------------"
  - "&ethis commmand are used each 5 minutes"
  - "&9----------------------------"
  - "CONSOLE: eco give {PLAYER_NAME} 1"

Comments

Posts Quoted:
Reply
Clear All Quotes