Agon
v1.x.x
v1.x.x
  • Introduction
  • Changelog
    • 🟪v1.5.0.0
  • FAQ
    • 🟥Addon Won't Show
    • 🟥Incompatible Addons
    • 🟥Configuring Script
    • 🟥Modified Script
    • 🟥Refunds
    • 🟥Script Errors
    • 🟥Updates
  • ❱ Setup
    • 🟥Install
    • 🟥Database
    • 🟥Workshop
    • 🟥Troubleshooting
      • SQLite Storage Location
      • MySQL SRCDS Error 126
      • MySQL Timeouts
      • MySQL Won't Connect
  • ❱ Configuration
    • 🟥Settings
  • ❱ Development
    • 🟥Hooks
Powered by GitBook
On this page
  1. ❱ Development

Hooks

List of hooks available for

▸ Database

Hooks related to script database module.

Name
Description

agon_db_connect

Called before database connection begins

agon_db_onfailed

Called when DB connection fails for MySQL

agon_db_onconnected

Called after DB connection complete, before update check

agon_db_finished

Called after all db operations finished

agon_db_mysql_heartbeat

MySQL heartbeat

agon_db_tableExists

database table exists

agon_db_tableCreated

database table created

PreviousSettings

Last updated 2 years ago

🟥