[FREE] | [ESX] | JL_Duty | On/Off Duty |

Introducing ESX On/Off Duty script with ox_target integration. Seamlessly switch between on/off duty while enjoying handy discord log with Job Label, RolePlay name and Job Grade. It’s straightforward and easy to use.

Preview

Logs
Logs

Download (GitHub)

1 Like

You shouldnt make the webhook accessible from the client side other wise cheaters can get them.

1 Like

But I put webhooks on the server side, or did I miss something?

Config.DiscordLogs = {
enabled = true,
DiscordWebhook = ‘’
}
This is what he Mean, make this just in the server.lua or create a sv_config.lua

Otherwise Cheater can see the Discordwebhook Link and use it for Dangerous things.

Ohh, you’re right, thank you

Update 1.0.1

  • Moved webhook link to server.lua
  • Edited description


get this error when trying to go offduty, although it works when i set my job as offduty and then try to get on duty

is there a way to change the notifications to ox_lib like
lib.notify({ title = ‘’, description = message, type = type})

and webhooks not working