Advertisement
Guest User

config

a guest
Aug 9th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. -- // CUSTOMISATION \\ --
  2. SnR = {}
  3.  
  4. SnR.storageType = "1" -- This is whether you want to use BData or Mysql. Bdata = 0, Mysql = 1 --
  5.  
  6. SnR.reward = 25000 -- This is the amount of points they're given! --
  7.  
  8. SnR.FindString = "[URP]" -- Change this to what you want to find --
  9.  
  10. SnR.rankList = {
  11. "headstaff",
  12. "superadmin",
  13. "developer"
  14. }
  15.  
  16. -- // ULX Module \\ --
  17.  
  18. SnR.EnableULX = "0" -- Change this to 1 to enable the ULX module. (0 By Default) --
  19. SnR.RankTime = 1800 -- This is the amount of time in seconds for the player to wait until they're given the ULX Rank! (30 Minutes by default)--
  20. SnR.ULXRank = "member" -- This is the rank that is given to the player when they use the rank and wait the defined time. --
  21.  
  22.  
  23. SnR.BarColour = {"255", "255", "0", "25"} -- This is the colour code for the bar using the RGB format --
  24. SnR.HeaderColour = {"0", "189", "99", "150"}-- This is the colour code for the header of the ULX GUI using the RGB format --
  25.  
  26. -- \\ ULX Module // --
  27.  
  28. -- // DARKRP \\ --
  29.  
  30. SnR.DarkRP = "1" -- Enables the DarkRP module! 0 = Disabled, 1 = Enabled ( Disabled by default ) --
  31. SnR.Symbol = "%" -- This is the symbol used for your currency. e.g $ or £ --
  32. SnR.Multiplyer = 1.5 -- This is the number that the salary is multiplyed by. By default it is 1.5!
  33.  
  34. -- \\ DARKRP // --
  35.  
  36. -- // POINTSHOP 2 \\ --
  37.  
  38. SnR.Standard = 0
  39. SnR.Premium = 0
  40.  
  41. -- \\ POINTSHOP 2 // --
  42.  
  43. -- // MYSQL CUSTOMISATION \\ --
  44.  
  45. -- ONLY CHANGE THIS SETTING IF YOU HAVE SET "storageType" to mysql --
  46.  
  47. SnR.CheckTimer = 30 -- This is how many seconds are inbetween the database checks. The lower the number, the more lag your server may experience! --
  48.  
  49. if SERVER then
  50. SnR.MySQL = {}
  51.  
  52. SnR.MySQL_Host = "185.116.215.48" -- It is unlikely that the MYSQL server is localy so you will need to gather the IP of your MYSQL database from your web provider --
  53.  
  54. SnR.MySQL_User = "ultrarol_steamu" -- This needs to the the username that is used for your database --
  55.  
  56. SnR.MySQL_Pass = "UltraRP123!" -- This is the password that goes with the username --
  57.  
  58. SnR.MySQL_DB = "ultrarol_steamname" -- This is the name of the database. Make sure that the username specified has full permission --
  59.  
  60. SnR.MySQL_Port = 3306 -- Keep this as 3306. If it doesn't work, acquire the IP from your webprovider --
  61.  
  62. end
  63.  
  64. -- \\ MYSQL CUSTOMISATION // --
  65.  
  66.  
  67. -- \\ CUSTOMISATION // --
  68.  
  69. if SERVER then
  70.  
  71. if SnR.storageType == "1" then
  72.  
  73. CreateConVar( "storage_type", "mysql", FCVAR_REPLICATED, "Enables t he MYSQL module" )
  74.  
  75. elseif SnR.storageType == "0" then
  76.  
  77. CreateConVar( "storage_type", "bdata", FCVAR_REPLICATED, "Enables the BData module" )
  78.  
  79. end
  80.  
  81. if SnR.EnableULX == "1" then
  82. CreateConVar( "EnableULX", "1", FCVAR_REPLICATED, "Enables the ULX module!" )
  83. end
  84.  
  85. if SnR.DarkRP == "1" then
  86. CreateConVar( "EnableDarkRP", "1", FCVAR_REPLICATED, "Enables the DarkRP module!" )
  87. end
  88.  
  89. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement