Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Default configs
- --]]
- CH_Notify.Config.DefaultNotificationDesign = 1 -- The default design
- CH_Notify.Config.NotifyMenuChatCommand = "!notify" -- The chat command to open the menu
- CH_Notify.Config.YourServerIdentifier = "ch_server" -- This is a prefix that clients designs will save under. Try to make this unique so clients won't share designs from other servers.
- CH_Notify.Config.GradientStrength = 0.1 -- How much should the gradient cover? How much will it stretch before fading.
- CH_Notify.Config.NotifyFont = "CH_Notify_Font_Size10" -- If you wish to use another font for your notifications then you can change this.
- --[[
- Default themes
- You can configure your styles and allow your clients to choose between them in-game.
- These are the default themes generated when someone first joins your server with this addon.
- Players are able to create new themes in-game ty typing !notify and clicking the icon in the top left corner.
- --]]
- CH_Notify.Config.NotificationDesigns = {
- [1] = {
- Name = "Office",
- Description = "Use interface icons, gmod design and simple text without outline.",
- Icons = "Interface",
- Theme = "GMod",
- Text = "Simple",
- Rounded = false,
- },
- [2] = {
- Name = "Rounded Office",
- Description = "Use interface icons, gmod design and simple text without outline.",
- Icons = "Interface",
- Theme = "GMod",
- Text = "Simple",
- Rounded = true,
- },
- [3] = {
- Name = "Flat Outlined Gradient",
- Description = "Using flat outlined icons on a gradient background",
- Icons = "Outlined",
- Theme = "Gradient",
- Text = "Simple",
- Rounded = false,
- },
- [4] = {
- Name = "Flat Round Outlined",
- Description = "Using flat outlined icons on a rounded background",
- Icons = "Outlined",
- Theme = "ColorBox",
- Text = "Simple",
- Rounded = true,
- },
- }
- --[[
- Available icon packs
- You can make your own and use them with NotificationDesigns config
- --]]
- CH_Notify.Config.NotificationIcons = {
- ["Interface"] = {
- [0] = Material( "craphead_scripts/ch_notifications/interface/generic.png", "noclamp smooth" ),
- [1] = Material( "craphead_scripts/ch_notifications/interface/error.png", "noclamp smooth" ),
- [2] = Material( "craphead_scripts/ch_notifications/interface/undo.png", "noclamp smooth" ),
- [3] = Material( "craphead_scripts/ch_notifications/interface/hint.png", "noclamp smooth" ),
- [4] = Material( "craphead_scripts/ch_notifications/interface/cleanup.png", "noclamp smooth" ),
- },
- ["Flat"] = {
- [0] = Material( "craphead_scripts/ch_notifications/flat/generic.png", "noclamp smooth" ),
- [1] = Material( "craphead_scripts/ch_notifications/flat/error.png", "noclamp smooth" ),
- [2] = Material( "craphead_scripts/ch_notifications/flat/undo.png", "noclamp smooth" ),
- [3] = Material( "craphead_scripts/ch_notifications/flat/hint.png", "noclamp smooth" ),
- [4] = Material( "craphead_scripts/ch_notifications/flat/cleanup.png", "noclamp smooth" ),
- },
- ["Outlined"] = {
- [0] = Material( "craphead_scripts/ch_notifications/outlined/generic.png", "noclamp smooth" ),
- [1] = Material( "craphead_scripts/ch_notifications/outlined/error.png", "noclamp smooth" ),
- [2] = Material( "craphead_scripts/ch_notifications/outlined/undo.png", "noclamp smooth" ),
- [3] = Material( "craphead_scripts/ch_notifications/outlined/hint.png", "noclamp smooth" ),
- [4] = Material( "craphead_scripts/ch_notifications/outlined/cleanup.png", "noclamp smooth" ),
- },
- }
- --[[
- Sounds
- --]]
- CH_Notify.Config.NotificationSounds = {
- [0] = "craphead_scripts/ch_notifications/notification.mp3", -- Generic
- [1] = "craphead_scripts/ch_notifications/badinput.mp3", -- Error
- [2] = "craphead_scripts/ch_notifications/click3.mp3", -- Undo
- [3] = "craphead_scripts/ch_notifications/interface.mp3", -- Hint
- [4] = "craphead_scripts/ch_notifications/complete.mp3", -- Cleanup
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement