Script Description 
This script provides a comprehensive logging system that enables continuous monitoring of administrative activities performed by staff members on the server. When using the /clock in command to enter staff mode, the corresponding time is documented, and a detailed notification is sent to a Discord channel through a webhook. Similarly, upon exiting staff mode using the /clock out command, a notification is generated that is reflected both in the FiveM chat and the Discord channel.
The Discord notification furnishes essential information, including the user ID, name, timestamps for staff mode activation and deactivation, as well as the total duration during which staff mode was active
. This meticulous and automated approach provides an effective means to maintain a detailed record of administrative interactions.
![]()
![]()

Discord Webhooks Configuration 
- Open the Script in Your Preferred Text Editor:
- Replace the Webhook Variables:
- Locate the variables
discordWebhookInanddiscordWebhookOut. - Replace them with the corresponding URLs of your Discord webhooks.
- Locate the variables
FiveM Licenses Configuration 
-
Locate the List of Licenses:
- Find the list
allowedLicensesin the script.
- Find the list
-
Update the Licenses:
- Replace the example licenses with the actual licenses of authorized users.
- Replace the example licenses with the actual licenses of authorized users.
| Code is accessible | Yes |
| Subscription-based | No |
| Lines (approximately) | +107 |
| Requirements | No |
| Support | Yes |