🔔Notifications or actions

With Wfly, you can execute console commands on time remaining

message.yml

commands-time-remaining:
  0: #in seconds
    commands: 'title %player% title {"text":"You have 0 seconds fly left!","bold":true,"color":"gold"}'
  1:
    commands: 'title %player% title {"text":"You have 1 seconds fly left!","bold":true,"color":"gold"}'
  2:
    commands: 'title %player% title {"text":"You have 2 seconds fly left!","bold":true,"color":"gold"}'
  3: # when player have 3 seconds left, it's will execute commands below
    commands: 'title %player% title {"text":"You have 3 seconds fly left!","bold":true,"color":"gold"}'
  5:
    commands: 'title %player% title {"text":"You have 5 seconds fly left!","bold":true,"color":"gold"}'

OR

commands-time-remaining:
   '0':
    actions:
      - type: MESSAGE
        commands: "&cYour fly has been disabled!"
      - type: MESSAGE
        commands: "&cYour fly has been disabled!"
  '1':
    commands: "&6You have 1 second fly left!"  
    type: ACTIONBAR

Type available:

  • TITLE , SUBTITLE( MC >> 1.11)

  • MESSAGE

  • COMMAND

  • ACTIONBARc

Last updated