Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SConfig = {} --Don't change the name of this!
- SConfig.Website = "https://www.google.co.uk/" --The link to your website
- SConfig.Bars = true --Enable coloured bars on the player row in the scoreboard
- SConfig.BarsColorRank = false --Set to false to make the bar's colour that of a player's job...
- --...true to make them rank based (see rank table below)
- SConfig.RowFade = 4 --The speed of which to fade in when the player's mouse hovers over a row
- SConfig.RowAlphaMin = 0 --The minimum alpha value of a player row (the background colour of the player's team)
- SConfig.RowAlphaMax = 150 --The maximum alpha value of a player row
- SConfig.Rank = true --Set to false to disable the rank column
- SConfig.Ranks = {} --The table for the scoreboard's ranks
- --Used for displaying nice names and colours depending on a player's usergroup
- --Example usage:
- --SConfig.Ranks["groupname"] = {"Nice Name", Color("255, 255, 255")}
- SConfig.Ranks["superadmin"] = {"SuperAdmin", Color(184, 55, 255)}
- SConfig.Ranks["admin"] = {"Admin", Color(52, 105, 37)}
- SConfig.Ranks["moderator"] = {"Moderator", Color(225, 0, 132}
- SConfig.Ranks["trial-staff"] = {"Trial-Staff", Color(244, 162, 115)}
- SConfig.Ranks["developer"] = {"Developer", Color(164, 244, 252)}
- SConfig.Ranks["owner"] = {"Owner", Color(255, 0, 0)}
- SConfig.Ranks["founder"] = {"Founder", Color(112, 176, 72)}
- SConfig.Ranks["staff-manager"] = {"Staff-Manager", Color(80, 119, 174)}
- SConfig.Ranks["server-manager"] = {"Server-Manager", Color(80, 119, 174)}
- SConfig.Ranks["community-manager"] = {"Community-Manager", Color(80, 119, 174)}
- SConfig.Columns = {} --The table for holding the columns you want
- --The header for the column is the part inside the first set of brackets, this goes above all of the values
- --The first value inside the curly braces is how far along the scoreboard you want the column to be, 0.5 being halfway
- --The second value is the colour of the text in the column
- --The third is a function which returns what you want to be shown in the player row (ask your developer about this if you're unsure)
- --Example usage:
- --SConfig.Columns["Level"] = {0.35, Color(255,255,255,200), function(ply) return ply:GetLevel() end}
- SConfig.Columns["Rank"] = {0.5, Color(255,255,255,200), function(ply) return ply:GetUserGroup() end}
- SConfig.Columns["Team"] = {0.65, Color(255,255,255,200), function(ply) return team.GetName(ply:Team()) end}
- SConfig.Columns["Karma"] = {0.65, Color(255,255,255,200), function(ply) return math.Round(ply:GetBaseKarma()) end}
- SConfig.Columns["Score"] = {0.75, Color(255,255,255,200), function(ply) return ply:Frags() end}
- SConfig.Columns["Deaths"] = {0.825, Color(255,255,255,200), function(ply) return ply:Deaths() end}
- SConfig.Columns["Ping"] = {0.9, Color(255,255,255,200), function(ply) return ply:Ping() end}
- SConfig.Criteria = "Score" --The default column to sort by, should be one of the table values above(eg: "Team, "Rank")
- SConfig.TrayLinks = {
- button1 = {name = "TTT Server #1", IP = "xxx.xxx.xxx.xxx:xxxxx"},
- button2 = {name = "TTT Server #2", IP = "xxx.xxx.xxx.xxx:xxxxx"},
- button3 = {name = "DarkRP Server #1", IP = "xxx.xxx.xxx.xxx:xxxxx"},
- button4 = {name = "DarkRP Server #2", IP = "xxx.xxx.xxx.xxx:xxxxx"}
- }
- --Below are all the fonts that can be edited to your liking if you wish to do so.
- surface.CreateFont("SScoreText", {font = "Open Sans", size = 22, weight = 0}) --General font used for player rows and headers
- surface.CreateFont("SSCoreButtons", {font = "Open Sans", size = 28, weight = 0}) --Font used on button panel's buttons
- surface.CreateFont("SScoreLabel", {font = "Open Sans", size = 20, weight = 0}) --Font used for information panel's labels
- surface.CreateFont("SScoreTime", {font = "Open Sans", size = 74, weight = 0}) --Font used to display clock
- surface.CreateFont("SScoreInfo", {font = "Open Sans", size = 48, weight = 0}) --Large font used for information
- surface.CreateFont("SScoreSubInfo", {font = "Open Sans", size = 36, weight = 0}) --Font used to display gamemode and players
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement