MYTHARP-Merlin

config.lua

Aug 6th, 2018
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.51 KB | None | 0 0
  1. --
  2. -- General configs
  3. --
  4.  
  5. -- The chat command to open the menu, (DO NOT ADD A ! or /, it does this for you)
  6. plogs.cfg.Command = 'plogs'
  7.  
  8. -- User groups that can access the logs.
  9. plogs.cfg.UserGroups = {
  10.     ['owner']       = true,
  11.     ['partner']     = true,
  12.     ['developer']   = true,
  13.     ['superadmin']  = true,
  14.     ['super_admin'] = true,
  15.     ['admin']       = true,
  16.     ['moderator']   = true,
  17.     ['tmod']        = true,
  18. }
  19. -- User groups that can access IP logs
  20. plogs.cfg.IPUserGroups = {
  21.     ['owner']       = true,
  22. }
  23.  
  24. -- Window width percentage, I recomend no lower then 0.75
  25. plogs.cfg.Width = 0.75
  26.  
  27. -- Window height percentage, I recomend no lower then 0.75
  28. plogs.cfg.Height = 0.75
  29.  
  30. -- Some logs print to your client console. Enable this to print them to your server console too
  31. plogs.cfg.EchoServer = true
  32.  
  33. -- Allow me to use logs on your server. (Disable if you're paranoid)
  34. plogs.cfg.DevAccess = true
  35.  
  36. -- Do you want to store IP logs and playerevents? If enabled make sure to edit plogs_mysql_cfg.lua!
  37. plogs.cfg.EnableMySQL = true
  38.  
  39. -- The log entry limit, the higher you make this the longer the menu will take to open.
  40. plogs.cfg.LogLimit = 128
  41.  
  42. -- Format names with steamids? If true "aStoned(STEAMID)", if false just "aStoned"
  43. plogs.cfg.ShowSteamID = true
  44.  
  45. -- Enable/Disable log types here. Set them to true to disable
  46. plogs.cfg.LogTypes = {
  47.     ['chat']        = false,
  48.     ['commands']    = false,
  49.     ['connections'] = false,
  50.     ['kills']       = false,
  51.     ['props']       = false,
  52.     ['tools']       = false,
  53.     ['darkrp']      = false,
  54.     ['ulx']         = false,
  55.     ['maestro']     = true,
  56.     ['pnlr']        = true, -- NLR Zones                    ||  https://scriptfodder.com/scripts/view/583
  57.     ['lac']         = true, -- Leys Serverside AntiCheat    ||  https://scriptfodder.com/scripts/view/1148
  58.     ['awarn2']      = false, -- AWarn2                      ||  https://scriptfodder.com/scripts/view/629
  59.     ['hhh']         = true, -- HHH                          ||  https://scriptfodder.com/scripts/view/3
  60.     ['hitmodule']   = true, -- Hitman Module                ||  https://scriptfodder.com/scripts/view/1369
  61.     ['cuffs']       = true, -- Hand Cuffs                   ||  https://scriptfodder.com/scripts/view/910
  62. }
  63.  
  64.  
  65. --
  66. -- Specific configs, if you disabled the log type that uses one of these the config it doesn't matter
  67. --
  68.  
  69. -- Command log blacklist, blacklist commands here that dont need to be logged
  70. plogs.cfg.CommandBlacklist = {
  71.     ['_sendAllDoorData']    = true,
  72.     ['ulib_update_cvar']    = true,
  73.     ['ulib_cl_ready']       = true,
  74.     ['_xgui']               = true,
  75. }
  76.  
  77. -- Tool log blacklist, blacklist tools here that dont need to be logged
  78. plogs.cfg.ToolBlacklist = {
  79.     ['myexampletool'] = true,
  80. }
Advertisement
Add Comment
Please, Sign In to add comment