PSA: PLEASE NOTE THAT THIS MODULE HAS BEEN DEPRECATED AND SUPERSEDED. FIND THE NEW MODULE HERE.
simplynotifiied is the simplest and cleanest of notification modules. It can be used to alert players of anything, really. pick through a custom selection of usable images, or use your own. There are sounds pre-installed, however, you can use your own if you wish. This system is also completely spam-proof!
Link to Module
Note: you can’t require the module from its AssetId.
Demo
https://1drv.ms/v/s!Auz1-GxC3wQCgdkAxll0rfFx_8OOcg?e=EukKBZ
Note that this is a third-party OneDrive link.
The world I used to test this module
NotificationModule workplace nbt.rbxl (50.8 KB)
It’s a good idea to read to the end, to fully understand this. You’re free to clarify in the comments as well.
Setup
- you know the drill, put the ‘simplynotifiied.’ module anywhere
inside ReplicatedStorage. - done.
API
simplynotifiied.notify(player, notifMessage, messageType, icon, sound)
looks complicated, huh? let’s break it down.
player
player is just your standard player instance. simply make this game.Players.LocalPlayer, in a LocalScript.
notifMessage
notifMessage should be a string, this is going to be the message that pops up in the notification, for example, "test notification"
messageType
messageType is which type of notification you want to display. this also should be a string. there are two types of notifications currently implemented in simplynotifiied, "corner"
, and "banner"
.
Corner Showcase
https://1drv.ms/v/s!Auz1-GxC3wQCgdkB9jbT0-H4tHJ09g?e=m8AzyI
Note that this is a third-party OneDrive link.
Banner Showcase
https://1drv.ms/v/s!Auz1-GxC3wQCgdkC-Kc5zxWX1agkog?e=rgcsEa
Note that this is a third-party OneDrive link.
icon
icon is kinda obvious, but here goes:
icon is which kind of icon you want to add onto the notification. there are currently 5 images currrently implemented in simplynotifiied, although your own can be added, by putting the imageID, where icon should be. The icon selection is as following. warning, info, clock, plus, or errormsg. for example to use the warning icon, you would just do something simple as this:"warning"
or for the imageID, you would do something as simple as http://www.roblox.com/asset/?id=7764816238
or rbxassetid://7764816238
.
sound
sound is a simple true
/false
variable. true if you want sound, and false, if you don’t want sound. easy as that!
Example of usage in a LocalScript
local simplynotifiied = require(game.ReplicatedStorage["simplynotifiied."])
simplynotifiied.notify(game.Players.LocalPlayer, "test notification", "corner", "warning", true)
Other Settings
There is a “Settings” folder located inside the module, which, at preset, has one setting implemented in it thus far. This setting is named “Time Before Fading”, and changing the value will allow for the Notifications to wait longer until they disappear.
sorry if i made the two braincell squad mad with my poor documentation. it’s my first time even ever making a module, let alone documentation.
have a nice day guys
Peace, Blackxfiied.
Looking for more like this?
Please view my creations!