πŸ“‹Noticeboard

A lightweight noticeboard system for RedM designed to work with VORP. This page walks you through first setup, translations, and moderation.


⚑ First Start

Place noticeboards

Edit config.lua and define your board locations inside Config.Boards. Each board entry contains coordinates and optional blip settings:

  • x, y, z β†’ world position of the board.

  • createBlips β†’ show or hide a map blip for this board.

  • blipsName β†’ the blip name.

  • blipsSprite β†’ the blip icon (joaat hash).

  • jobLock β†’ optional comma-separated list of jobs allowed to post on this board

  • staffLock β†’ optional boolean to restrict posting to admin groups only

Boards with the same ID (e.g : "boards-public") share the same set of announcements.

Prepare translations

In config.lua, two areas can be customized:

  • UI texts in Config.Txt.

  • UI language in Config.NUILang (supported: fr, en, de, it, es, pt).


🧩 Configuration

In config.lua, you will find the main settings:


🌍 UI Localization

  • Config.NUILang selects the language used by the NUI.

  • Config.Txt holds the text displayed to players.


πŸ”’ Moderation & Admin Rights

  • Player rules

    • By default, each player can only have one active announcement at a time.

    • Announcements are automatically removed after Config.ExpireDays.

  • Board posting restrictions

    You can optionally restrict who is allowed to post on specific boards:

    • jobLock = "sheriff, gouv" β†’ only these jobs can post

    • staffLock = true β†’ only admin groups from Config.AdminsGroup can post

    • Admin groups always override jobLock

    These restrictions only affect posting. Everyone can still open and read the board.

  • Admin privileges

    • Admins are defined in Config.AdminsGroup.

    • These groups can:

      • Create unlimited announcements.

      • Delete any player’s announcement instantly.

  • Discord logging

    • Every publish or removal can be logged via Config.DiscordWebHook.

    • Webhook messages are sent as embeds, with the name defined in Config.DiscordName.


βœ… Quick Checklist

  • Boards configured in Config.Boards.

  • Translations updated in Config.Txt.

  • Config.NUILang set to the desired language.

  • Discord webhook configured if you want logs.

  • Admin groups set correctly in Config.AdminsGroup.

You’re ready to launch the script and start posting announcements on your noticeboards.

Last updated