Skip to content

Releases: Lebubble-Scripts/lbs_admin

Permissions Update

01 Jun 22:44

Choose a tag to compare

Full Changelog: v1.0.0-alpha-0.3.1...v1.0.0-alpha-0.3.2

Readme is out of date, needs to be updated

v1.0.0-alpha-0.3.1

10 May 23:20

Choose a tag to compare

v1.0.0-alpha-0.3.1 Pre-release
Pre-release

Moved utils.lua to shared folder to access from Server and Client side to clean up debugging code and use common functions across files easily.

Full Changelog: v1.0.0-alpha-0.3...v1.0.0-alpha-0.3.1

WaveShield Integration!

04 May 00:12

Choose a tag to compare

Pre-release

lbs_admin_react

A basic guide to install the lbs_admin_react resource via Keymaster.

Installation

  1. Place the lbs_admin_react folder into your resources directory:
    /c:/txData/QBCoreFramework_F454F1.base/resources/
    
  2. Run database.sql in your sql environment
    CREATE TABLE IF NOT EXISTS reports (
     	`reporter_id` INT(11) PRIMARY KEY,
     	`reason` VARCHAR(8000),
     	`timestamp` DATETIME DEFAULT CURRENT_TIMESTAMP,
     	`status` VARCHAR(50)
     )
  3. Configure the script in config.lua
    Double check all settings to confirm they align with your server's setup
    
  4. Update Server Image
    Upload your server image to the build/assets/images folder.
    
    Ensure the filename is `BackgroundImage.png` otherwise it will not work. 
    
  5. Ensure lbs_admin_react
    ensure lbs_admin_react
    

Usage

[Commands]

/adminmenu
/reportmenu

[Hotkeys]

F3 - Admin Menu
F10 - Report Menu

Report System

All players have access to use the F10 report menu. This menu allows the player to describe the issue they are having.

Admin will be able to see the reports in their F3 admin menu. From there, admins can teleport to the player to investigate, or close the ticket.

All tickets are stored in the database to ensure they survive server restarts.

Bans

LBS Admin integrates with WaveShield and QBCore bans. Allowing you to see the bans on your server and unban players with ease.

Configuration

Customize the resource by editing config.lua.

-- Set to True to enable debug mode
Config.EnableDebugMode = true

-- Server group required to access admin menu 
Config.AdminGroup = 'admin'

-- Link to your discord for Ban/Kick Messages
Config.DiscordLink = 'https://discord.gg/CUX8hVnswZ'

-- Set Framework Here  
-- qb = qb-core 
-- qbx = QBox
Config.Framework = ''

-- Set Discord Webhook to the channel you want the admin actions to be logged to (recommended this is a private and restricted channel)
Config.DiscordWebhook = ""

--Only set this if you use a supported ban system.
--      What does this mean?
-- Depending on how your server is setup. Bans are handled in different ways. 
-- WaveShield stores bans locally in a json file while QB handles them by using
-- database tables. This will ensure you can view the bans on your server 
-- with the choice of reversing the ban
--------------------------------
-- ws = WaveShield 
-- qb = QBCore 
-- qbx = Qbox
Config.BanProvider = ""

After updating the configuration, restart lbs_admin_react apply the changes.

Discord Support

For further assistance, join our Discord server. Chat with community members, ask questions, and get real-time support on any issues you encounter.

Discord Invite: Join our Discord
animations

Release 2 | Bans and Reports!

01 May 00:06

Choose a tag to compare

Pre-release

lbs_admin_react

A basic guide to install the lbs_admin_react resource via Keymaster.

Installation

  1. Place the lbs_admin_react folder into your resources directory:
    /c:/txData/QBCoreFramework_F454F1.base/resources/
    
  2. Run database.sql in your sql environment
    CREATE TABLE IF NOT EXISTS reports (
     	`reporter_id` INT(11) PRIMARY KEY,
     	`reason` VARCHAR(8000),
     	`timestamp` DATETIME DEFAULT CURRENT_TIMESTAMP,
     	`status` VARCHAR(50)
     )
  3. Configure the script in config.lua
    Double check all settings to confirm they align with your server's setup
    
  4. Update Server Image
    Upload your server image to the build/assets/images folder.
    
    Ensure the filename is `BackgroundImage.png` otherwise it will not work. 
    
  5. Ensure lbs_admin_react
    ensure lbs_admin_react
    

Usage

[Commands]

/adminmenu
/reportmenu

[Hotkeys]

F3 - Admin Menu
F10 - Report Menu

Report System

All players have access to use the F10 report menu. This menu allows the player to describe the issue they are having.

Admin will be able to see the reports in their F3 admin menu. From there, admins can teleport to the player to investigate, or close the ticket.

All tickets are stored in the database to ensure they survive server restarts.

Configuration

Customize the resource by editing config.lua.

-- Set to True to enable debug mode
Config.EnableDebugMode = true

-- Server group required to access admin menu 
Config.AdminGroup = 'admin'

-- Link to your discord for Ban/Kick Messages
Config.DiscordLink = 'https://discord.gg/CUX8hVnswZ'

-- Set Framework Here  
-- qb = qb-core 
-- qbx = QBox
Config.Framework = 'qb'

-- Set Discord Webhook to the channel you want the admin actions to be logged to (recommended this is a private and restricted channel)
Config.DiscordWebhook = ""

--Only set this if you use a supported ban system.
--      What does this mean?
-- Depending on how your server is setup. Bans are handled in different ways. 
-- WaveShield stores bans locally in a json file while QB handles them by using
-- database tables. This will ensure you can view the bans on your server 
-- with the choice of reversing the ban
--------------------------------
-- ws = WaveShield 
-- qb = QBCore 
-- qbx = Qbox
Config.BanProvider = "ws"

After updating the configuration, restart lbs_admin_react apply the changes.

Discord Support

For further assistance, join our Discord server. Chat with community members, ask questions, and get real-time support on any issues you encounter.

Discord Invite: Join our Discord

v1.0.0-alpha-0.1

27 Apr 06:20

Choose a tag to compare

v1.0.0-alpha-0.1 Pre-release
Pre-release

lbs_admin_react

A basic guide to install the lbs_admin_react resource via Keymaster.

Installation

  1. Place the lbs_admin_react folder into your resources directory:
    /c:/txData/QBCoreFramework_F454F1.base/resources/
    
  2. Ensure lbs_admin_react
    ensure lbs_admin_react
    

Usage

[Commands]

/adminmenu
/reportmenu

[Hotkeys]

F3 - Admin Menu
F10 - Report Menu

Report System

We are working on adding a comprehensive report system to the admin menu for quickly dealing with issues in your server. Use the /reportmenu command to preview! Keep your eye out for more updates!

Configuration

Customize the resource by editing config.lua.

-- Set to True to enable debug mode
Config.EnableDebugMode = false

-- Server group required to access admin menu 
Config.AdminGroup = 'admin'

-- Link to your discord for Ban/Kick Messages
Config.DiscordLink = 'https://discord.gg/CUX8hVnswZ'

-- Set Framework Here | qb = qb-core 
Config.Framework = 'qb'

-- Set Discord Webhook to the channel you want the admin actions to be logged to (recommended this is a private and restricted channel)
Config.DiscordWebhook = ""

After updating the configuration, restart lbs_admin_react apply the changes.

Discord Support

For further assistance, join our Discord server. Chat with community members, ask questions, and get real-time support on any issues you encounter.

Discord Invite: Join our Discord

Full Changelog: v1.0.0-alpha...v1.0.0-alpha-0.1

v1.0.0 Alpha Release

20 Apr 22:00
b50cc9c

Choose a tag to compare

v1.0.0 Alpha Release Pre-release
Pre-release

lbs_admin_react

A basic guide to install the lbs_admin_react resource via Keymaster.

Installation

  1. Place the lbs_admin_react folder into your resources directory:
    /c:/txData/QBCoreFramework_F454F1.base/resources/
    
  2. Ensure lbs_admin_react
    ensure lbs_admin_react
    
  3. (optional) Place the lbs_admin_react folder into [standalone]
    /c:/txData/QBCoreFramework_F454F1.base/resources/[standalone]
    

Usage

Once installed, restart your QBCore server. The lbs_admin_react interface should be available according to your project's admin setup.

You can open the menu by using /adminmenu or hitting F3

Configuration

Customize the resource by editing config.lua.

-- Set to True to enable debug mode
Config.EnableDebugMode = false

-- Server group required to access admin menu 
Config.AdminGroup = 'admin'

-- Link to your discord for Ban/Kick Messages
Config.DiscordLink = 'https://discord.gg/CUX8hVnswZ'

-- Set Framework Here | qb = qb-core 
Config.Framework = 'qb'

-- Set Discord Webhook to the channel you want the admin actions to be logged to (recommended this is a private and restricted channel)
Config.DiscordWebhook = ""

After updating the configuration, restart lbs_admin_react apply the changes.

Discord Support

For further assistance, join our Discord server. Chat with community members, ask questions, and get real-time support on any issues you encounter.

Discord Invite: Join our Discord