AutoConsoleCommand documentation page

AutoConsoleCommand executes console commands defined at config.
It has 2 modes.
Mode 1:
Broadcast a list of commands at a defined time
Mode 2:
Broadcast a list of commands at a defined interval

Config values: (config.yml)

consolecommand:
  timemode: 
    enabled: true #enable command executing at a defined time
    times: {} #list of times at which commands will be executed and commands for them (see example at the end of page)
  intervalmode:
    enabled: true #enable command executing at a defined interval
    intervals: {} #list of intervals (in seconds) at which commands will be executed and commands for them (see example at the end of page)

timesmode example

  timemode:
    enabled: true
    times:
      '14:31':
      - say time is 14:31
      - wg reload
      - say kill all those mobs
      - butcher
      '00:00':
      - say time is 00:00
      - say good night

intervalmode example

  intervalmode:
    enabled: true
    intervals:
      '10':
      - say this message is broadcasted every 10 seconds
      '3600':
      - say removing drop
      - remove drop -1

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes