daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Aug 13th, 2016 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Warn = {}
  2. Warn.MySQL = {}
  3. Warn.SQL = {}
  4. Warn.Lang = {}
  5.  
  6. Warn.MySQL.Activated = true --Should use MySQL? Yes = true, No = false
  7.  
  8. if SERVER then
  9.     Warn.MySQL.Host = "93.186.202.7"
  10.     Warn.MySQL.User = "nop"
  11.     Warn.MySQL.Pass = "nop"
  12.     Warn.MySQL.DB = "cityrp"
  13.     Warn.MySQL.Port = 3306
  14.  
  15.     Warn.PrintToAll = false
  16.     Warn.PrintToAllowed = true
  17.  
  18.     Warn.Server = "RP" --Like TTT, RP,..
  19.     Warn.CMD = "!playerwarn"
  20.  
  21.     Warn.AllowedRanks_Add = { -- Ranks that can add Warns
  22.         "superadmin",
  23.         "admin",
  24.         "operator",
  25.         "founder",
  26.     }
  27.  
  28.     Warn.AllowedRanks_Remove = { -- Ranks that can remove Warns
  29.         "superadmin",
  30.         "admin",
  31.         "founder",
  32.     }
  33.  
  34.     Warn.AutoBanActivated = true
  35.     Warn.AutoBansType = "ULX" -- ULX OR SG (SERVERGUARD)
  36.     Warn.AutoBans = {
  37.     --  type, warns, reason, time(only ban)
  38.         {"kick", 3, "Your last warning you got 3 warns 2 more will be a ban."},
  39.         {"kick", 4, "Your last warning you got 4 warns another will be a ban."},
  40.         {"ban", 5, "Banned 5 warns.","1d"},
  41.         {"ban", 6, "Banned 6 warns.","7d"},
  42.     }
  43. end
  44.  
  45. --/* ENGLISH
  46. Warn.Lang.ChatPrefix = "[Warn] "
  47. Warn.Lang.AdminMenuTitle = "Warn"
  48. Warn.Lang.ViewMenuTitle = "Warns - %steamid% - Amount: %amount%"
  49. Warn.Lang.SelectPlayer = "Select player"
  50. Warn.Lang.Reason = "Reason"
  51. Warn.Lang.WarnPlayerButton = "Warn player"
  52. Warn.Lang.WarnSteamIDButton = "Warn SteamID(64)"
  53. Warn.Lang.ShowPlayerWarns = "Show player warns"
  54. Warn.Lang.ShowSteamWarns = "Show SteamID(64) warns"
  55. Warn.Lang.WarnList_ID = "ID"
  56. Warn.Lang.WarnList_Server = "Server"
  57. Warn.Lang.WarnList_Warner = "Warner"
  58. Warn.Lang.RemoveWarn = "Remove warn"
  59. Warn.Lang.YouWarned = "You warned %name% Reason: %reason%"
  60. Warn.Lang.YouGotWarned = "You were warned by %name% Reason: %reason%"
  61. Warn.Lang.NoWarnsFound = "No warns found!"
  62. Warn.Lang.YouRemovedWarn = "You removed warn ID %id%!"
  63. Warn.Lang.SoWarnedSo = "%warner% warned %warned% Reason: %reason%"
  64. Warn.Lang.NoPermission = "You cant do that!"
  65. Warn.Lang.Print_WarnReason = "Print warn Reason "
  66. Warn.Lang.Print_warnedID = "Print warned SteamID"
  67. Warn.Lang.Print_warnedID64 = "Print warned SteamID64"
  68. Warn.Lang.Print_warnedName = "Print warned Name"
  69. Warn.Lang.Print_warnerID = "Print warner SteamID"
  70. Warn.Lang.Print_warnerID64 = "Print warner SteamID64"
  71. Warn.Lang.Print_warnerName = "Print warner Name"
  72. Warn.Lang.Print_Date = "Print warn Date"
  73. --*/
  74.  
  75. /* GERMAN
  76. Warn.Lang.ChatPrefix = "[Warn] "
  77. Warn.Lang.AdminMenuTitle = "Warn"
  78. Warn.Lang.ViewMenuTitle = "Warns - %steamid% - Anzahl: %amount%"
  79. Warn.Lang.SelectPlayer = "Wähle Spieler"
  80. Warn.Lang.Reason = "Grund"
  81. Warn.Lang.WarnPlayerButton = "Spieler verwarnen"
  82. Warn.Lang.WarnSteamIDButton = "SteamID(64) verwarnen"
  83. Warn.Lang.ShowPlayerWarns = "Spieler Warns anzeigen"
  84. Warn.Lang.ShowSteamWarns = "SteamID(64) Warns anzeigen"
  85. Warn.Lang.WarnList_ID = "ID"
  86. Warn.Lang.WarnList_Server = "Server"
  87. Warn.Lang.WarnList_Warner = "Warner"
  88. Warn.Lang.RemoveWarn = "Warn entfernen"
  89. Warn.Lang.YouWarned = "Du hast %name% verwarnt. Grund: %reason%"
  90. Warn.Lang.YouGotWarned = "Du wurdest von %name% verwarnt. Grund: %reason%"
  91. Warn.Lang.NoWarnsFound = "Keine Warns gefunden!"
  92. Warn.Lang.YouRemovedWarn = "Du hast Warn ID %id% gelöscht!"
  93. Warn.Lang.SoWarnedSo = "%warner% hat %warned% verwarnt. Grund: %reason%"
  94. Warn.Lang.NoPermission = "Du kannst das nicht!"
  95. Warn.Lang.Print_WarnReason = "Print Warn Grund"
  96. Warn.Lang.Print_warnedID = "Print verwarnte SteamID"
  97. Warn.Lang.Print_warnedID64 = "Print verwarnte SteamID64"
  98. Warn.Lang.Print_warnedName = "Print verwarnter Name"
  99. Warn.Lang.Print_warnerID = "Print verwarner SteamID"
  100. Warn.Lang.Print_warnerID64 = "Print verwarner SteamID64"
  101. Warn.Lang.Print_warnerName = "Print verwarner Name"
  102. Warn.Lang.Print_Date = "Print Warn Datum"
  103. */
  104.  
  105. /* FRENCH
  106. Warn.Lang.ChatPrefix = "[Avertissement] "
  107. Warn.Lang.AdminMenuTitle = "Avertir"
  108. Warn.Lang.ViewMenuTitle = "Avertissements - %steamid% - Amount: %amount%"
  109. Warn.Lang.SelectPlayer = "Sélectionnez un joueur"
  110. Warn.Lang.Reason = "Raison"
  111. Warn.Lang.WarnPlayerButton = "Avertir un joueur"
  112. Warn.Lang.WarnSteamIDButton = "Avertir un steamid"
  113. Warn.Lang.ShowPlayerWarns = "Afficher les warn's d'un joueur"
  114. Warn.Lang.ShowSteamWarns = "Afficher les avertissement en steamid(64) "
  115. Warn.Lang.WarnList_ID = "ID"
  116. Warn.Lang.WarnList_Server = "Serveur"
  117. Warn.Lang.WarnList_Warner = "Avertisseur"
  118. Warn.Lang.RemoveWarn = "Enlever un avertissement"
  119. Warn.Lang.YouWarned = "Vous avez averti %name% Raison: %reason%"
  120. Warn.Lang.YouGotWarned = "Vous avez était averti par %name% Raison: %reason%"
  121. Warn.Lang.NoWarnsFound = "Aucun avertissement trouvé!"
  122. Warn.Lang.YouRemovedWarn = "Vous avez enlevé le warn suivant %id%!"
  123. Warn.Lang.SoWarnedSo = "%warner% averti %warned% pour la raison suivante %reason%"
  124. Warn.Lang.NoPermission = "Vous ne pouvez pas faire cela!"
  125. Warn.Lang.Print_WarnReason = "Copier la raison de l'avertissement"
  126. Warn.Lang.Print_warnedID = "Copier le steam:id d'un averti"
  127. Warn.Lang.Print_warnedID64 = "Copier le SteamID64"
  128. Warn.Lang.Print_warnedName = "Copier le nom"
  129. Warn.Lang.Print_warnerID = "Copier SteamID"
  130. Warn.Lang.Print_warnerID64 = "Copier SteamID64"
  131. Warn.Lang.Print_warnerName = "Copier le nom de l'averti"
  132. Warn.Lang.Print_Date = "Copier la date de l'avertissement"
  133. */
  134.  
  135. if SERVER then
  136.     print("TRYING TO LOAD WARNSYSTEM (SERVERSIDE)")
  137.     AddCSLuaFile("warnsystem/cl_warnsystem.lua")
  138.     include("warnsystem/sv_warnsystem.lua")
  139. end
  140.  
  141. if CLIENT then
  142.     print("TRYING TO LOAD WARNSYSTEM (CLIENTSIDE)")
  143.     include("warnsystem/cl_warnsystem.lua")
  144. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top