Skip to main content

Config

RiP-Notify is the perfect notification with a 3in1 system and infinite notification types! Some options are explained here. However this does not represent the original config file.

RiP.Help

The script comes with a build-in HelpNotify. Here you can modify it.

RiP.Help = {
Position = 'left', -- [STRING] position (left/bottom)
Color = '#755eaa' -- [STRING] color (e.g. #000000)
}

RiP.Notify

RiP.Notify = {
Position = 'top-left', -- [STRING] notify position (top/bottom-left/right)
Sounds = true, -- [BOOLEAN] enable/disable notify sounds

Types = { -- notify types (copy-paste element to add a type)
['default'] = { -- [STRING] unique notify type
Icon = 'fa-bell', -- [STRING] icon name (fontawesome.com)
Color = '#755eaa', -- [STRING] main color (e.g. '#755eaa')
Background = '#110e18, #382e5190', -- [STRING] background color (e.g. '#110e18, #382e5190')
},
['success'] = {
Icon = 'fa-circle-check',
Color = '#c9a237',
Background = '#1b1608, #4a3b1390',
},
['error'] = {
Icon = 'fa-circle-exclamation',
Color = '#a84747',
Background = '#1a0a0a, #34141490',
},
}
}

RiP.Announce

RiP.Announce = {
Perms = 'admin', -- [STRING] announce permissions
Sounds = true, -- [BOOLEAN] enable/disable announce sound

Color = '#755eaa', -- [STRING] announce color (e.g. '#755eaa')
Background = '#110e18, #382e51' -- [STRING] announce background color (e.g. '#110e18, #382e51')
}

RiP.Commands

With this you can activate/deactivate the default commands

RiP.Commands = {
OOC = true, -- [BOOLEAN] OOC-command for nearby players
ID = true, -- [BOOLEAN] ID-command for your id
IDs = true, -- [BOOLEAN] ID-command for the ID of the next player
IBAN = true -- [BOOLEAN] IBAN-command for your iban (RiP-BankingV2 required)
}

Text Formating

Color

Use ^ to highlight text with your preset main color.

exports["RiP-Notify"]:sendNotify('default', 3000, "RiP-Notify", "This is a ^highlighted^ text")

Italic

Use * to make your text italic.

exports["RiP-Notify"]:sendNotify('default', 3000, "RiP-Notify", "This is an *italic* text")

Bold

Use ** to make your text bold.

exports["RiP-Notify"]:sendNotify('default', 3000, "RiP-Notify", "This is a **bold** text")