Advertisement
Guest User

Config.lua

a guest
Aug 4th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.88 KB | None | 0 0
  1. //Novus MOTD by Zigglegarf 7-25-15\\
  2.  
  3. // Fonts
  4. if CLIENT then
  5.     surface.CreateFont( "Header", {font = "Aller",size = 20, weight = 500,} ) -- This is the font for the titlebar's text
  6.     surface.CreateFont( "General", {font = "Aller",size = 24, weight = 500,} ) -- This is the font for the Close/Accept buttons
  7. end
  8.  
  9. // Enable/Disable transition animations
  10.  
  11. EnableAnimations = true
  12.  
  13. // Animation speed - the time it takes to move to the selected page measured in seconds
  14.  
  15. AnimationSpeed = 0.3
  16.  
  17. // Chat Command -- MUST BE IN QUOTES!
  18.  
  19. NovusChatCommand = "!motd"
  20.  
  21. // Console Command -- MUST BE IN QUOTES!
  22.  
  23. NovusConcommand = "novus"
  24.  
  25. // Set the menu to open on join
  26.  
  27. AutomaticStart = true
  28.  
  29. //Groups excluded from MOTD automatic start
  30.  
  31. OpenExclusionList = {
  32.     "superadmin"
  33. }
  34.  
  35. // Enable/Disable Accept/Decline options -- ACCEPT CLOSES - DECLINE DISCONNECTS
  36.  
  37. AcceptDecline = false
  38.  
  39. // Enable/Disable timed delay for the close button -- IF THE DELAY AND ACCEPT BUTTON ARE ENABLED THE ACCEPT BUTTON WILL HAVE A DELAY
  40.  
  41. DelayEnabled = false
  42.  
  43. // Time in seconds -- 10 SECOND MINIMUM
  44.  
  45. Delay = 20
  46.  
  47. // Groups excluded from MOTD timer -- WHEN ADDING GROUPS PUT A , AFTER EACH ONE EXCEPT THE LAST AND MAKE SURE THEY'RE IN ""
  48.  
  49. TimerExclusionList = {
  50.     "superadmin"
  51. }
  52.  
  53. // Set Default Page -- Page Layout : [6]-[4]-[2]-[1]-[3]-[5]-[7]
  54.  
  55. DefaultPageNumber = 1
  56.  
  57. // Enable/Disable Browser elements -- IF YOU DISABLE THE TITLEBAR AND BROWSERBAR, THE WEBPAGE WILL TAKE UP THE EXTRA SPACE
  58.  
  59. EnableBrowserBar = false
  60.  
  61. // Enable/Disable Titlebar -- THE BROWSERBAR MUST BE DISABLED FOR THIS TO WORK
  62.  
  63. EnableTitleBar = true
  64.  
  65. // Enable/Disable Tooltips
  66.  
  67. tooltips = true
  68.  
  69. // Set Titlebar & Tooltip text
  70.  
  71. Page1Name = "Forums"
  72. Page2Name = "Rules"
  73. Page3Name = "Steam Group"
  74. Page4Name = "Donate"
  75.  
  76. // Page URLs
  77.  
  78. page1URL = "http://obsidiancommunitynetwork.enjin.com/"                        
  79. page2URL = "http://obsidiancommunitynetwork.enjin.com/forum/m/32033425/viewthread/23391887-ttt-server-rules"
  80. page3URL = "http://steamcommunity.com/groups/obsidiancommunitynetwork"                                                         
  81. page4URL = "http://obsidiancommunitynetwork.enjin.com/donate"
  82.  
  83. // Enable/Disable Alt Pages - this is an alternate set of URLs viewable only by certain ULX groups
  84.  
  85. AltPagesEnabled = false
  86.  
  87. // Groups allowed to see alternate pages
  88.  
  89. AltPageGroups = {
  90.     "superadmin",
  91.     "admin"
  92. }
  93.  
  94. // Alternate Page URLs
  95.  
  96. Altpage1URL = "https://www.youtube.com/"                           
  97. Altpage2URL = "http://google.com"
  98. Altpage3URL = "http://steamcommunity.com/"                                                         
  99. Altpage4URL = "https://docs.google.com/forms/d/1MNES6cXKBrcK7TliOiXTc1IdzZBS7I4aL3_7kPXzWbU/viewform?usp=send_form"
  100. Altpage5URL = "http://en.wikipedia.org/wiki/The_Help_%28film%29"       
  101. Altpage6URL = "https://www.paypal.com/home"
  102. Altpage7URL = "http://google.com"              
  103.  
  104.        // ADVANCED CUSTOMIZATION OPTIONS \\
  105.  
  106. /* 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
  107. 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
  108. 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.
  109.  
  110. You should only use these if you have music or a video playing on them that you don't want running in the background.*/  
  111.  
  112. KillPG1 = false
  113. KillPG2 = false
  114. KillPG3 = false
  115. KillPG4 = false
  116. KillPG5 = false
  117. KillPG6 = false
  118. KillPG7 = false
  119.        
  120. // Enable/Disable load local HTML instead of using a URL - Page Layout : [6]-[4]-[2]-[1]-[3]-[5]-[7]
  121.  
  122. LocalHTMLMode_PG1 = false
  123. LocalHTMLMode_PG2 = false
  124. LocalHTMLMode_PG3 = false
  125. LocalHTMLMode_PG4 = false
  126. LocalHTMLMode_PG5 = false
  127. LocalHTMLMode_PG6 = false
  128. LocalHTMLMode_PG7 = false
  129.  
  130. // Local HTML settings for alt pages
  131. LocalHTMLMode_AltPG1 = false
  132. LocalHTMLMode_AltPG2 = false
  133. LocalHTMLMode_AltPG3 = false
  134. LocalHTMLMode_AltPG4 = false
  135. LocalHTMLMode_AltPG5 = false
  136. LocalHTMLMode_AltPG6 = false
  137. LocalHTMLMode_AltPG7 = false
  138.  
  139. // Enable solid button background - this will disable selection highlights and will need a server restart or map change
  140.  
  141. SolidBG = false
  142.  
  143. // Button Background Color -- Must be in RGBA: RED, GREEN, BLUE, ALPHA
  144.  
  145. background1 = Color(0,255,100,255)
  146. background2 = Color(255,255,45,255)
  147. background3 = Color(0,145,255,255)
  148. background4 = Color(255,165,0,255)
  149. background5 = Color(130,45,190,255)
  150. background6 = Color(205,50,50,255)
  151. background7 = Color(240,130,240,255)
  152.  
  153. // Button Highlight Color -- Must be in RGBA: RED, GREEN, BLUE, ALPHA
  154.  
  155. highlight1 = Color(125,175,255,255)
  156. highlight2 = Color(125,175,255,255)
  157. highlight3 = Color(125,175,255,255)
  158. highlight4 = Color(125,175,255,255)
  159. highlight5 = Color(125,175,255,255)
  160. highlight6 = Color(125,175,255,255)
  161. highlight7 = Color(125,175,255,255)
  162.  
  163. // Enable/Disable Page groups - Layout : [6]-[4]-[2]-[1]-[3]-[5]-[7]
  164.  
  165. Outerbuttons1 = true  // Enable/Disable 2 & 3
  166. Outerbuttons2 = true  // Enable/Disable 4 & 5
  167. Outerbuttons3 = true  // Enable/Disable 6 & 7
  168.  
  169. // Execute console commands instead of opening pages -- THESE MUST BE IN '' AND ENABLED TO WORK
  170.  
  171. EnableBtn1Cmd = false
  172. Btn1Cmd = 'ulx ignite ^'
  173.  
  174. EnableBtn2Cmd = false
  175. Btn2Cmd = 'ulx ignite ^'
  176.  
  177. EnableBtn3Cmd = false
  178. Btn3Cmd = 'ulx ignite ^'
  179.  
  180. EnableBtn4Cmd = false
  181. Btn4Cmd = 'ulx ignite ^'
  182.  
  183. EnableBtn5Cmd = false
  184. Btn5Cmd = 'ulx ignite ^'
  185.  
  186. EnableBtn6Cmd = false
  187. Btn6Cmd = 'ulx ignite ^'
  188.  
  189. EnableBtn7Cmd = false
  190. Btn7Cmd = 'ulx ignite ^'
  191.  
  192. // Button Icons -- IF YOU REPLACE THESE, YOU MUST MAKE SURE YOUR ICONS ARE THE SAME SIZE AND FORMAT
  193. // Reminder: If you add a custom icon make sure you add it to the download script using resource.Addfile()
  194.  
  195. Img1 = Material("novus/forums.png")
  196. Img2 = Material("novus/rules.png")
  197. Img3 = Material("novus/steam.png")
  198. Img4 = Material("novus/donate.png")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement