REC_BusinessManager
Installation
Installation, configuration, and usage for REC_BusinessManager.
- Added
- Updated
Download the dependencies
Download main resource
Place the REC_BusinessManager folder from your distribution inside the server’s resources directory.
Import the SQL files
Tables are created at startup, so manual setup is optional. The SQL shipped with the resource is shown below.
rec_businessmanager_claude.sql
CREATE TABLE IF NOT EXISTS `rec_businessmanager_claude` (
`uid` VARCHAR(32) NOT NULL,
`citizenId` VARCHAR(64) NOT NULL,
`ownerName` VARCHAR(64) NOT NULL DEFAULT '',
`name` VARCHAR(64) NOT NULL DEFAULT '',
`description` TEXT NULL,
`status` VARCHAR(16) NOT NULL DEFAULT 'draft',
`blueprint` LONGTEXT NULL,
`pending` LONGTEXT NULL,
`reviewer` VARCHAR(64) NULL,
`reviewNote` TEXT NULL,
`createdAt` BIGINT NOT NULL DEFAULT 0,
`updatedAt` BIGINT NOT NULL DEFAULT 0,
`submittedAt` BIGINT NULL,
`reviewedAt` BIGINT NULL,
PRIMARY KEY (`uid`),
KEY `idx_rec_bm_claude_citizenid` (`citizenId`),
KEY `idx_rec_bm_claude_status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE IF NOT EXISTS `rec_businessmanager_claude_comments` (
`id` INT NOT NULL AUTO_INCREMENT,
`uid` VARCHAR(32) NOT NULL,
`anchor` VARCHAR(64) NOT NULL DEFAULT 'general',
`authorType` VARCHAR(16) NOT NULL DEFAULT 'staff',
`author` VARCHAR(64) NOT NULL DEFAULT '',
`body` TEXT NOT NULL,
`createdAt` BIGINT NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
KEY `idx_rec_bm_claude_comments_uid` (`uid`, `anchor`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
Check the web build
The resource needs web/build/index.html and its assets.
If they are missing from the distribution or you change the UI source, install dependencies in web and run its package.json build script.
Copy and paste this on your server.cfg
ensure REC_BusinessManager
Start the dependencies before this resource.
Done
enjoy it !
The current fxmanifest.lua also declares REC_WorldManager as a dependency. Install and start it before this resource.
