Forest Logo
search
package_2

notification-service

By @xsyrei

Roblox

Mirrored

NotificationService

Server-authoritative player notifications with fade in/out and typewriter text.

Install

[dependencies]
NotificationService = "xsyrei/notification-service@0.8.0"
wally install

Map packages into your place (Rojo):

"ReplicatedStorage": {
  "Packages": {
    "$path": "Packages"
  }
}

Setup

Require once at startup on both server and client:

local NotificationService = require(ReplicatedStorage.Packages.NotificationService)

init.lua loads ServerValidation on the server and ClientValidation on the client.

Usage

-- Server only
local NotificationService = require(ReplicatedStorage.Packages.NotificationService)

NotificationService.deployMessage(player, "Hello!", Color3.fromRGB(255, 80, 80))
NotificationService.deployMessage(player, "Welcome", Color3.fromRGB(50, 200, 80), 5)
ParameterTypeDescription
playerPlayerTarget client
messagestringNotification text (max 200 chars)
colorColor3Frame background color
durationnumber?Seconds to hold after typewriter in (default 3)

Package contents

src/
  init.lua              -- entry point
  Constants.lua
  ServerValidation.lua  -- server API
  ClientValidation.lua  -- client UI + remote listener
default.project.json

Package Details

Install command (Click to copy)


Version

0.8.0

License

MIT

check_circle

Safe for commercial use

Automated license review — not legal advice.