Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
local Plugin = {}
Shine:RegisterExtension("modselector", Plugin)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment