Advertisement
Crap-Head

Notify Config

May 2nd, 2024
689
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.79 KB | None | 0 0
  1. --[[
  2.     Default configs
  3. --]]
  4. CH_Notify.Config.DefaultNotificationDesign = 1 -- The default design
  5.  
  6. CH_Notify.Config.NotifyMenuChatCommand = "!notify" -- The chat command to open the menu
  7.  
  8. 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.
  9.  
  10. CH_Notify.Config.GradientStrength = 0.1 -- How much should the gradient cover? How much will it stretch before fading.
  11.  
  12. CH_Notify.Config.NotifyFont = "CH_Notify_Font_Size10" -- If you wish to use another font for your notifications then you can change this.
  13.  
  14. --[[
  15.     Default themes
  16.    
  17.     You can configure your styles and allow your clients to choose between them in-game.
  18.     These are the default themes generated when someone first joins your server with this addon.
  19.    
  20.     Players are able to create new themes in-game ty typing !notify and clicking the icon in the top left corner.
  21. --]]
  22. CH_Notify.Config.NotificationDesigns = {
  23.     [1] = {
  24.         Name = "Office",
  25.         Description = "Use interface icons, gmod design and simple text without outline.",
  26.         Icons = "Interface",
  27.         Theme = "GMod",
  28.         Text = "Simple",
  29.         Rounded = false,
  30.     },
  31.     [2] = {
  32.         Name = "Rounded Office",
  33.         Description = "Use interface icons, gmod design and simple text without outline.",
  34.         Icons = "Interface",
  35.         Theme = "GMod",
  36.         Text = "Simple",
  37.         Rounded = true,
  38.     },
  39.     [3] = {
  40.         Name = "Flat Outlined Gradient",
  41.         Description = "Using flat outlined icons on a gradient background",
  42.         Icons = "Outlined",
  43.         Theme = "Gradient",
  44.         Text = "Simple",
  45.         Rounded = false,
  46.     },
  47.     [4] = {
  48.         Name = "Flat Round Outlined",
  49.         Description = "Using flat outlined icons on a rounded background",
  50.         Icons = "Outlined",
  51.         Theme = "ColorBox",
  52.         Text = "Simple",
  53.         Rounded = true,
  54.     },
  55. }
  56.  
  57. --[[
  58.     Available icon packs
  59.    
  60.     You can make your own and use them with NotificationDesigns config
  61. --]]
  62. CH_Notify.Config.NotificationIcons = {
  63.     ["Interface"] = {
  64.         [0] = Material( "craphead_scripts/ch_notifications/interface/generic.png", "noclamp smooth" ),
  65.         [1] = Material( "craphead_scripts/ch_notifications/interface/error.png", "noclamp smooth" ),
  66.         [2] = Material( "craphead_scripts/ch_notifications/interface/undo.png", "noclamp smooth" ),
  67.         [3] = Material( "craphead_scripts/ch_notifications/interface/hint.png", "noclamp smooth" ),
  68.         [4] = Material( "craphead_scripts/ch_notifications/interface/cleanup.png", "noclamp smooth" ),
  69.     },
  70.     ["Flat"] = {
  71.         [0] = Material( "craphead_scripts/ch_notifications/flat/generic.png", "noclamp smooth" ),
  72.         [1] = Material( "craphead_scripts/ch_notifications/flat/error.png", "noclamp smooth" ),
  73.         [2] = Material( "craphead_scripts/ch_notifications/flat/undo.png", "noclamp smooth" ),
  74.         [3] = Material( "craphead_scripts/ch_notifications/flat/hint.png", "noclamp smooth" ),
  75.         [4] = Material( "craphead_scripts/ch_notifications/flat/cleanup.png", "noclamp smooth" ),
  76.     },
  77.     ["Outlined"] = {
  78.         [0] = Material( "craphead_scripts/ch_notifications/outlined/generic.png", "noclamp smooth" ),
  79.         [1] = Material( "craphead_scripts/ch_notifications/outlined/error.png", "noclamp smooth" ),
  80.         [2] = Material( "craphead_scripts/ch_notifications/outlined/undo.png", "noclamp smooth" ),
  81.         [3] = Material( "craphead_scripts/ch_notifications/outlined/hint.png", "noclamp smooth" ),
  82.         [4] = Material( "craphead_scripts/ch_notifications/outlined/cleanup.png", "noclamp smooth" ),
  83.     },
  84. }
  85.  
  86. --[[
  87.     Sounds
  88. --]]
  89. CH_Notify.Config.NotificationSounds = {
  90.     [0] = "craphead_scripts/ch_notifications/notification.mp3", -- Generic
  91.     [1] = "craphead_scripts/ch_notifications/badinput.mp3", -- Error
  92.     [2] = "craphead_scripts/ch_notifications/click3.mp3", -- Undo
  93.     [3] = "craphead_scripts/ch_notifications/interface.mp3", -- Hint
  94.     [4] = "craphead_scripts/ch_notifications/complete.mp3", -- Cleanup
  95. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement