mSociety | Boss Menu - Service Menu - Multijob Menu

mSociety
Boss Menu | Service Menu | MultijobMenu

This code replaces ESX_SOCIETY, you don’t have to modify anything, it will simply open the BossMenu of mSociety which contains all the same functions as ESX_SOCIETY.

It also has a bridge that interferes with any event of ESX_SOCIETY in case some code uses it, therefore, you can also use any event of ESX_SOCIETY.

The work of Off-Duty is created automatically in the Database when the code starts/restarts, if you modify it in the configuration the changes will be reflected in the Database when the code starts/restarts “mSociety”.

The Off-Duty Grades are defined individually in the configuration when you add a job, once added it will be created automatically in the database. If you modify the label in the configuration the changes will be applied in the Database when you start/restart the code “mSociety”.

Whenever the code starts it will verify that the values of the configuration (Off Duty Job and Off Duty Grades) correspond in the Database.

Links

ESCROW : https://mono-scripts.tebex.io/package/5685270

OPEN-SOURCE: https://mono-scripts.tebex.io/package/5722121

If you have already purchased mono_society, the upgrade is free.
[ESX] MONO SOCIETY ( Boss Menu - Off Duty - MultijobMenu ) ( Service time count) - #10 by DarkPhoenixV2

Service (Off-Duty)

You can create in the configuration zones where the player can enter or exit service, you can also add zones where if the worker leaves, they will have a time to return, otherwise, they will be out of service.

The Off-duty grade will be created automatically when the code starts, you can define it in the configuration easily.

  • Total worked hours counter.

  • Zone to enter/exit service.

  • (Optional) Boss Menu at the service position.

  • OffDutyJob.

Multijob

Gives the player the option to see their jobs in a menu and be able to exit/enter service and delete the job.

  • Only the jobs in the configuration will be visible in the MultijobMenu.

  • Set the maximum number of jobs a player can have in the menu (Config.lua).

  • Shows the total hours of each job.

  • (Optional) Enter/exit service via MultijobMenu.

  • (Optional) Delete Job (If the job is deleted, the player will no longer belong to the society).

MultiJob Menu Preview

multijobMenu
multijobMenu2

Boss Menu

  • Replaces ESX_SOCIETY 100%.

  • Hire players and assign them a grade.

  • Manage society funds: withdraw/deposit.

  • Manage players (change rank, give extra, expel, reset work hours + worker information).

  • Create/Modify/Delete society grades (job).

Boss Menu Preview

Boss_menu_1
Boss_menu_2
Boss_menu_3

Discord WebHook

Configured in server/discord.lua and each job has its individual webhook.

  • Hire player.

  • Expel player.

  • Withdraw/Deposit money.

  • Modification of grades.

  • Enter/Exit service.

Commands

  • /deljob [source] [jobname] | Deletes a specific player’s job.

Other Things

  • [Work Zone] | Establishes a zone (polyZone) to delimit the work area, if the player leaves, they will automatically be out of service, it also brings an option so that when they leave, a time limit can be set, if they do not meet the time, they will be out of service automatically.

Customizations

  • Modifiable zone type | Default (ox_target, textui, ox_radial).

  • Notifications | Default (ox_lib, esx).

Events and Exports

  • Open BossMenu
exports.mSociety:BossMenu('police')
-- or
TriggerEvent('mSociety:BossMenu', 'police')
-- or using the ESX_SOCIETY event.
TriggerEvent('esx_society:openBossMenu', 'police')
  • Open MultijobMenu
exports.mSociety:BossMenu('police')

|-------------------------------------|----------------------------|
| Code is accessible | yes (OpenSource) / no (Escrow) |
| Subscription-based | no |
| Lines (approximately) | 3000+ |
| Requirements | esx_core - oxmysql - ox_lib - ox_target |
| Support | discord |