Advertisement
Crap-Head

Medals config

Apr 15th, 2024 (edited)
459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. --[[
  2. Language Config
  3. --]]
  4. CH_Medals.Config.Language = "en" -- Set the language of the script.
  5.  
  6. --[[
  7. General
  8. --]]
  9. CH_Medals.Config.NotificationTime = 10 -- How long will notifications last?
  10.  
  11. CH_Medals.Config.AdminUsergroups = { -- Usergroups that you categorize as admins. Supports admin mods that supports ply:GetUserGroup() - most admins most does this apart from ServerGuard!
  12. ["owner"] = true,
  13. ["superadmin"] = true,
  14. ["admin"] = true,
  15. }
  16.  
  17. CH_Medals.Config.AllowedMedalTeams = { -- Teams/jobs that are allowed to give medals
  18. ["Starwars Shipper"] = true,
  19. ["Citizen"] = true,
  20. ["Gangster"] = true,
  21. }
  22.  
  23. CH_Medals.Config.AllowedSteamID64 = { -- Steamids64 that are allowed to give medals
  24. ["11111111111111111"] = true,
  25. ["22222222222222222"] = true,
  26. ["33333333333333333"] = true,
  27. }
  28.  
  29. --[[
  30. Menu
  31. --]]
  32. CH_Medals.Config.UseMedalMenuChatCommand = true -- Should the chat command be in use?
  33. CH_Medals.Config.MedalsMenuChatCommand = "!medals" -- Chat command to open the medals menu
  34.  
  35. CH_Medals.Config.ShowCategoryInMenu = true -- Should the category show after the name of the medal in the menu?
  36.  
  37. --[[
  38. Medal 3d2d
  39. --]]
  40. CH_Medals.Config.AutoDisplayMedal = true -- Should the medal be displayed or hidden when given? true for display, false for hide.
  41.  
  42. CH_Medals.Config.DrawDistance3D2D = 100000 -- Distance for the medals to display above heads (they also have alpha fade)
  43. CH_Medals.Config.YPos3D2D = 60 -- The y axis adjustment of the medals above players head
  44.  
  45. CH_Medals.Config.YPosCrouched3D2D = 80 -- The y axis adjustment of the medals above players head
  46.  
  47. CH_Medals.Config.Medal3D2DSizeY = 40 -- The size of the icons above the players head (height)
  48. CH_Medals.Config.Medal3D2DSizeX = 40 -- The size of the icons above the players head (width)
  49.  
  50. CH_Medals.Config.MedalNewRowCount = 10 -- Will create a new row of medals when this amount of medals is reached. Set to 999 (or very high) if you wish to keep it on 1 line
  51. CH_Medals.Config.MedalRowSpaceY = 50 -- Spacing between rows
  52.  
  53. CH_Medals.Config.Medal3D2DIconSpacing = 1.35 -- This value determines the spacing. It techincally multiplies with the medal width size to increase the spacing.
  54.  
  55. --[[
  56. Custom logs
  57. --]]
  58. CH_Medals.Config.UseCustomLogs = false -- The addon offers a log database ch_medals_logs that you can log medal give/take actions into if you want.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement