Advertisement
Guest User

Config

a guest
Dec 3rd, 2016
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.52 KB | None | 0 0
  1. --[[ JASPER ----------------------------------------------------------------------------------------
  2.  
  3. @package Jasper
  4. @author Richard
  5. @build v1.1.2
  6. @release 09.17.2016
  7. @owner 76561198031681282
  8.  
  9. BY MODIFYING THIS FILE -- YOU UNDERSTAND THAT THE ABOVE MENTIONED AUTHORS CANNOT BE HELD RESPONSIBLE
  10. FOR ANY ISSUES THAT ARISE. AS A CUSTOMER TO THE ORIGINAL PURCHASED COPY OF THIS SCRIPT, YOU ARE
  11. ENTITLED TO STANDARD SUPPORT WHICH CAN BE PROVIDED USING [SCRIPTFODDER.COM]. ONLY THE ORIGINAL
  12. PURCHASER OF THIS SCRIPT CAN RECEIVE SUPPORT.
  13.  
  14. --------------------------------------------------------------------------------------------------]]
  15.  
  16.  
  17. Jasper = Jasper or {}
  18. Jasper.Settings = Jasper.Settings or {}
  19. Jasper.Language = Jasper.Language or {}
  20.  
  21. --[[ FASTDL / WORKSHOP RESOURCES -------------------------------------------------------------------
  22. Set to false if you do not wish for the server to force players to download the resources/materials.
  23. --------------------------------------------------------------------------------------------------]]
  24.  
  25. Jasper.Settings.WorkshopEnabled = true
  26. Jasper.Settings.WorkshopMountGMAEnabled = false
  27. Jasper.Settings.ResourcesEnabled = true
  28.  
  29. --[[ DEBUG MODE ------------------------------------------------------------------------------------
  30. Enabling this will display special prints during particular processes which include resource /
  31. workshop mounting, special actions and more. Should really only enable this if you need it.
  32. --------------------------------------------------------------------------------------------------]]
  33.  
  34. Jasper.Settings.DebugEnabled = false
  35.  
  36. --[[ CUSTOM FONTS ----------------------------------------------------------------------------------
  37. This script makes use of custom fonts (because they look better) However, if you wish to disable
  38. them because for whatever reason, you cannot sync them to your FastDL, then you can simply set the
  39. below setting to 'false'. This will force the script to use the default fonts with modified
  40. properties in order to look as good as they can.
  41. --------------------------------------------------------------------------------------------------]]
  42.  
  43. Jasper.Settings.CustomFontsEnabled = true
  44.  
  45. --[[ ACTIVATION ------------------------------------------------------------------------------------
  46. General settings which allow you to customize the name of your server, colorization of certain
  47. aspects, and a few other features.
  48. --------------------------------------------------------------------------------------------------]]
  49.  
  50. Jasper.Settings.InitOnJoin = true
  51. Jasper.Settings.KeybindAllowToggle = true
  52. Jasper.Settings.KeybindEnum = KEY_F9
  53. Jasper.Settings.KeybindChat = "!motd"
  54. Jasper.Settings.AnimationsEnabled = true
  55. Jasper.Settings.AnimationsMultiplier = 0.07
  56.  
  57. --[[ GENERAL ---------------------------------------------------------------------------------------
  58. General settings which allow you to customize the name of your server, colorization of certain
  59. aspects, and a few other features.
  60. --------------------------------------------------------------------------------------------------]]
  61.  
  62. Jasper.Settings.General = {
  63. NetworkName = "EGN Community",
  64. NetworkNameColor = Color( 255, 255, 255, 255 ),
  65. ClockFormat = "%I:%M %p",
  66. ClockTextColor = Color( 255, 255, 255, 255 ),
  67. PanelTopColor = Color( 5, 5, 5, 200 ),
  68. HeaderNameTextColor = Color( 255, 255, 255, 255 ),
  69. SubHeaderTextColor = Color(255, 255, 255, 255),
  70. AvatarBoarderColor = Color( 255, 255, 255, 255 ),
  71. CloseButtonOuterColor = Color( 35, 35, 35, 255 ),
  72. CloseButtonInnerColor = Color( 25, 25, 25, 255 )
  73. }
  74.  
  75. --[[ CLOSE BUTTONS ---------------------------------------------------------------------------------
  76. These settings simply control what the close buttons look like in normal and hover state.
  77. --------------------------------------------------------------------------------------------------]]
  78.  
  79. Jasper.Settings.CloseButtonColor = Color( 255, 255, 255, 255 )
  80. Jasper.Settings.CloseButtonHoverColor = Color( 205, 79, 3, 255 )
  81.  
  82. --[[ ROTATING BACKGROUNDS --------------------------------------------------------------------------
  83. This feature comes with two options, (1) Regular Backgrounds or (2) Live-Wallpaper. Adjust the
  84. settings below to deecide which one to use. Please note that Live Wallpapers have PRIORITY over the
  85. regular backgrounds. Disable Live-Wallpaper if you want regular backgrounds to display.
  86. --------------------------------------------------------------------------------------------------]]
  87.  
  88. Jasper.Settings.BackgroundsEnabled = true
  89. Jasper.Settings.BackgroundsFilterColor = Color( 0, 0, 0, 200 )
  90. Jasper.Settings.BackgroundsBlurEnabled = true
  91. Jasper.Settings.BackgroundsEnhancedEnabled = true
  92. Jasper.Settings.BackgroundsList =
  93. {
  94. "http://api.iamrichardt.com/products/2936/resources/wallpaper/wallpaper-0001.jpg",
  95. "http://api.iamrichardt.com/products/2936/resources/wallpaper/wallpaper-0002.jpg",
  96. "http://api.iamrichardt.com/products/2936/resources/wallpaper/wallpaper-0003.jpg",
  97. "http://api.iamrichardt.com/products/2936/resources/wallpaper/wallpaper-0004.jpg",
  98. "http://api.iamrichardt.com/products/2936/resources/wallpaper/wallpaper-0005.jpg",
  99. "http://api.iamrichardt.com/products/2936/resources/wallpaper/wallpaper-0006.jpg",
  100. }
  101.  
  102. Jasper.Settings.LiveBackgroundsEnabled = true
  103. Jasper.Settings.LiveBackgroundsList =
  104. {
  105. "http://api.iamrichardt.com/products/2936/resources/wallpaper/index.php?background=active_background_1.webm",
  106. "http://api.iamrichardt.com/products/2936/resources/wallpaper/index.php?background=active_background_2.webm",
  107. "http://api.iamrichardt.com/products/2936/resources/wallpaper/index.php?background=active_background_3.webm",
  108. "http://api.iamrichardt.com/products/2936/resources/wallpaper/index.php?background=active_background_4.webm",
  109. "http://api.iamrichardt.com/products/2936/resources/wallpaper/index.php?background=active_background_5.webm",
  110. }
  111.  
  112. --[[ PING CHECKER ----------------------------------------------------------------------------------
  113. The ping check system will notify a player once they are connected that their ping may be too high.
  114. This is simply just a notification system to the player.
  115. --------------------------------------------------------------------------------------------------]]
  116.  
  117. Jasper.Settings.Pinger.Enabled = true
  118. Jasper.Settings.Pinger.Threshold = 300
  119. Jasper.Settings.Pinger.Delay = 15
  120. Jasper.Settings.Pinger.NoticeTime = 10
  121. Jasper.Settings.Pinger.NoticeTextColor = Color(255, 255, 255, 255)
  122. Jasper.Settings.Pinger.NoticeTitle = "High Ping Alert"
  123. Jasper.Settings.Pinger.NoticeMessage = "Your ping appears to be higher than recommended."
  124.  
  125. --[[ CENTER | CIRCULAR GRAPHS ----------------------------------------------------------------------
  126. This section controls the center circular graph/avatar space.
  127. --------------------------------------------------------------------------------------------------]]
  128.  
  129. Jasper.Settings.StandingsPrimary =
  130. {
  131. StatsEnabled = true,
  132. ContainerColor = Color( 5, 5, 5, 200 ),
  133. CircleRadius = 130,
  134. CircleThickness = 20,
  135. CircleSAngle = 0,
  136. CircleEAngle = 360,
  137. CircleRoughness = 0,
  138. CircleColorPrimary = function()
  139. return Color(23, 51, 62, 255)
  140. end,
  141. CircleColorProgress = function()
  142. return Color( 205, 79, 3, 255 )
  143. end,
  144. ValueCurrent = function()
  145. return LocalPlayer():Health()
  146. end,
  147. ValueMax = function()
  148. return LocalPlayer():GetMaxHealth()
  149. end,
  150. errorStatus = function()
  151. // Error condition here
  152. end
  153. }
  154.  
  155. --[[ LEFT | CIRCULAR GRAPHS ------------------------------------------------------------------------
  156. This section controls the center circular graph.
  157. --------------------------------------------------------------------------------------------------]]
  158.  
  159. Jasper.Settings.StandingsLeft =
  160. {
  161. Enabled = true,
  162. ItemName = "K:D Ratio",
  163. ItemColor = Color(255,255,255,255),
  164. ContainerColor = Color( 5, 5, 5, 0 ),
  165. CircleRadius = 70,
  166. CircleThickness = 10,
  167. CircleSAngle = 0,
  168. CircleEAngle = 360,
  169. CircleRoughness = 0,
  170. CircleColorPrimary = function()
  171. return Color( 200, 29, 47, 255 )
  172. end,
  173. CircleColorProgress = function()
  174. return Color( 5, 155, 63, 255 )
  175. end,
  176. ValueCurrent = function()
  177. local getValueCurrent = LocalPlayer():Frags()
  178. return getValueCurrent
  179. end,
  180. ValueMax = function()
  181. local getValueMax = LocalPlayer():Frags() + LocalPlayer():Deaths()
  182. return getValueMax
  183. end,
  184. ValueText = function()
  185. function GetKillRatio( kills, deaths )
  186. local findRatio
  187. if deaths == 0 and kills == 0 then
  188. findRatio = 0.00
  189. else
  190. if deaths <= 0 then deaths = 1 end
  191.  
  192. findRatio = math.Round( kills / deaths, 2 )
  193.  
  194. if kills == 0 and deaths > 0 then
  195. findRatio = -deaths
  196. elseif kills == deaths then
  197. findRatio = 1
  198. elseif kills > 0 and deaths == 0 then
  199. findRatio = kills
  200. end
  201. end
  202.  
  203. return string.format("%.2f", findRatio)
  204. end
  205. local kdRatioInit = GetKillRatio(LocalPlayer():Frags(),LocalPlayer():Deaths())
  206. return kdRatioInit
  207. end,
  208. errorStatus = function()
  209. // Error condition here
  210. end
  211. }
  212.  
  213. --[[ RIGHT | CIRCULAR GRAPHS -----------------------------------------------------------------------
  214. This section controls the right circular graph.
  215. --------------------------------------------------------------------------------------------------]]
  216.  
  217. Jasper.Settings.StandingsRight =
  218. {
  219. Enabled = true,
  220. ItemName = "Ping",
  221. ItemColor = Color(255,255,255,255),
  222. ContainerColor = Color( 5, 5, 5, 0 ),
  223. CircleBackdropFill = Color( 25, 25, 25, 255 ),
  224. CircleRadius = 130,
  225. CircleThickness = 20,
  226. CircleSAngle = 0,
  227. CircleEAngle = 360,
  228. CircleRoughness = 0,
  229. CircleColorPrimary = function()
  230. return Color(23, 51, 62, 255)
  231. end,
  232. CircleColorProgress = function()
  233. local GetPlayerPing = LocalPlayer():Ping()
  234. local SetPingColor = Color(5, 155, 63, 255)
  235.  
  236. if GetPlayerPing < 100 then
  237. SetPingColor = Color( 5, 155, 63, 255 )
  238. elseif GetPlayerPing < 225 then
  239. SetPingColor = Color( 200, 200, 0, 255 )
  240. else
  241. SetPingColor = Color( 200, 29, 47, 255 )
  242. end
  243. return SetPingColor
  244. end,
  245. ValueCurrent = function()
  246. return LocalPlayer():Ping()
  247. end,
  248. ValueMax = function()
  249. return 300
  250. end,
  251. ValueText = function()
  252. return LocalPlayer():Ping()
  253. end,
  254. errorStatus = function()
  255. // Error condition here
  256. end
  257. }
  258.  
  259. --[[ TERMS AND CONDITIONS --------------------------------------------------------------------------
  260. This section controls the Terms and Conditions feature of this script. If enabled, when a player
  261. first connects to your server; they will be presented with a box that will appear in the center of
  262. screen. The player MUST click "Accept" in order to continue playing. If they click "Decline", they
  263. will be kicked from the server.
  264. --------------------------------------------------------------------------------------------------]]
  265.  
  266. Jasper.Settings.TermsEnabled = false
  267. Jasper.Settings.TermsBackground = "jasper/jasper_ui_paneltexture.jpg"
  268. Jasper.Settings.TermsDialogColor = Color( 0, 0, 0, 240 )
  269. Jasper.Settings.TermsColor = Color( 255, 255, 255, 255 )
  270. Jasper.Settings.TermsTitle = "Terms and Conditions"
  271. Jasper.Settings.TermsButtonAcceptDisagreeTall = 30
  272. Jasper.Settings.TermsButtonAcceptName = "Accept"
  273. Jasper.Settings.TermsButtonAcceptTextColor = Color( 255, 255, 255, 255 )
  274. Jasper.Settings.TermsButtonAcceptColor = Color( 64, 105, 126, 190 )
  275. Jasper.Settings.TermsButtonDeclineName = "Decline"
  276. Jasper.Settings.TermsButtonDeclineTextColor = Color( 255, 255, 255, 255 )
  277. Jasper.Settings.TermsButtonDeclineColor = Color( 124, 51, 50, 190 )
  278. Jasper.Settings.TermsDeclineConfirmTitle = "Are you sure?"
  279. Jasper.Settings.TermsDeclineConfirmTitleColor = Color(255, 255, 255, 255)
  280. Jasper.Settings.TermsDeclineConfirmText = "Declining our terms will disconnect you from the server. Are you sure?"
  281. Jasper.Settings.TermsDeclineConfirmTextColor = Color(255, 255, 255, 255)
  282. Jasper.Settings.TermsDeclineConfirmButtonTextColor = Color(255, 255, 255, 255)
  283. Jasper.Settings.TermsDeclineOption1Name = "No. return to Terms"
  284. Jasper.Settings.TermsDeclineOption2Name = "Yes. I want to leave"
  285.  
  286. Jasper.Settings.TermsCheckTitle = "Restricted Access"
  287. Jasper.Settings.TermsCheckMessage = "You must accept the Terms and Conditions for this Network before you can perform the requested action. If you do not accept, you must disconnect."
  288. Jasper.Settings.TermsCheckButtonText = "OK"
  289. Jasper.Settings.TermsCheckBoxColor = Color(124, 51, 50, 255)
  290. Jasper.Settings.TermsCheckButtonTextColor = Color( 255, 255, 255, 255 )
  291. Jasper.Settings.TermsCheckButtonColor = Color(64, 105, 126, 190)
  292. Jasper.Settings.TermsCheckTitleColor = Color(255, 255, 255, 255)
  293. Jasper.Settings.TermsCheckMessageColor = Color(255, 255, 255, 255)
  294.  
  295. Jasper.Settings.TermsText = [[
  296.  
  297. This Network provides its service to you, subject to the following Terms of Service (β€œTOS”),
  298. which may be updated by us ("the Network") from time to time without notice to you.
  299.  
  300. You may not institute an attack upon the Network servers or otherwise deliberately attempt
  301. to disrupt our servers. You may not institute any such attack which results in the disruption
  302. of any other player's client.
  303.  
  304. ANY ATTEMPT BY YOU OR ANY OTHER PLAYER ON AN ACCOUNT TRACEABLE TO YOU TO
  305. DELIBERATELY DAMAGE THE SERVERS OR UNDERMINE THE LEGITIMATE OPERATION OF
  306. OUR NETWORK IS A VIOLATION OF CRIMINAL AND CIVIL LAWS AND, SHOULD SUCH AN
  307. ATTEMPT BE MADE OR ASSISTANCE FOR SUCH AN ATTACK BE PROVIDED, WE RESERVE
  308. THE RIGHT TO SEEK DAMAGES FROM ANY SUCH USER TO THE FULLEST EXTENT
  309. PERMITTED BY LAW.
  310.  
  311. By joining our server - you ("the Player") agree to follow all rules set forth on this network.
  312. You agree to not cheat or use any type of 3rd party application which gives you an advantage
  313. over other players. You also understand that all staff members have the final say in a situation,
  314. which means should a staff member ask you to stop doing something on the server; we expect you to
  315. stop. Should you fail to follow the rules on our network, you understand that any staff member can
  316. kick or ban you with or without prior warning. By accepting the terms and conditions set forth
  317. herein, you also acknowledge and agree to your information being used by staff in the event that
  318. action must be taken against you. Such information includes your Unique ID, Steam Profile ID,
  319. and your IP address. Finally, by accepting these terms, you agree that you may not hold the
  320. Network responsible for content which is downloaded to your machine either via FastDL or through
  321. Steam Workshop collections, which if at any time, causes damage to your system. Such damage
  322. includes but is not limited to data loss, odd behavior, or any status of your machine not
  323. operating within it's normal expected boundaries.
  324.  
  325. ]]
  326.  
  327. --[[ DELAY TIMER -----------------------------------------------------------------------------------
  328. This feature makes it to where when a player connects; a timer will count-down before the player is
  329. able to close the MOTD. Sometimes this is useful for server owners who want people to actually look
  330. at the MOTD and not just skip past it. It's usually good also for making sure people read the terms.
  331. --------------------------------------------------------------------------------------------------]]
  332.  
  333. Jasper.Settings.DelayTimer = false
  334. Jasper.Settings.DelayTimerSeconds = 20
  335. Jasper.Settings.DelayTimerTextColor = Color(34, 188, 240, 255)
  336.  
  337. --[[ GAME TRACKER WIDGET ---------------------------------------------------------------------------
  338. The Game-Tracker Widget will display a box to the far left (unless you change the position yourself)
  339. side of the MOTD. It includes information that Game-Tracker would normally display such as how many
  340. players are on your server. A usage graph, the current map and photo, and a few other things.
  341.  
  342. In order to get this to work, you MUST put your hostname/IP inside Jasper.Settings.GTServerHostIP
  343. Also, please make sure your server is registered on Game-Tracker, otherwise it won't return any
  344. results.
  345. --------------------------------------------------------------------------------------------------]]
  346.  
  347. Jasper.Settings.GTEnabled = false -- Enable gametracker widget?
  348. Jasper.Settings.GTHeight = 436 -- Height of the widget (YOU MUST CHANGE THIS IF THE SIZE OF YOUR WIDGET IS DIFFERENT)
  349. Jasper.Settings.GTWidth = 160 -- Width of the widget (YOU MUST CHANGE THIS IF THE SIZE OF YOUR WIDGET IS DIFFERENT)
  350. Jasper.Settings.GTPos_X = 20 -- The X axis position (Left > Right)
  351. Jasper.Settings.GTPos_Y = 20 -- The Y axis position (Up > Down)
  352. Jasper.Settings.GTServerHostIP = "RP.SuperiorServers.co:27015" -- Your server hostname/ip.
  353. Jasper.Settings.GTCode = '<a href="http://www.gametracker.com/server_info/' .. Jasper.Settings.GTServerHostIP .. '/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/' .. Jasper.Settings.GTServerHostIP .. '/b_160_400_2_ffffff_c5c5c5_ff9900_000000_1_1_1.png" border="0" width="160" height="436" alt=""/></a>'
  354.  
  355. --[[ LANGUAGE ENTRIES ------------------------------------------------------------------------------
  356. These are basic language entries that aren't set anywhere else in the config.
  357. --------------------------------------------------------------------------------------------------]]
  358.  
  359. Jasper.Language.Welcome = "Welcome"
  360. Jasper.Language.Servers = "SERVERS"
  361. Jasper.Language.Player = "Player"
  362. Jasper.Language.ServersSubheader = "Browse other servers within our network -- to connect, simply click on the box."
  363.  
  364. --[[ MENU BUTTONS > TITLES AND LINKS ---------------------------------------------------------------
  365. These settings control the actual button text, and the links that will open when a button is
  366. pressed.
  367. --------------------------------------------------------------------------------------------------]]
  368.  
  369. Jasper.Settings.MenuTextRules = "Network Rules"
  370. Jasper.Settings.MenuLinkRules = "https://egncommunity.com/forums/index.php/topic,3.0.html"
  371. Jasper.Settings.MenuDescRules = "Failing to abide by our Network Rules can result in a ban."
  372.  
  373. Jasper.Settings.MenuTextDonate = "Donate to Network"
  374. Jasper.Settings.MenuLinkDonate = "https://egncommunity.com/donate/"
  375. Jasper.Settings.MenuDescDonate = "Help keep us going with a donation to our Network."
  376.  
  377. Jasper.Settings.MenuTextWebsite = "Welcome"
  378. Jasper.Settings.MenuLinkWebsite = "http://egncommunity.com/"
  379. Jasper.Settings.MenuDescWebsite = "View our official website for important information."
  380.  
  381. Jasper.Settings.MenuTextWorkshop = "Workshop Collection"
  382. Jasper.Settings.MenuLinkWorkshop = "http://steamcommunity.com/"
  383. Jasper.Settings.MenuDescWorkshop = "Missing textures? Download the contents from our Steam Workshop Collection."
  384.  
  385. Jasper.Settings.MenuTextGroup = "Network Steam Group"
  386. Jasper.Settings.MenuLinkGroup = "http://steamcommunity.com/groups/egncommunity"
  387. Jasper.Settings.MenuDescGroup = "Join our steam group to be part of our community."
  388.  
  389. --[[ MENU BUTTONS > COLORIZATION & FUNCTIONALITY ---------------------------------------------------
  390. These settings control how buttons look and behave.
  391. --------------------------------------------------------------------------------------------------]]
  392.  
  393. Jasper.Settings.Buttons = {
  394. {
  395. enabled = true,
  396. name = Jasper.Settings.MenuTextRules or "Rules",
  397. icon = "jasper/jasper_ui_button_rules.png",
  398. func = function()
  399. Jasper:OpenExternal( Jasper.Settings.MenuTextRules, Jasper.Settings.RulesText, Jasper.Settings.MenuDescRules, true )
  400. end,
  401. buttonNormal = Color( 255, 255, 255, 255 ),
  402. buttonHover = Color( 205, 79, 3, 255 ),
  403. textNormal = Color( 255, 255, 255, 255 ),
  404. textHover = Color( 255, 255, 255, 255 ),
  405. hoverSoundEnabled = true,
  406. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  407. onLoad = false
  408. },
  409. {
  410. enabled = false,
  411. name = Jasper.Settings.MenuTextRules or "Rules",
  412. icon = "jasper/jasper_ui_button_rules.png",
  413. func = function()
  414. Jasper:OpenExternal( Jasper.Settings.MenuTextRules, Jasper.Settings.MenuLinkRules, Jasper.Settings.MenuDescRules, false )
  415. end,
  416. buttonNormal = Color( 255, 255, 255, 255 ),
  417. buttonHover = Color( 205, 79, 3, 255 ),
  418. textNormal = Color( 255, 255, 255, 255 ),
  419. textHover = Color( 255, 255, 255, 255 ),
  420. hoverSoundEnabled = true,
  421. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  422. onLoad = false
  423. },
  424. {
  425. enabled = true,
  426. name = Jasper.Settings.MenuTextDonate or "Donate",
  427. icon = "jasper/jasper_ui_button_donate.png",
  428. func = function()
  429. Jasper:OpenExternal( Jasper.Settings.MenuTextDonate, Jasper.Settings.MenuLinkDonate, Jasper.Settings.MenuDescDonate, false )
  430. end,
  431. buttonNormal = Color( 255, 255, 255, 255 ),
  432. buttonHover = Color( 205, 79, 3, 255 ),
  433. textNormal = Color( 255, 255, 255, 255 ),
  434. textHover = Color( 255, 255, 255, 255 ),
  435. hoverSoundEnabled = true,
  436. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  437. onLoad = false
  438. },
  439. {
  440. enabled = true,
  441. name = Jasper.Settings.MenuTextWebsite or "Official Website",
  442. icon = "jasper/jasper_ui_button_website.png",
  443. func = function()
  444. Jasper:OpenExternal( Jasper.Settings.MenuTextWebsite, Jasper.Settings.MenuLinkWebsite, Jasper.Settings.MenuDescWebsite, false )
  445. end,
  446. buttonNormal = Color( 255, 255, 255, 255 ),
  447. buttonHover = Color( 205, 79, 3, 255 ),
  448. textNormal = Color( 255, 255, 255, 255 ),
  449. textHover = Color( 255, 255, 255, 255 ),
  450. hoverSoundEnabled = true,
  451. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  452. onLoad = false
  453. },
  454. {
  455. enabled = true,
  456. name = Jasper.Settings.MenuTextWorkshop or "Steam Workshop",
  457. icon = "jasper/jasper_ui_button_workshop.png",
  458. func = function()
  459. Jasper:OpenExternal( Jasper.Settings.MenuTextWorkshop, Jasper.Settings.MenuLinkWorkshop, Jasper.Settings.MenuDescWorkshop, false )
  460. end,
  461. buttonNormal = Color( 255, 255, 255, 255 ),
  462. buttonHover = Color( 205, 79, 3, 255 ),
  463. textNormal = Color( 255, 255, 255, 255 ),
  464. textHover = Color( 255, 255, 255, 255 ),
  465. hoverSoundEnabled = true,
  466. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  467. onLoad = false
  468. },
  469. {
  470. enabled = true,
  471. name = Jasper.Settings.MenuTextGroup or "Steam Group",
  472. icon = "jasper/jasper_ui_button_steam.png",
  473. func = function ()
  474. Jasper:OpenExternal( Jasper.Settings.MenuTextGroup, Jasper.Settings.MenuLinkGroup, Jasper.Settings.MenuDescGroup, false )
  475. end,
  476. buttonNormal = Color( 255, 255, 255, 255 ),
  477. buttonHover = Color( 205, 79, 3, 255 ),
  478. textNormal = Color( 255, 255, 255, 255 ),
  479. textHover = Color( 255, 255, 255, 255 ),
  480. hoverSoundEnabled = true,
  481. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  482. onLoad = false
  483. },
  484. {
  485. enabled = true,
  486. name = "Console",
  487. icon = "jasper/jasper_ui_button_console.png",
  488. func = function()
  489. RunConsoleCommand("showconsole")
  490. timer.Simple( 0, function() RunConsoleCommand("gameui_activate") end )
  491. end,
  492. buttonNormal = Color( 255, 255, 255, 255 ),
  493. buttonHover = Color( 205, 79, 3, 255 ),
  494. textNormal = Color( 255, 255, 255, 255 ),
  495. textHover = Color( 255, 255, 255, 255 ),
  496. hoverSoundEnabled = true,
  497. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  498. onLoad = false
  499. }
  500. }
  501.  
  502. --[[ MENU BUTTONS > RULES --------------------------------------------------------------------------
  503. This area is related to the TEXT VERSION of rules.
  504. --------------------------------------------------------------------------------------------------]]
  505.  
  506. Jasper.Settings.RulesTextColor = Color(255, 255, 255, 255)
  507. Jasper.Settings.RulesText = [[
  508.  
  509. ----DO NOT DO THE FOLLOWING----
  510. [x] No ghosting while in spectator mode or when dead
  511. [x] No racist or sexually abusive comments toward others
  512. [x] No impersonating staff members
  513. [x] No being disrespectful to other players or staff
  514. [x] No threatening to DDoS or take down our network [perm-ban and IP logging]
  515. [x] No asking for other players personal information (IE: home address, phone number)
  516. [x] No blocking doors or denying players access to a part of the map.
  517. [x] No abusing the !unstuck command.
  518. [x] No prop-killing.
  519. [x] No hiding in areas as a prop that hunters cannot access or see.
  520. [x] No mic or chat spamming.
  521.  
  522. ----INFRACTION CONSEQUENCES----
  523. The following actions may be taken in this order [unless violating a more serious offense]:
  524.  
  525. [-] Player shall be warned about the rule they have broken.
  526. [-] Will be kicked from the server if they continue to break a rule.
  527. [-] A ban will be issued for a term of 3-5 days (depending on what occured)
  528. [-] A permanent ban will be issued and shall not be removed
  529. [-] Bypassing a server ban will result in a GLOBAL BAN from ALL servers within our network including denied access to our website
  530.  
  531. ]]
  532.  
  533. --[[ NEWS TICKER -----------------------------------------------------------------------------------
  534. These settings control how the News Ticker functions. The news ticker is located at the bottom of
  535. any "Browser" panel, such as when viewing the rules, the Terms and Conditions, clicking a link, or
  536. viewing the servers.
  537. --------------------------------------------------------------------------------------------------]]
  538.  
  539. Jasper.Settings.TickerEnabled = true
  540. Jasper.Settings.TickerSpeed = 1.0
  541. Jasper.Settings.TickerDelayPerMessage = 10
  542. Jasper.Settings.TickerText = Color( 255, 255, 255, 255 )
  543. Jasper.Settings.TickerNews =
  544. {
  545. "Participate in our weekend Staff VS Players events - each Friday of every week from 7pm - 8pm PST.",
  546. "Want to apply for staff? Type !application and fill in the required information.",
  547. }
  548.  
  549. --[[ SERVER LISTINGS -------------------------------------------------------------------------------
  550. This area controls your server listings. Servers can be viewed by clicking the "CLOUD ICON" located
  551. in the bottom of the middle avatar circle.
  552.  
  553. If Jasper.Settings.ServersEnabled = false - The Cloud Icon will NOT disable at all.
  554. --------------------------------------------------------------------------------------------------]]
  555.  
  556. Jasper.Settings.ServersEnabled = false
  557. Jasper.Settings.ServersBackground = "jasper/jasper_ui_paneltexture.jpg"
  558. Jasper.Settings.ServersButtonOuterColor = Color( 35, 35, 35, 255 )
  559. Jasper.Settings.ServersButtonInnerColor = Color( 25, 25, 25, 255 )
  560.  
  561. Jasper.Settings.Servers = {
  562. {
  563. enabled = true,
  564. hostname = "TTT SERVER",
  565. backgroundEnabled = true,
  566. background = "jasper/bg/gmod-bg-1.png",
  567. desc = "Enjoy our TTT server, complete with custom addons and all around killing!",
  568. descColor = Color( 255, 255, 255, 255 ),
  569. ip = "192.168.1.55:28015",
  570. boxWatermarkEnabled = true,
  571. boxWatermarkImage = "jasper/jasper_ui_pattern.png",
  572. boxWatermarkColor = Color( 10, 10, 10, 100 ),
  573. boxColor = Color(10, 10, 10, 200),
  574. boxColorHover = Color(10, 10, 10, 240),
  575. boxBorderColor = Color(255, 255, 255, 255),
  576. ipTextColor = Color(255,255,255,255),
  577. textColor = Color(255, 255, 255, 255),
  578. textColorHover = Color( 255, 255, 255, 255 ),
  579. hoverSoundEnabled = true,
  580. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  581. },
  582. {
  583. enabled = true,
  584. hostname = "SANDBOX SERVER",
  585. backgroundEnabled = true,
  586. background = "jasper/bg/gmod-bg-2.png",
  587. desc = "Enjoy our Sandbox server, complete with custom addons and all around building!",
  588. descColor = Color( 255, 255, 255, 255 ),
  589. ip = "192.168.1.55:28015",
  590. boxWatermarkEnabled = true,
  591. boxWatermarkImage = "jasper/jasper_ui_pattern.png",
  592. boxWatermarkColor = Color( 10, 10, 10, 100 ),
  593. boxColor = Color(10, 10, 10, 200),
  594. boxColorHover = Color(10, 10, 10, 240),
  595. boxBorderColor = Color(255, 255, 255, 255),
  596. ipTextColor = Color(255,255,255,255),
  597. textColor = Color(255, 255, 255, 255),
  598. textColorHover = Color( 255, 255, 255, 255 ),
  599. hoverSoundEnabled = true,
  600. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  601. },
  602. {
  603. enabled = true,
  604. hostname = "PROPHUNT SERVER",
  605. backgroundEnabled = true,
  606. background = "jasper/bg/gmod-bg-3.png",
  607. desc = "Enjoy our Sandbox server, complete with custom models and all around killing!",
  608. descColor = Color( 255, 255, 255, 255 ),
  609. ip = "192.168.1.55:28015",
  610. boxWatermarkEnabled = true,
  611. boxWatermarkImage = "jasper/jasper_ui_pattern.png",
  612. boxWatermarkColor = Color( 10, 10, 10, 100 ),
  613. boxColor = Color(10, 10, 10, 200),
  614. boxColorHover = Color(10, 10, 10, 240),
  615. boxBorderColor = Color(255, 255, 255, 255),
  616. ipTextColor = Color(255,255,255,255),
  617. textColor = Color(255, 255, 255, 255),
  618. textColorHover = Color( 255, 255, 255, 255 ),
  619. hoverSoundEnabled = true,
  620. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  621. },
  622. {
  623. enabled = true,
  624. hostname = "STRONGHOLD SERVER",
  625. backgroundEnabled = true,
  626. background = "jasper/bg/gmod-bg-4.png",
  627. desc = "Enjoy our Sandbox server, complete with custom addons and all around killing!",
  628. descColor = Color( 255, 255, 255, 255 ),
  629. ip = "192.168.1.55:28015",
  630. boxWatermarkEnabled = true,
  631. boxWatermarkImage = "jasper/jasper_ui_pattern.png",
  632. boxWatermarkColor = Color( 10, 10, 10, 100 ),
  633. boxColor = Color(10, 10, 10, 200),
  634. boxColorHover = Color(10, 10, 10, 240),
  635. boxBorderColor = Color(255, 255, 255, 255),
  636. ipTextColor = Color(255,255,255,255),
  637. textColor = Color(255, 255, 255, 255),
  638. textColorHover = Color( 255, 255, 255, 255 ),
  639. hoverSoundEnabled = true,
  640. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  641. },
  642. {
  643. enabled = true,
  644. hostname = "DARKRP SERVER",
  645. backgroundEnabled = true,
  646. background = "jasper/bg/gmod-bg-5.png",
  647. desc = "Enjoy our Sandbox server, complete with custom addons and all around fun!",
  648. descColor = Color( 255, 255, 255, 255 ),
  649. ip = "192.168.1.55:28015",
  650. boxWatermarkEnabled = true,
  651. boxWatermarkImage = "jasper/jasper_ui_pattern.png",
  652. boxWatermarkColor = Color( 10, 10, 10, 100 ),
  653. boxColor = Color(10, 10, 10, 200),
  654. boxColorHover = Color(10, 10, 10, 240),
  655. boxBorderColor = Color(255, 255, 255, 255),
  656. ipTextColor = Color(255,255,255,255),
  657. textColor = Color(255, 255, 255, 255),
  658. textColorHover = Color( 255, 255, 255, 255 ),
  659. hoverSoundEnabled = true,
  660. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  661. },
  662. {
  663. enabled = true,
  664. hostname = "MURDER SERVER",
  665. backgroundEnabled = true,
  666. background = "jasper/bg/gmod-bg-6.png",
  667. desc = "Enjoy our Sandbox server, complete with custom addons and all around... well murder!",
  668. descColor = Color( 255, 255, 255, 255 ),
  669. ip = "192.168.1.55:28015",
  670. boxWatermarkEnabled = true,
  671. boxWatermarkImage = "jasper/jasper_ui_pattern.png",
  672. boxWatermarkColor = Color( 10, 10, 10, 100 ),
  673. boxColor = Color(10, 10, 10, 200),
  674. boxColorHover = Color(10, 10, 10, 240),
  675. boxBorderColor = Color(255, 255, 255, 255),
  676. ipTextColor = Color(255,255,255,255),
  677. textColor = Color(255, 255, 255, 255),
  678. textColorHover = Color( 255, 255, 255, 255 ),
  679. hoverSoundEnabled = true,
  680. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  681. },
  682. {
  683. enabled = true,
  684. hostname = "ZOMBIE SURVIVAL SERVER",
  685. backgroundEnabled = true,
  686. background = "jasper/bg/gmod-bg-7.png",
  687. desc = "Enjoy our Sandbox server, complete with custom addons and all around... well murder!",
  688. descColor = Color( 255, 255, 255, 255 ),
  689. ip = "192.168.1.55:28015",
  690. boxWatermarkEnabled = true,
  691. boxWatermarkImage = "jasper/jasper_ui_pattern.png",
  692. boxWatermarkColor = Color( 10, 10, 10, 100 ),
  693. boxColor = Color(10, 10, 10, 200),
  694. boxColorHover = Color(10, 10, 10, 240),
  695. boxBorderColor = Color(255, 255, 255, 255),
  696. ipTextColor = Color(255,255,255,255),
  697. textColor = Color(255, 255, 255, 255),
  698. textColorHover = Color( 255, 255, 255, 255 ),
  699. hoverSoundEnabled = true,
  700. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  701. },
  702. {
  703. enabled = true,
  704. hostname = "CINEMA SERVER",
  705. backgroundEnabled = true,
  706. background = "jasper/bg/gmod-bg-8.png",
  707. desc = "Enjoy our Sandbox server, complete with custom addons and all around... well murder!",
  708. descColor = Color( 255, 255, 255, 255 ),
  709. ip = "192.168.1.55:28015",
  710. boxWatermarkEnabled = true,
  711. boxWatermarkImage = "jasper/jasper_ui_pattern.png",
  712. boxWatermarkColor = Color( 10, 10, 10, 100 ),
  713. boxColor = Color(10, 10, 10, 200),
  714. boxColorHover = Color(10, 10, 10, 240),
  715. boxBorderColor = Color(255, 255, 255, 255),
  716. ipTextColor = Color(255,255,255,255),
  717. textColor = Color(255, 255, 255, 255),
  718. textColorHover = Color( 255, 255, 255, 255 ),
  719. hoverSoundEnabled = true,
  720. hoverSoundSrc = "jasper/jasper_onmousehover.mp3",
  721. },
  722. }
  723.  
  724. --[[ SERVER LISTINGS > CONFIRMATION ----------------------------------------------------------------
  725. These settings control how the server confirmation box is displayed. This box appears when a player
  726. tries to click on a server within the "SERVER LISTING" in order to connect to it.
  727. --------------------------------------------------------------------------------------------------]]
  728.  
  729. Jasper.Settings.ServersConfirm = {
  730. BlurBackgroundColor = Color( 15, 15, 15, 230 ),
  731. BoxColor = Color( 10, 10, 10, 230 ),
  732. TitleTextColor = Color(255, 255, 255, 255),
  733. MessageTextColor = Color(255, 255, 255, 255),
  734. OptionAgreeText = "Yes, connect me",
  735. OptionAgreeTextColor = Color(255, 255, 255, 255),
  736. OptionAgreeBtnColor = Color(64, 105, 126, 190),
  737. OptionDisagreeText = "No, stay here",
  738. OptionDisagreeTextColor = Color(255, 255, 255, 255),
  739. OptionDisagreeBtnColor = Color(124, 51, 50, 190),
  740. }
  741.  
  742. --[[ INTEGRATED WEB BROWSER ------------------------------------------------------------------------
  743. These settings control what the integrated browser / rules box will look like when it's toggled.
  744. --------------------------------------------------------------------------------------------------]]
  745.  
  746. Jasper.Settings.BrowserShowNavBar = true
  747. Jasper.Settings.BrowserColor = Color( 25, 25, 25, 255 )
  748. Jasper.Settings.BrowserTitleTextColor = Color(255, 255, 255, 255)
  749. Jasper.Settings.BrowserCloseButtonColor = Color( 255, 255, 255, 255 )
  750. Jasper.Settings.BrowserMaterial = "jasper/jasper_ui_paneltexture.jpg"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement