Source:Documentation Index
Fetch the complete documentation index at: https://docs.apex-services.site/llms.txt
Use this file to discover all available pages before exploring further.
apex-immigration-tablet/hooks.lua (unencrypted).
Server hooks
Hooks.HasPermission(source)
Hooks.HasPermission(source)
Default — true if the player’s job equals
Config.ImmigrationJob or their group is in Config.AllowedGroups.Hooks.GetPlayerBirthyear(identifier)
Hooks.GetPlayerBirthyear(identifier)
Default —
SELECT dateofbirth FROM users WHERE identifier = ?, parses the year.Hooks.ParseCharacterName(xPlayer)
Hooks.ParseCharacterName(xPlayer)
Default — splits
xPlayer.getName() into first / rest.Hooks.OnPlayerNotify(source, title, message, type)
Hooks.OnPlayerNotify(source, title, message, type)
Default
TriggerClientEvent('apex-immigration-tablet:client:notify', source, ...).Hooks.OnBellNotify(source, ringerName)
Hooks.OnBellNotify(source, ringerName)
Default
TriggerClientEvent('apex-immigration-tablet:client:bellNotify', source, ringerName).Hooks.IsBellNotificationMuted(source)
Hooks.IsBellNotificationMuted(source)
Default
false. Override per-player.Hooks.OnAuditLog(source, action, details)
Hooks.OnAuditLog(source, action, details)
Default
lib.logger.Client hooks
Hooks.ShowClientNotify(title, message, type)
Hooks.ShowClientNotify(title, message, type)
Default
lib.notify.Hooks.ShowHelpText / HideHelpText
Hooks.ShowHelpText / HideHelpText
Default
lib.showTextUI / lib.hideTextUI.Hooks.ShowBellAlert(title, message, durationMs)
Hooks.ShowBellAlert(title, message, durationMs)
Default
lib.notify with type = 'warning'.