Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- // CUSTOMISATION \\ --
- SnR = {}
- SnR.storageType = "1" -- This is whether you want to use BData or Mysql. Bdata = 0, Mysql = 1 --
- SnR.reward = 25000 -- This is the amount of points they're given! --
- SnR.FindString = "[URP]" -- Change this to what you want to find --
- SnR.rankList = {
- "headstaff",
- "superadmin",
- "developer"
- }
- -- // ULX Module \\ --
- SnR.EnableULX = "0" -- Change this to 1 to enable the ULX module. (0 By Default) --
- 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)--
- SnR.ULXRank = "member" -- This is the rank that is given to the player when they use the rank and wait the defined time. --
- SnR.BarColour = {"255", "255", "0", "25"} -- This is the colour code for the bar using the RGB format --
- SnR.HeaderColour = {"0", "189", "99", "150"}-- This is the colour code for the header of the ULX GUI using the RGB format --
- -- \\ ULX Module // --
- -- // DARKRP \\ --
- SnR.DarkRP = "1" -- Enables the DarkRP module! 0 = Disabled, 1 = Enabled ( Disabled by default ) --
- SnR.Symbol = "%" -- This is the symbol used for your currency. e.g $ or £ --
- SnR.Multiplyer = 1.5 -- This is the number that the salary is multiplyed by. By default it is 1.5!
- -- \\ DARKRP // --
- -- // POINTSHOP 2 \\ --
- SnR.Standard = 0
- SnR.Premium = 0
- -- \\ POINTSHOP 2 // --
- -- // MYSQL CUSTOMISATION \\ --
- -- ONLY CHANGE THIS SETTING IF YOU HAVE SET "storageType" to mysql --
- SnR.CheckTimer = 30 -- This is how many seconds are inbetween the database checks. The lower the number, the more lag your server may experience! --
- if SERVER then
- SnR.MySQL = {}
- 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 --
- SnR.MySQL_User = "ultrarol_steamu" -- This needs to the the username that is used for your database --
- SnR.MySQL_Pass = "UltraRP123!" -- This is the password that goes with the username --
- SnR.MySQL_DB = "ultrarol_steamname" -- This is the name of the database. Make sure that the username specified has full permission --
- SnR.MySQL_Port = 3306 -- Keep this as 3306. If it doesn't work, acquire the IP from your webprovider --
- end
- -- \\ MYSQL CUSTOMISATION // --
- -- \\ CUSTOMISATION // --
- if SERVER then
- if SnR.storageType == "1" then
- CreateConVar( "storage_type", "mysql", FCVAR_REPLICATED, "Enables t he MYSQL module" )
- elseif SnR.storageType == "0" then
- CreateConVar( "storage_type", "bdata", FCVAR_REPLICATED, "Enables the BData module" )
- end
- if SnR.EnableULX == "1" then
- CreateConVar( "EnableULX", "1", FCVAR_REPLICATED, "Enables the ULX module!" )
- end
- if SnR.DarkRP == "1" then
- CreateConVar( "EnableDarkRP", "1", FCVAR_REPLICATED, "Enables the DarkRP module!" )
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement