Hooks
Hooks provided by the Development Server module for managing development server access.
Overview
The Development Server module adds a development server mode for testing, the ability to run special development functions, a toggle via configuration, an environment flag for dev commands, and logging of executed dev actions.. It provides comprehensive hook integration for customizing managing development server access and extending functionality.
DevServerAuthorized
đ Purpose
Called when a player is authorized to join the development server.
â° When Called
During password check when the player's SteamID64 is in the authorized developers list.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
steamid64 |
string | The SteamID64 of the authorized player |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Development Server module adds a development server mode for testing, the ability to run special development functions, a toggle via configuration, an environment flag for dev commands, and logging of executed dev actions.. It provides comprehensive hook integration for customizing managing development server access and extending functionality.
DevServerModeActivated
đ Purpose
Called when development server mode is activated.
â° When Called
When the module initializes and the DevServer config is set to true.
âī¸ Parameters
None
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Development Server module adds a development server mode for testing, the ability to run special development functions, a toggle via configuration, an environment flag for dev commands, and logging of executed dev actions.. It provides comprehensive hook integration for customizing managing development server access and extending functionality.
DevServerModeDeactivated
đ Purpose
Called when development server mode is deactivated.
â° When Called
When the module initializes and the DevServer config is set to false.
âī¸ Parameters
None
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Development Server module adds a development server mode for testing, the ability to run special development functions, a toggle via configuration, an environment flag for dev commands, and logging of executed dev actions.. It provides comprehensive hook integration for customizing managing development server access and extending functionality.
DevServerUnauthorized
đ Purpose
Called when a player attempts to join but is not authorized for the development server.
â° When Called
During password check when the player's SteamID64 is not in the authorized developers list and DevServer is enabled.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
steamid64 |
string | The SteamID64 of the unauthorized player |
âŠī¸ Returns
nil
đ Realm
Server