Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Novus MOTD by Zigglegarf 7-25-15\\
- // Fonts
- if CLIENT then
- surface.CreateFont( "Header", {font = "Aller",size = 20, weight = 500,} ) -- This is the font for the titlebar's text
- surface.CreateFont( "General", {font = "Aller",size = 24, weight = 500,} ) -- This is the font for the Close/Accept buttons
- end
- // Enable/Disable transition animations
- EnableAnimations = true
- // Animation speed - the time it takes to move to the selected page measured in seconds
- AnimationSpeed = 0.3
- // Chat Command -- MUST BE IN QUOTES!
- NovusChatCommand = "!motd"
- // Console Command -- MUST BE IN QUOTES!
- NovusConcommand = "novus"
- // Set the menu to open on join
- AutomaticStart = true
- //Groups excluded from MOTD automatic start
- OpenExclusionList = {
- "superadmin"
- }
- // Enable/Disable Accept/Decline options -- ACCEPT CLOSES - DECLINE DISCONNECTS
- AcceptDecline = false
- // Enable/Disable timed delay for the close button -- IF THE DELAY AND ACCEPT BUTTON ARE ENABLED THE ACCEPT BUTTON WILL HAVE A DELAY
- DelayEnabled = false
- // Time in seconds -- 10 SECOND MINIMUM
- Delay = 20
- // Groups excluded from MOTD timer -- WHEN ADDING GROUPS PUT A , AFTER EACH ONE EXCEPT THE LAST AND MAKE SURE THEY'RE IN ""
- TimerExclusionList = {
- "superadmin"
- }
- // Set Default Page -- Page Layout : [6]-[4]-[2]-[1]-[3]-[5]-[7]
- DefaultPageNumber = 1
- // Enable/Disable Browser elements -- IF YOU DISABLE THE TITLEBAR AND BROWSERBAR, THE WEBPAGE WILL TAKE UP THE EXTRA SPACE
- EnableBrowserBar = false
- // Enable/Disable Titlebar -- THE BROWSERBAR MUST BE DISABLED FOR THIS TO WORK
- EnableTitleBar = true
- // Enable/Disable Tooltips
- tooltips = true
- // Set Titlebar & Tooltip text
- Page1Name = "Forums"
- Page2Name = "Rules"
- Page3Name = "Steam Group"
- Page4Name = "Donate"
- // Page URLs
- page1URL = "http://obsidiancommunitynetwork.enjin.com/"
- page2URL = "http://obsidiancommunitynetwork.enjin.com/forum/m/32033425/viewthread/23391887-ttt-server-rules"
- page3URL = "http://steamcommunity.com/groups/obsidiancommunitynetwork"
- page4URL = "http://obsidiancommunitynetwork.enjin.com/donate"
- // Enable/Disable Alt Pages - this is an alternate set of URLs viewable only by certain ULX groups
- AltPagesEnabled = false
- // Groups allowed to see alternate pages
- AltPageGroups = {
- "superadmin",
- "admin"
- }
- // Alternate Page URLs
- Altpage1URL = "https://www.youtube.com/"
- Altpage2URL = "http://google.com"
- Altpage3URL = "http://steamcommunity.com/"
- Altpage4URL = "https://docs.google.com/forms/d/1MNES6cXKBrcK7TliOiXTc1IdzZBS7I4aL3_7kPXzWbU/viewform?usp=send_form"
- Altpage5URL = "http://en.wikipedia.org/wiki/The_Help_%28film%29"
- Altpage6URL = "https://www.paypal.com/home"
- Altpage7URL = "http://google.com"
- // ADVANCED CUSTOMIZATION OPTIONS \\
- /* All pages are left running in the background when the menu is closed. This is done to improve responsiveness, and to keep players from having to reload
- every single web page every time they open and close the menu. If you enable one of these, the specified page will be stopped, and will load again when
- the menu is opened again. This may lead to increased data your website, and if you're bandwidth constrained on your website, you may want to leave these off.
- You should only use these if you have music or a video playing on them that you don't want running in the background.*/
- KillPG1 = false
- KillPG2 = false
- KillPG3 = false
- KillPG4 = false
- KillPG5 = false
- KillPG6 = false
- KillPG7 = false
- // Enable/Disable load local HTML instead of using a URL - Page Layout : [6]-[4]-[2]-[1]-[3]-[5]-[7]
- LocalHTMLMode_PG1 = false
- LocalHTMLMode_PG2 = false
- LocalHTMLMode_PG3 = false
- LocalHTMLMode_PG4 = false
- LocalHTMLMode_PG5 = false
- LocalHTMLMode_PG6 = false
- LocalHTMLMode_PG7 = false
- // Local HTML settings for alt pages
- LocalHTMLMode_AltPG1 = false
- LocalHTMLMode_AltPG2 = false
- LocalHTMLMode_AltPG3 = false
- LocalHTMLMode_AltPG4 = false
- LocalHTMLMode_AltPG5 = false
- LocalHTMLMode_AltPG6 = false
- LocalHTMLMode_AltPG7 = false
- // Enable solid button background - this will disable selection highlights and will need a server restart or map change
- SolidBG = false
- // Button Background Color -- Must be in RGBA: RED, GREEN, BLUE, ALPHA
- background1 = Color(0,255,100,255)
- background2 = Color(255,255,45,255)
- background3 = Color(0,145,255,255)
- background4 = Color(255,165,0,255)
- background5 = Color(130,45,190,255)
- background6 = Color(205,50,50,255)
- background7 = Color(240,130,240,255)
- // Button Highlight Color -- Must be in RGBA: RED, GREEN, BLUE, ALPHA
- highlight1 = Color(125,175,255,255)
- highlight2 = Color(125,175,255,255)
- highlight3 = Color(125,175,255,255)
- highlight4 = Color(125,175,255,255)
- highlight5 = Color(125,175,255,255)
- highlight6 = Color(125,175,255,255)
- highlight7 = Color(125,175,255,255)
- // Enable/Disable Page groups - Layout : [6]-[4]-[2]-[1]-[3]-[5]-[7]
- Outerbuttons1 = true // Enable/Disable 2 & 3
- Outerbuttons2 = true // Enable/Disable 4 & 5
- Outerbuttons3 = true // Enable/Disable 6 & 7
- // Execute console commands instead of opening pages -- THESE MUST BE IN '' AND ENABLED TO WORK
- EnableBtn1Cmd = false
- Btn1Cmd = 'ulx ignite ^'
- EnableBtn2Cmd = false
- Btn2Cmd = 'ulx ignite ^'
- EnableBtn3Cmd = false
- Btn3Cmd = 'ulx ignite ^'
- EnableBtn4Cmd = false
- Btn4Cmd = 'ulx ignite ^'
- EnableBtn5Cmd = false
- Btn5Cmd = 'ulx ignite ^'
- EnableBtn6Cmd = false
- Btn6Cmd = 'ulx ignite ^'
- EnableBtn7Cmd = false
- Btn7Cmd = 'ulx ignite ^'
- // Button Icons -- IF YOU REPLACE THESE, YOU MUST MAKE SURE YOUR ICONS ARE THE SAME SIZE AND FORMAT
- // Reminder: If you add a custom icon make sure you add it to the download script using resource.Addfile()
- Img1 = Material("novus/forums.png")
- Img2 = Material("novus/rules.png")
- Img3 = Material("novus/steam.png")
- Img4 = Material("novus/donate.png")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement