Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # InTime
- # Timebased plugin disabling
- # by HomerBond005
- #
- # HowTo configure this: (example)
- # plugins:
- # (yourplugin):
- # type: enable/disable
- # times:
- # - (starttime)-(endtime)
- # - (anotherStartTime)-(anotherEndTime)
- # samplePlugin:
- # type: enable
- # times:
- # - 9:00-15:30
- #
- # ---enable/disable---:
- # only one these is possible!
- # enable -> plugin is disabled and will be enabled between the times
- # disable -> plugin is enabled and will be disabled between the times
- plugins:
- samplePlugin:
- type: disable
- times:
- - 9:00-15:30
- anotherPlugin:
- type: enable
- times:
- - 9:30-14:00
- - 23:50-13:00
- commands:
- newday:
- command: say
- arguments: 'A new day starts....'
- time: '6:01'
- sunrise:
- commands: say
- arguments: A new day is rising soon....
- time: '5:31'
- nighttime:
- command: say
- arguments: It is now night time. Don't stay out too long!
- time: '23:01'
- sunset:
- command: say
- arguments: The sun is setting, you should find a cover....
- time: '19:01'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement