Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.27 KB | None | 0 0
  1. local cfg = SpectreMOTD.Config
  2. //Spectre MOTD, made by Threebow.
  3. //https://www.threebow.com
  4. //------------------------------
  5.  
  6. /*---------------------------------------------------------------------------
  7. Button Config
  8. Here, you are able to configure the main buttons that show
  9. along the bottom of the MOTD. If you aren't using a button,
  10. simply its "enabled" property from "true" to "false". Spectre
  11. MOTD will adapt to the new amount of buttons.
  12.  
  13. You can also add more buttons as you wish, just copy and paste
  14. an existing button and change its URL.
  15.  
  16. For icons, simply set a direct URL to a png image and Spectre
  17. MOTD will download and save the icons automatically. We have
  18. already provided icons for the most commonly used buttons,
  19. just copy and paste one!
  20.  
  21. Website: https://licensing.threebow.com/scripts/spectre-motd/images/buttons/website.png
  22. Forums: https://licensing.threebow.com/scripts/spectre-motd/images/buttons/forums.png
  23. Donate: https://licensing.threebow.com/scripts/spectre-motd/images/buttons/donate.png
  24. Rules: https://licensing.threebow.com/scripts/spectre-motd/images/buttons/rules.png
  25. Servers: https://licensing.threebow.com/scripts/spectre-motd/images/buttons/servers.png
  26. More: https://licensing.threebow.com/scripts/spectre-motd/images/buttons/more.png
  27. Play: https://licensing.threebow.com/scripts/spectre-motd/images/buttons/play.png
  28. ---------------------------------------------------------------------------*/
  29. cfg.Buttons = {
  30. {
  31. label = "Website",
  32. url = "https://seyfert.gg",
  33. icon = "https://licensing.threebow.com/scripts/spectre-motd/images/buttons/website.png",
  34. enabled = true
  35. },
  36. {
  37. label = "Forums",
  38. url = "https://forum.seyfert.gg",
  39. icon = "https://licensing.threebow.com/scripts/spectre-motd/images/buttons/forums.png",
  40. enabled = true
  41. },
  42. {
  43. label = "Donate",
  44. url = "https://store.seyfert.gg",
  45. icon = "https://licensing.threebow.com/scripts/spectre-motd/images/buttons/donate.png",
  46. enabled = true
  47. },
  48. {
  49. label = "Rules",
  50. url = "https://tbh",
  51. icon = "https://licensing.threebow.com/scripts/spectre-motd/images/buttons/rules.png",
  52. enabled = true
  53. },
  54. {
  55. label = "Servers",
  56. servers = true,
  57. icon = "https://licensing.threebow.com/scripts/spectre-motd/images/buttons/servers.png",
  58. enabled = true
  59. },
  60. {
  61. label = "More",
  62. links = true,
  63. icon = "https://licensing.threebow.com/scripts/spectre-motd/images/buttons/more.png",
  64. enabled = true
  65. },
  66. {
  67. label = "Play",
  68. play = true,
  69. icon = "https://licensing.threebow.com/scripts/spectre-motd/images/buttons/play.png"
  70. }
  71. }
  72.  
  73.  
  74. /*---------------------------------------------------------------------------
  75. Link Config
  76. These links appear under the "More" button in Spectre MOTD.
  77. You can put things like links to your discord server, your
  78. steam group, your workshop collection, etc. Basically, things
  79. that you'd like to include in your MOTD, but that are too
  80. insignificant to include in the main buttons. For icons, just set
  81. the URL to any valid png image. We provide the following icons
  82. for you, for the following common uses - just copy and paste one!
  83.  
  84. Discord: https://licensing.threebow.com/scripts/spectre-motd/images/links/discord.png
  85. Steam Group: https://licensing.threebow.com/scripts/spectre-motd/images/links/steam.png
  86. Workshop Collection: https://licensing.threebow.com/scripts/spectre-motd/images/links/workshop.png
  87. ---------------------------------------------------------------------------*/
  88. cfg.Links = {
  89. {
  90. title = "Discord",
  91. description = "Join our Discord server for the memes and be apart of our family!",
  92. icon = "https://licensing.threebow.com/scripts/spectre-motd/images/links/discord.png",
  93. color = Color(114, 137, 218, 255),
  94. url = "https://discord.gg/urrhd85"
  95. },
  96. {
  97. title = "Steam Group",
  98. description = "Join our Steam group and become apart of the family",
  99. icon = "https://licensing.threebow.com/scripts/spectre-motd/images/links/steam.png",
  100. color = Color(36, 90, 160, 255),
  101. url = "https://steamcommunity.com/groups/SeyfertServers"
  102. },
  103. {
  104. title = "Workshop Collection",
  105. description = "Subscribe to our workshop collection so that you don't see any error models!",
  106. icon = "https://licensing.threebow.com/scripts/spectre-motd/images/links/workshop.png",
  107. color = Color(49, 198, 82, 255),
  108. url = "https://steamcommunity.com/sharedfiles/filedetails/?id=1657491647"
  109. }
  110. }
  111.  
  112.  
  113. /*---------------------------------------------------------------------------
  114. Server Config
  115. Here, you can configure your servers. These appear in the servers
  116. button in the main MOTD, and when an entry is clicked, the player
  117. will automatically redirect to that server. For icons, just set
  118. the URL to any valid png image. We provide the following icons
  119. for you, for the following gamemodes - just copy and paste one!
  120.  
  121. DarkRP: https://licensing.threebow.com/scripts/spectre-motd/images/servers/darkrp.png
  122. MilitaryRP: https://licensing.threebow.com/scripts/spectre-motd/images/servers/militaryrp.png
  123. Murder: https://licensing.threebow.com/scripts/spectre-motd/images/servers/murder.png
  124. PoliceRP: https://licensing.threebow.com/scripts/spectre-motd/images/servers/policerp.png
  125. Sandbox: https://licensing.threebow.com/scripts/spectre-motd/images/servers/sandbox.png
  126. StarwarsRP: https://licensing.threebow.com/scripts/spectre-motd/images/servers/starwarsrp.png
  127. Team Deathmatch: https://licensing.threebow.com/scripts/spectre-motd/images/servers/tdm.png
  128. TTT: https://licensing.threebow.com/scripts/spectre-motd/images/servers/ttt.png
  129.  
  130. If you wish to disable this entirely, find the "servers" button
  131. in the button configuration and set the "enabled" property to false.
  132. ---------------------------------------------------------------------------*/
  133. cfg.Servers = {
  134. {
  135. title = "StarwarsRP",
  136. description = "Our Star Wars Roleplay Server",
  137. icon = "https://licensing.threebow.com/scripts/spectre-motd/images/servers/starwarsrp.png",
  138. color = Color(255, 0, 0, 255),
  139. address = "54.37.242.134:27015"
  140. }
  141. }
  142.  
  143.  
  144. /*---------------------------------------------------------------------------
  145. URLs to PNG images used in the MOTD, use this to insert your own custom
  146. icons. Keep them as the size noted, or you will notice artifacting.
  147. ---------------------------------------------------------------------------*/
  148. cfg.Materials = {
  149. Settings = "http://licensing.threebow.com/scripts/spectre-motd/images/settings.png", //64px, settings
  150. News = "http://licensing.threebow.com/scripts/spectre-motd/images/news.png" //64px, news
  151. }
  152.  
  153.  
  154. /*---------------------------------------------------------------------------
  155. Who can configure the MOTD? You can insert the following here:
  156. - SteamID (STEAM_0:1:63139201)
  157. - SteamID64 (76561198086544131)
  158. - Usergroup (Community Director)
  159. - Usergroup (Community Manager)
  160. ---------------------------------------------------------------------------*/
  161. cfg.AllowedUsers = {
  162. ["Community Director"] = true
  163. ["Community Manager"] = true
  164. }
  165.  
  166.  
  167. /*---------------------------------------------------------------------------
  168. Should the news functionality be enabled? The actual news is configured
  169. in-game.
  170. ---------------------------------------------------------------------------*/
  171. cfg.NewsEnabled = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement