# Notifications or actions

With Wfly, you can execute console commands on time remaining

**message.yml**

```yaml
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 &#x20;

```yaml
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:&#x20;

* TITLE , SUBTITLE( MC >> 1.11)
* MESSAGE
* COMMAND
* ACTIONBAR\ <br>
