Skip to content

Instantly share code, notes, and snippets.

-- ======= Copyright (c) 2003-2013, Unknown Worlds Entertainment, Inc. All rights reserved. =====
--
-- lua\menu\GUIMainMenuNews.lua
--
-- Created by: Brian Cronin (brianc@unknownworlds.com)
--
-- ========= For more information, visit us at http://www.unknownworlds.com =====================
local widthFraction = 0.4
local newsAspect = 1.2/1
@GhoulofGSG9
GhoulofGSG9 / shineplugin.lua
Last active August 27, 2016 07:05
long block comment (?) crashes shine
-- A Shine plugin to enable and disable server mods in-game.
--
-- The config will have a list of mod hexes, each with a string and a boolean attribute.
-- The config will pull mods from MapCycle.json or mods can be manually added to the config.
-- The config list is just so shine's gui has something to pull from.
-- Manually editing true/false will be overwritten at plugin load when it reads from MapCycle.json.
-- TODO: hookup shine's gui admin menu
-- TODO: remove boolean from config as it's useless for the end user
local Shine = Shine