REGISTER CALL DISPATCH WRITE on_startup console input script call scheduled tick client command gsc scheduler plugin_impl callbacks logging engine event console output game thread exec