Advertisement
Plactrix

Server Logs Config.lua

Jun 6th, 2022 (edited)
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.95 KB | None | 0 0
  1. Config = {}
  2.  
  3. -- // General Options \\ --
  4. Config.Username = "Bot Name" -- Webhook name
  5. Config.Avatar = "https://cdn.discordapp.com/attachments/842580565454225451/975259095508607026/PM.png" -- Webhook Avatar
  6. Config.FooterIcon = "https://cdn.discordapp.com/attachments/842580565454225451/975259095508607026/PM.png" -- Footer Icon on the Embed
  7. Config.EmbedFooter = "Server Logs | Timestamp: %s | Server 1" -- Embed footer
  8.  
  9. -- // Chat logs \\ --
  10. Config.Chatlogs = false -- Set this to true if you want to enable chat logs
  11. Config.ChatlogsIP = false -- Set this to true if you want to enable player IP logs
  12. Config.ChatlogsEmbedColor = 16777215 -- Embed color
  13. Config.ChatlogsWebhooks = {
  14. chatlogs = ""
  15. }
  16.  
  17. -- // Connection logs \\ --
  18. Config.Connectionlogs = false -- Set this to true if you want to enable connection logs
  19. Config.ConnectionlogsIP = false -- Set this to true if you want to enable player IP logs
  20. Config.AccurateIDs = false -- Set this to true if you want to enable accurate server IDs instead of temp IDs
  21. Config.ConnectionlogsEmbedColor = 762640 -- Embed color
  22. Config.ConnectionlogsWebhooks = {
  23. connecting = "",
  24. leaving = ""
  25. }
  26.  
  27. -- // Command logs \\ --
  28. Config.Commandlogs = false -- Set this to true if you want to enable command logs (In testing still, may have some bugs)
  29. Config.CommandlogsIP = false -- Set this to true if you want to enable player IP logs
  30. Config.CommandlogsEmbedColor = 16777215 -- Embed color
  31. Config.CommandlogsWebhooks = {
  32. commandlogs = ""
  33. }
  34.  
  35. -- // Death logs \\ --
  36. Config.Deathlogs = false -- Set this to true if you want to enable death logs
  37. Config.DeathlogsIP = false -- Set this to true if you want to enable player IP logs
  38. Config.DeathlogsEmbedColor = 0 -- Embed color
  39. Config.DeathlogsWebhooks = {
  40. deathlogs = ""
  41. }
  42.  
  43. -- // Namechange logs \\ --
  44. Config.Namechangelogs = false -- Set this to true if you want to enable namechange logs
  45. Config.NamechangelogsIP = false -- Set this to true if you want to enable player IP logs
  46. Config.NamechangelogsEmbedColor = 0 -- Embed color
  47. Config.NamechangelogsWebhooks = {
  48. namechangelogs = ""
  49. }
  50.  
  51. -- // Resource logs \\ --
  52. Config.Resourcelogs = false -- Set this to true if you want to enable resource logs
  53. Config.ResourcelogsEmbedColor = 0 -- Embed color
  54. Config.ResourcelogsWebhooks = {
  55. resourcelogs = ""
  56. }
  57.  
  58. -- // Entity logs \\ --
  59. Config.Entitylogs = false -- Set this to true if you want to enable entity logs
  60. Config.EntitylogsEmbedColor = 0 -- Embed color
  61. Config.EntitylogsWebhooks = {
  62. entitylogs = ""
  63. }
  64.  
  65. -- // Event logs (Server-Side Events only) \\ --
  66. Config.Eventlogs = false -- Set this to true if you want to enable entity logs
  67. Config.EventlogsEmbedColor = 0 -- Embed color
  68. Config.EventlogsWebhooks = {
  69. eventlogs = ""
  70. }
  71. Config.EventlogsEvents = {
  72. -- "",
  73. -- ""
  74. }
  75.  
  76. -- // Screenshot Command \\ --
  77. Config.EnableScreenshotCommand = false -- Set this to true if you want to enable /screenshot <ID>
  78. Config.ScreenshotlogsEmbedColor = 0 -- Embed color
  79. Config.ScreenshotlogsAcePerm = "command.screenshot" -- The ace permission that allows you to use /screenshot <ID>
  80. Config.ScreenshotlogsWebhooks = {
  81. screenshotlogs = ""
  82. }
  83.  
  84. -- // Shooting logs \\ --
  85. Config.Shootinglogs = false -- Set this to true if you want to enable entity logs
  86. Config.ShootinglogsEmbedColor = 0 -- Embed color
  87. Config.ShootinglogsWebhooks = {
  88. shootinglogs = ""
  89. }
  90.  
  91. -- // Explosion logs \\ --
  92. Config.Explosionlogs = false -- Set this to true if you want to enable explosion logs
  93. Config.ExplosionlogsIP = false -- Set this to true if you want to enable player IP logs
  94. Config.ExplosionlogsEmbedColor = 16711680 -- Embed color
  95. Config.ExplosionlogsWebhooks = {
  96. explosionlogs = ""
  97. }
  98. Config.LoggedExplosions = {
  99. [0] = true, -- Grenade
  100. [1] = true, -- Grenade Launcher
  101. [3] = true, -- Molotov
  102. [4] = true, -- Rocket
  103. [5] = true, -- TankShell
  104. [6] = true, -- Hi_Octane
  105. [7] = true, -- Car
  106. [8] = true, -- Plance
  107. [9] = true, -- Fuel Pump
  108. [10] = true, -- Bike
  109. [11] = true, -- Dir_Steam
  110. [12] = true, -- Dir_Flame
  111. [13] = true, -- Water Hydrant
  112. [14] = true, -- Gas Canister
  113. [15] = true, -- Boat
  114. [16] = true, -- Ship_Destroy
  115. [17] = true, -- Truck
  116. [18] = true, -- Bullet
  117. [19] = true, -- Smoke Grenade Launcher
  118. [20] = true, -- Smoke Grenade
  119. [21] = true, -- BZ GAS
  120. [22] = true, -- Flare
  121. [23] = true, -- Gas Canister
  122. [24] = true, -- Extinguisher
  123. [25] = true, -- Programmablear
  124. [26] = true, -- Train
  125. [27] = true, -- Barrel
  126. [28] = true, -- Propane
  127. [29] = true, -- Blimp
  128. [30] = true, -- Flame_Explode
  129. [31] = true, -- Tanker
  130. [32] = true, -- Plane Rocket
  131. [33] = true, -- Vehicle Bullet
  132. [34] = true, -- Gas Tank
  133. [35] = true, -- FireWork
  134. [36] = true, -- SnowBall
  135. [37] = true, -- Proximity Mine
  136. [38] = true, -- Valkyrie Cannon
  137. }
  138.  
  139. Config.AdditionalWebhooks = {
  140. -- name = "",
  141. -- name2 = ""
  142. }
  143.  
  144. -- // SEM_InteractionMenu \\ --
  145. Config.SEMInteractionMenu = false -- Set this to true if you want to enable SEM_InteractionMenu logging
  146. Config.SEMEmbedColor = 0 -- Embed color
  147. Config.SEMWebhooks = {
  148. cufflogs = "",
  149. draglogs = "",
  150. seatlogs = "",
  151. backuplogs = "",
  152. adlogs = "",
  153. baclogs = "",
  154. inventorylogs = "",
  155. hospitallogs = "",
  156. jaillogs = "",
  157. spikelogs = "",
  158. flaglogs = "",
  159. }
  160.  
  161. -- // vMenu \\ --
  162. Config.vMenu = false -- Set this to true if you want to enable vMenu logging
  163. Config.vMenuEmbedColor = 0 -- Embed color
  164. Config.vMenuWebhooks = {
  165. privatemessages = "",
  166. weatherlogs = "",
  167. cleararea = "",
  168. killplayer = "",
  169. summonplayer = "",
  170. kickplayer = "",
  171. banplayer = ""
  172. }
  173.  
  174. -- // EasyAdmin \\ --
  175. Config.EasyAdmin = false -- Set this to true if you want to enable EasyAdmin logging
  176. Config.EasyAdminEmbedColor = 0 -- Embed color
  177. Config.EasyAdminWebhooks = {
  178. kicklogs = "",
  179. banlogs = "",
  180. unbanlogs = "", -- WORK IN PROGRESS || DOES NOT FULLY WORK YET
  181. warnlogs = "",
  182. spectatelogs = "",
  183. slaplogs = "",
  184. freezelogs = "",
  185. screenshotlogs = ""
  186. }
  187.  
  188. -- // Embed Colors \\ --
  189. Config.Colors = {
  190. default = 16711680, -- Grey
  191. black = 0, -- Black
  192. white = 16777215, -- White
  193. blue = 25087, -- Blue
  194. green = 762640, -- Green
  195. orange = 16743168, -- Orange
  196. lightgreen = 65309, -- Light Green
  197. yellow = 15335168, -- Yellow
  198. turqois = 62207, -- Turqois
  199. pink = 16711900, -- Pink
  200. red = 16711680, -- Red
  201. }
  202.  
  203. -- Embed color require a number instead of a hex code, so you would have to convert hexadecimal color code to decimal number. For picking colors, I recommend using SkyColor.com as it provides decimal value.
  204.  
  205. -- // Language Configuration \\ --
  206. Config.Language = {
  207. ConnectionLogs = {
  208. ConnectingEmbedTitle = ":white_check_mark: Player Connecting",
  209. ConnectingMessage = "Connecting to the server.",
  210. DisconnectedEmbedTitle = ":x: Player Disconnected",
  211. DisconnectedMessage = "User Disconnected **Reason:** `%s`"
  212. },
  213. Chat = {
  214. EmbedTitle = "Chat Message",
  215. Message = "This player has typed a chat message: `%s`"
  216. },
  217. Commands = {
  218. EmbedTitle = "Chat Command",
  219. Message = "This player has typed a command: `%s`"
  220. },
  221. Death = {
  222. EmbedTitle = "Player Death",
  223. Message = "%s"
  224. },
  225. NameChange = {
  226. EmbedTitle = "Namechange Logs",
  227. Message = "This player has changed their name from `%s` to `%s`"
  228. },
  229. Entity = {
  230. CreateEmbedTitle = "Entity Created",
  231. CreateMessage = "An entity has been created:\n> Entity: `%s`\n> Entity Hash: `%s`\n> Entity Type: `%s` (1 = Ped | 2 = Vehicle | 3 = Object)",
  232. DeleteEmbedTitle = "Entity Removed",
  233. DeleteMessage = "An entity has been removed:\n> Entity: `%s`\n> Entity Hash: `%s`\n> Entity Type: `%s` (1 = Ped | 2 = Vehicle | 3 = Object)"
  234. },
  235. Shooting = {
  236. EmbedTitle = "Shooting Logs",
  237. Message = "This player has shot a weapon\n> Weapon: `%s`\n> Amount of shots: `%s`"
  238. },
  239. Screenshot = {
  240. EmbedTitle = "Screenshot Logs",
  241. Message = "Screenshot of `%s`'s screen"
  242. },
  243. ResourceLogs = {
  244. ResourceStartEmbedTitle = "Resource Started",
  245. ResourceStartMessage = "Someone has started the resource `%s`",
  246. ResourceStopEmbedTitle = "Resource Stopped",
  247. ResourceStopMessage = "Someone has stopped the resource `%s`",
  248. ResourceRefreshEmbedTitle = "Resources Refreshed",
  249. ResourceRefreshMessage = "Someone has refreshed all resources",
  250. },
  251. Explosion = {
  252. EmbedTitle = "Explosion Logs",
  253. Message = "This player has caused an explosion:\n> Explosion Type: `%s`\n> Damage Scale: `%s`\n> isAudible: `%s`\n> isInvisible: `%s`\n> cameraShake: `%s`\n> Explosion Position: `%s, %s, %s`\n> Players Position: `%s, %s, %s`\n> Player distance from explosion: `%s`"
  254. },
  255. vMenu = {
  256. WeatherEmbedTitle = "vMenu Weather",
  257. WeatherMessage = "This player has changed the server weather:\n> Weather: `%s`\n> Blackout Enabled: `%s`\n> Dynamic Weather Enabled: `%s`\n> Snow Enabled: `%s`",
  258. PrivateMessageEmbedTitle = "vMenu Private Messages",
  259. PrivateMessage = "This player has sent `%s` a message through vMenu: `%s`",
  260. ClearAreaEmbedTitle = "Clear Area Logs",
  261. ClearAreaMessage = "This player has cleared the area",
  262. KillPlayerEmbedTitle = "Kill Player Logs",
  263. KillPlayerMessage = "This player has killed `%s`",
  264. SummonPlayerEmbedTitle = "Summon Logs",
  265. SummonPlayerMessage = "This player has summoned `%s`",
  266. KickPlayerEmbedTitle = "vMenu Kick Logs",
  267. KickPlayerMessage = "`%s` has kicked `%s` for `%s`",
  268. TempBanPlayerEmbedTitle = "vMenu Ban Logs",
  269. TempBanPlayerMessage = "`%s` has temp banned `%s`:\n> Duration: `%s` hours\n> Reason: `%s`",
  270. PermBanPlayerEmbedTitle = "vMenu Ban Logs",
  271. PermBanPlayerMessage = "`%s` has permanently banned `%s` for `%s`"
  272. },
  273. EasyAdmin = {
  274. KickPlayerEmbedTitle = "Kick Logs",
  275. KickPlayerMessage = "`%s` has kicked `%s` for `%s`",
  276. BanPlayerEmbedTitle = "Ban Logs",
  277. BanPlayerMessage = "`%s` has banned `%s`\n> Reason: `%s`\n> Expires: `%s`",
  278. UnbanPlayerEmbedTitle = "Unban Logs",
  279. UnbanPlayerMessage = "`%s` has unbanned a player\n> Ban ID: `%s`\n> Player Name: `TBD`\n> Ban Reason: `%s`",
  280. WarnPlayerEmbedTitle = "Warn Logs",
  281. WarnPlayerMessage = "`%s` has warned `%s` for `%s`",
  282. SpectateEmbedTitle = "Spectate Logs",
  283. SpectateMessage = "This player has spectated `%s`",
  284. SlapPlayerEmbedTitle = "Slap Logs",
  285. SlapPlayerMessage = "`%s` has slapped `%s` for `%s` HP",
  286. FreezePlayerEmbedTitle = "Freeze Logs",
  287. FreezePlayerMessage = "`%s` has %s `%s`",
  288. ScreenshotPlayerEmbedTitle = "Screenshot Logs",
  289. ScreenshotPlayerMessage = "`%s` has taken a screenshot of `%s`'s screen\nPlease check your EasyAdmin screenshot logging channel for the image."
  290. },
  291. SEMMenu = {
  292. CuffEmbedTitle = "Cuff Logs",
  293. CuffMessage = "This player has cuffed/uncuffed `%s`",
  294. DragEmbedTitle = "Drag Logs",
  295. DragMessage = "This player has dragged/undragged `%s`",
  296. SeatEmbedTitle = "Seat Logs",
  297. SeatMessage = "This player has seated `%s`",
  298. UnSeatEmbedTitle = "Seat Logs",
  299. UnSeatMessage = "This player has unseated `%s`",
  300. BackupEmbedTitle = "Backup Logs",
  301. BackupMessage = "This player has requested backup:\n> Code: `%s`\n> Street Name: `%s`\n> Coords: `%s, %s, %s`",
  302. AdsEmbedTitle = "Advertisement Logs",
  303. AdsMessage = "This player has put out an advertisement:\n> Ad Type: `%s`\n> Message: `%s`",
  304. BACSetEmbedTitle = "BAC Set Logs",
  305. BACSetMessage = "This player has set their BAC level to `%s`",
  306. BACTestEmbedTitle = "BAC Test Logs",
  307. BACTestMessage = "This player has BAC tested `%s`",
  308. InventorySetEmbedTitle = "Inventory Logs",
  309. InventorySetMessage = "This player has set their inventory:\n> New Items: `%s`",
  310. InventorySearchEmbedTitle = "Inventory Logs",
  311. InventorySearchMessage = "This player has searched `%s`'s Inventory",
  312. HospitalizeEmbedTitle = "Hospital Logs",
  313. HispitalizeMessage = "This player has hospitalized someone:\n> User: `%s`\n> Time: `%s`",
  314. JailEmbedTitle = "Jail Logs",
  315. JailMessage = "This player has jailed someone:\n> User: `%s`\n> Time: `%s`",
  316. SpikeEmbedTitle = "Spike Logs",
  317. SpikeMessage = "This player has placed `%s` spikes",
  318. SpikeRemoveEmbedTitle = "Spike Logs",
  319. SpikeRemoveMessage = "This player has remove all nearby spikes",
  320. FlagsJailEmbedTitle = "User Flags",
  321. FlagsJailMessage = "This player attempted to jail all players",
  322. FlagsHospitalEmbedTitle = "User Flags",
  323. FlagsHospitalMessage = "This player attempted to hospitalize all players"
  324. }
  325. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement