Dolaji's Scripts
StoreDiscordYoutube
  • Our Scripts
  • Resources
    • calibrate-distributor
    • ds-drilling
    • ds-atmrobbery
    • ds-fruitpicker
    • ds-milkjob
    • ds-cutscene
    • ds-mining
    • ds-electrician
    • weazel-news
  • RedM
    • ID Card
Powered by GitBook
On this page
  • ⚙️ Dependencies
  • 📦 Installation
  • ⚡ Commands
  • 📝 License
  • 🔄 Updates
  • ⚠️ Important Notes
  • Language Configuration
  • 🆘 Support
  1. Resources

weazel-news

A complete FiveM Weazel News system with article management, staff chat, employee roles, analytics, and public news portal. Supports QBCore, ESX, and Qbox.

Previousds-electricianNextID Card

Last updated 1 month ago

| |

⚙️ Dependencies

  • QBCore, ESX, or Qbox framework

  • oxmysql

  • screenshot-basic

📦 Installation

  1. Purchase and Download

    • Extract the resource to your server's resources folder

    • Rename the folder to weazel-news

  2. Database Setup

    -- Import the provided SQL file
     SQL/weazel-news.sql
  3. Server Configuration Add to your server.cfg:

    ensure oxmysql
    ensure screenshot-basic
    ensure weazel-news
  4. Framework Configuration

    • QBCore: Add job to qb-core/shared/jobs.lua

    ['reporter'] = {
       label = 'Weazel News',
       defaultDuty = true,
       grades = {
         ['0'] = { name = 'Reporter', payment = 50 },
         ['1'] = { name = 'Senior Reporter', payment = 75 },
         ['2'] = { name = 'Editor', payment = 100 },
         ['3'] = { name = 'Chief Editor', payment = 125 },
         ['4'] = { name = 'Chief', isboss = true, payment = 125 },
       },
       },
    • ESX: Add job to your jobs database

    INSERT INTO `jobs` (`name`, `label`) VALUES ('reporter', 'Weazel News');
    INSERT INTO `job_grades` (`job_name`, `grade`, `name`, `label`, `salary`, `skin_male`, `skin_female`) VALUES
    ('reporter', 0, 'reporter', 'Reporter', 50, {}, {}),
    ('reporter', 1, 'senior', 'Senior Reporter', 75, {}, {}),
    ('reporter', 2, 'editor', 'Editor', 100, {}, {}),
    ('reporter', 3, 'chief_editor', 'Chief Editor', 125, {}, {}),
    ('reporter', 4, 'boss', 'Chief', 125, {}, {}),
    • Qbox: Add job to qbx_core/shared/jobs.lua

    ['reporter'] = {
       label = 'Weazel News',
       defaultDuty = true,
       offDutyPay = false,
       grades = {
         [0] = { name = 'Reporter', payment = 50 },
         [1] = { name = 'Senior Reporter', payment = 75 },
         [2] = { name = 'Editor', payment = 100 },
         [3] = { name = 'Chief Editor', payment = 125 },
         [4] = { name = 'Chief', isboss = true, payment = 125 },
       },
       },
  5. Discord Webhook

    • Create a webhook in your Discord server

    • Update Config.DiscordWebhook in config.lua

⚡ Commands

  • /weazel - Open MDT (Staff only)

  • /newspaper - Open public news interface (All players)

📝 License

This is a paid resource. Reselling or sharing is strictly prohibited.

🔄 Updates

  • Regular updates and maintenance

  • Bug fixes and security patches

  • Feature requests consideration

  • Framework compatibility updates

⚠️ Important Notes

  • Requires FiveM build 2802 or higher

  • Minimum MySQL version: 5.7

For additional support or custom development, contact us through our Discord.

Language Configuration

The translation files are located in the web/locales directory. To modify translations:

  1. Edit the language files in web/locales (e.g., en.js)

🆘 Support

For support, join our Discord server: []

Discord
View on Tebex
Youtube Video
Discord