'Called every server start'

def run_init_hooks(self):

    from evennia.objects.models import ObjectDB
    self.update_defaults()
    [o.at_init() for o in ObjectDB.get_all_cached_instances()]
    [p.at_init() for p in PlayerDB.get_all_cached_instances()]
    mode = self.getset_restart_mode()
    if (mode == 'reload'):
        self.at_server_reload_start()
    elif (mode == 'reset'):
        self.at_server_cold_start()
    elif (mode in ('reset', 'shutdown')):
        self.at_server_cold_start()
        ObjectDB.objects.clear_all_sessids()
    self.at_server_start()
