FearlessStudios

Installation & Configuration

Install and configure FS-NowOpen

Start with the basic directory. If listings should survive a disconnect, configure both database persistence and what happens when the owner leaves.

Installation

Copy the FS-NowOpen resource folder into your server's resources directory.

If you are using persistence, import fs_nowopen.sql into your database.

Start FS-Lib before FS-NowOpen in server.cfg:

ensure FS-Lib
ensure FS-NowOpen

In configuration/config.lua, review who can list a business and what happens when the owner leaves. Leave phone integration off until the basic directory works.

Restart your server, or restart the FS-NowOpen resource from the server console.

First test: Run /openbusiness, enter the details, and open the business. Use /openbusinessdir to check its location, contact information, and open status. Before relying on long-lived listings, decide what should happen when an owner disconnects.

Requirements

  • FS-Lib

Optional:

  • oxmysql (for persistence)
  • LB Phone (for call and notification integration)

Choose what happens when the owner leaves

Use "delete" for session-only listings, "close" to keep them but mark them closed, or "none" to leave them as they are. For listings that must survive a restart, choose "close" or "none" and set up persistence.

Jump to what you need:

Core settings

Choose who can advertise a business and what happens to a listing when the owner disconnects. If you want to preserve listings, check both the leave action and persistence settings.

Prop

Type

Default notification appearance

The resource uses its own notices by default (Config.DefaultNotifications.Type = "built-in"). Choose "gta" to use the GTA feed instead.

Notices start at "top-right" and stay for 5500 milliseconds. Players can change both under /openbusinesssettings. Leave Config.AcePerms.Admin.Enabled at its default of true to require the admin permission.

LB Phone integration

Already using LB Phone? Turn on the features you want in Config.LB_Phone:

Prop

Type

FS-NowOpen app (LB Phone)

The FS-NowOpenApp is a separate resource you receive alongside FS-NowOpen in the customer portal. Download FS-NowOpenApp, add it to your resources folder, and drag-and-drop the app into LB Phone. Then set Config.LB_Phone.Enable = true.

Download FS-NowOpenApp

Discord webhooks

Set ServerConfig.discordWebhooks.open for opening notices or ServerConfig.discordWebhooks.close for closing notices. Both start empty; fill in only the notices your server uses. Keep the URLs in configuration/server_config.lua, never in the shared config.

Commands

  • /openbusiness opens the business creation UI.
  • /openbusinessdir opens the directory UI.

Exports

See Exports for server and client exports.