Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

lnd society for FiveM: ESX/OX Lib Notes

By Luke

FiveM society script
On this page

lnd-society by actuallylnd converts ESX Society to ox_lib menus and notifications. The current README calls it a prerelease and says the author could not check every feature. The manifest reports version 1.0. The code was uploaded in September 2024, later commits only changed the README, and the repository does not state a license.

Requirements

  • es_extended
  • ox_lib
  • oxmysql
  • cron, which runs the money wash payout at 03:00 through cron:runAt
  • esx_addonaccount

What stays compatible

The server keeps the original event and callback names, for example esx_society:openBossMenu, esx_society:registerSociety, esx_society:getSocietyMoney and esx_society:setJobSalary, so job scripts that use those names keep calling it. It also registers the exports GetSociety and registerSociety. Exports belong to the resource name, so test any script that calls exports.esx_society if the folder is named lnd-society. Hiring, promotions, firing, withdrawals, deposits and money washing can be logged to Discord.

A boss menu with its own interface is a different approach: the Advanced Boss Menu for ESX and QBCore manages employees, ranks and company funds and writes every action to a log.

Installation

  1. Back up your database and the current esx_society folder.
  2. Open lnd_society.sql: it starts with USE `es_extended`;, so change that to your database name before importing. It creates the society_moneywash table.
  3. Remove esx_society from server.cfg so the events are not registered twice.
  4. Copy the resource into your resources folder and ensure it after es_extended, ox_lib, oxmysql, cron and esx_addonaccount.

Configuration

Config.BossGrades lists grade names, not grade numbers, that get boss rights; only boss is enabled by default. Config.MaxSalary caps the salary a boss can set, Config.Webhook takes the Discord URL for logs and Config.EnableESXIdentity shows character names in the employee list. Config.Notification and Config.NotificationServer use ox_lib notifications and contain commented ESX alternatives.

Setup and checks

Review Config.BossGrades, Config.MaxSalary and Config.Webhook before replacing your society resource. Test boss and ordinary employee accounts separately, including hiring, promotion, a salary above Config.MaxSalary and society transactions. Check that money handed to the wash is paid out after the 03:00 cron run. Keep the previous resource and database backup available; the author explicitly says not every feature has been tested.

Sources

Original source

Related server guide

  • Ksp-AutoRepairs for FiveM

    Ksp-AutoRepairs for FiveM

    Check Ksp-AutoRepairs for QBCore: PolyZone imports, bank charges, cancellation behavior, location checks and installation requirements.

  • Pharmacy MLO for FiveM

    Pharmacy MLO for FiveM

    Install Moreo’s Pharmacy MLO at the supplied coordinates. Check the exact resource, duplicate model filenames and separate pharmacy gameplay requirements.