Python Server Triggers

The following triggers are available in the server script:

            
# OnStart is called when the Server starts
def OnStart():
    return

# OnStop is called when the Server stops
def OnStop():
    return

# OnClientConnect is called when a client connects.  Return a warning string to prevent
def OnClientConnect(user,client,ipaddress):
    return

# OnEveryMinute is called every minute and can be used for schedule items
def OnEveryMinute(hour,minute):
    return

# OnEveryQuarterHour is called every 15 minutes and can be used for schedule items
def OnEveryQuarterHour(hour,minute):
    return

# OnEveryHour is called every hour and can be used for schedule items
def OnEveryHour(hour):
    return