CAS Notification: Clean Notify System for RedM Servers

CAS Notification is a RedM notification script that replaces plain text popups with RDR2-styled success, error, and info alerts. The NUI frontend is built in React and TypeScript, and the Lua side is standalone, so it runs on VORP Core, RSG Core, or no framework at all. You trigger notifications through exports or a client event, set per-alert titles, timeouts, sound, alignment, and sticky behavior, and it keeps up to four notifications stacked on screen at once.

Features and Capabilities

  • Three notification skins out of the box: success, error, and info, each with its own RDR2-styled container and texture
  • Standalone Lua client with no server-side logic, so it drops into VORP Core, RSG Core, or a frameworkless server unchanged
  • Per-notification control over title, message, timeout, sound on/off, and sound volume (default 0.1)
  • Sticky notifications that stay until dismissed, plus optional progress bar and click-to-dismiss toggles
  • Configurable left or right alignment and top or bottom stacking, set globally or overridden per alert
  • Concurrency limiting keeps a maximum of four notifications on screen at once to avoid clutter
  • Trigger from any resource via exports (addNotification, successNotification, errorNotification, infoNotification) or the cas-notification:client:addNotification event
  • Built-in /Notifications test command and react-icons Font Awesome 6 icon support for custom alert icons

Frequently Asked Questions

Does this work with VORP and RSG Core?

Yes. The script is framework-agnostic and has no server-side Lua, so it runs on VORP Core, RSG Core, or a server with no framework. You call it the same way through exports or the client event regardless of your core.

How do I install it?

Place the cas-notification folder in your resources directory and add ensure cas-notification to your server.cfg. All configuration is client-side in the config folder, and there is no database or server setup required.

Can I replace my existing notify system with this?

Yes. Other resources can trigger alerts through the exports or the cas-notification:client:addNotification event, so you can route an existing notify call into CAS Notification with minimal changes.

What's included for the price?

You get the full cas-notification resource: the React and TypeScript NUI frontend, the Lua client API, configurable locale and alignment, sound and progress bar options, and a test command. At around 10 euro it is a standalone one-time purchase.

Can I customize the icons and text?

Yes. Icons use the react-icons Font Awesome 6 set, so you set any icon by its component name (for example FaHammer), and type labels live in a locale file you can edit or extend with new languages.