CodeRanch - Notice System

Advanced Notice Board System for RedM

This script provides a modern and user-friendly notice board system for RedM servers. Players can create posts in different categories, administrators can manage posts, and the system is supported with Discord integration.

🚀 Features

  • Multi-Framework Support: VORP, RedEM, QBR and Standalone

  • Categorized Posts: Jobs, Wanted, Events, Property, General

  • Image Support: Add images to posts with modal viewing

  • Admin Management: Delete posts, pin/unpin posts

  • Discord Integration: Automatic Discord notifications

  • Payment System: Create posts with money or items

  • Auto Cleanup: Automatically delete expired posts

  • Responsive Design: Mobile-friendly interface

📋 Requirements

  • RedM Server (Beta 1491+)

  • oxmysql (For database connection)

  • Supported Frameworks: VORP, RedEM, QBR or Standalone

🛠️ Installation

1

Download Files

Copy the resource folder to your server's resources folder:

2

Database Setup

Run the SQL install script in your MySQL database:

3

Server.cfg Settings

Add required framework dependencies (only add the ones you use) and the notice script:

4

Configuration

Edit shared/config.lua file according to your server's needs.

⚙️ Configuration

Framework Settings

Post Settings

Admin Settings

Board Locations

Discord Webhook

UI Settings

🎮 Usage

For Players

1

Approach Notice Board

Shown on map with 📌 icon.

2

Open the Notice Board

Press E key to open the notice board.

3

Create Post

Click the "Create Post" button.

4

Fill Information

  • Title (maximum 50 characters)

  • Select category

  • Write content (maximum 1000 characters)

  • Image URL (optional)

5

Submit

Submit the form — your post is published.

For Admins

  • Delete Post: "🗑️ Delete" button in post details

  • Pin/Unpin Post: "📌 Pin/Unpin" button in post details

  • View All Posts: Can view posts in all categories

Image Feature

  • You can add image URLs to posts

  • Click on images to view them in full size

  • Modal window for full-screen viewing

🔧 Advanced Settings

Adding New Board Location

Adding New Category

Language Settings

🐛 Troubleshooting

chevron-rightFramework Not Detectedhashtag
  • Set Config.Framework manually instead of "auto"

  • Make sure your framework is properly loaded

chevron-rightDatabase Connection Errorhashtag
  • Ensure oxmysql is properly installed

  • Check your database credentials

chevron-rightAdmin Permissions Not Workinghashtag
  • Add correct identifiers to Config.Admins list

  • Check Steam ID or License format

chevron-rightDiscord Webhook Not Workinghashtag
  • Make sure webhook URL is correct

  • Check webhook permissions in your Discord server

📊 Database Structure

🔄 Updates

v1.0.0

  • Initial release

  • Basic post system

  • Framework support

  • Discord integration

  • Image support

  • Admin management

📄 License

This script is developed by CodeRanch. Commercial use requires permission.


Note: This script is developed for RedM Beta version. Incompatibilities may occur in RedM's official release.

Last updated