mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Well I tried this is going to need a refactor ;-;
This commit is contained in:
83
control.lua
83
control.lua
@@ -1,4 +1,4 @@
|
||||
-- not_luadoc=true
|
||||
--[[ not_luadoc=true
|
||||
function _log(...) log(...) end -- do not remove this is used for smaller verbose lines
|
||||
Manager = require("FactorioSoftmodManager")
|
||||
Manager.setVerbose{
|
||||
@@ -12,21 +12,92 @@ Manager.setVerbose{
|
||||
output=Manager._verbose -- can be: can be: print || log || other function
|
||||
}
|
||||
Manager() -- can be Manager.loadModules() if called else where
|
||||
]]
|
||||
|
||||
|
||||
--[[
|
||||
require 'utils.data_stages'
|
||||
local Container = require 'container'
|
||||
Container = require 'container'
|
||||
Container.debug=false
|
||||
Container.logLevel=Container.defines.logAll
|
||||
Container.safeError=true
|
||||
Container.handlers = {
|
||||
require=function(path,env,...)
|
||||
env = env or {}
|
||||
local success, rtn, sandbox_env = Container.sandbox(_R.require,env,path,...)
|
||||
return rtn
|
||||
end,
|
||||
Event='utils.event',
|
||||
Global='utils.global',
|
||||
error=error,
|
||||
--error=error,
|
||||
logging=function(...) log(...) end,
|
||||
tableToString=serpent.line
|
||||
}
|
||||
Container.loadHandlers()
|
||||
Container.files = {
|
||||
'modules.test'
|
||||
'AdvancedStartingItems',
|
||||
'ChatPopup',
|
||||
'DamagePopup',
|
||||
'DeathMarkers',
|
||||
'DeconControl',
|
||||
'ExpGamingAdmin',
|
||||
'ExpGamingBot',
|
||||
'ExpGamingCommands',
|
||||
'ExpGamingCore',
|
||||
'ExpGamingInfo',
|
||||
'ExpGamingLib',
|
||||
'ExpGamingPlayer',
|
||||
'FactorioStdLib',
|
||||
'GameSettingsGui',
|
||||
'GuiAnnouncements',
|
||||
'PlayerAutoColor',
|
||||
'SpawnArea',
|
||||
'WarpPoints',
|
||||
'WornPaths',
|
||||
'ExpGamingAdmin.Gui',
|
||||
'ExpGamingAdmin.Ban',
|
||||
'ExpGamingAdmin.Reports',
|
||||
'ExpGamingAdmin.ClearInventory',
|
||||
'ExpGamingAdmin.TempBan',
|
||||
'ExpGamingAdmin.Teleport',
|
||||
'ExpGamingAdmin.Commands',
|
||||
'ExpGamingAdmin.Jail',
|
||||
'ExpGamingAdmin.Warnings',
|
||||
'ExpGamingAdmin.Kick',
|
||||
'ExpGamingBot.autoMessage',
|
||||
'ExpGamingBot.discordAlerts',
|
||||
'ExpGamingBot.autoChat',
|
||||
'ExpGamingCommands.cheatMode',
|
||||
'ExpGamingCommands.repair',
|
||||
'ExpGamingCommands.tags',
|
||||
'ExpGamingCommands.home',
|
||||
'ExpGamingCore.Command',
|
||||
'ExpGamingCommands.teleport',
|
||||
'ExpGamingCommands.bonus',
|
||||
'ExpGamingCommands.kill',
|
||||
'ExpGamingCore.Server',
|
||||
'ExpGamingCore.Gui',
|
||||
'ExpGamingInfo.Science',
|
||||
'ExpGamingPlayer.playerList',
|
||||
'ExpGamingCore.Sync',
|
||||
'ExpGamingCore.Role',
|
||||
'ExpGamingInfo.Readme',
|
||||
'ExpGamingInfo.Rockets',
|
||||
'ExpGamingCore.Group',
|
||||
'ExpGamingInfo.Tasklist',
|
||||
'ExpGamingPlayer.playerInfo',
|
||||
'ExpGamingPlayer.afkKick',
|
||||
'FactorioStdLib.Table',
|
||||
'ExpGamingPlayer.polls',
|
||||
'FactorioStdLib.Color',
|
||||
'FactorioStdLib.Game',
|
||||
'FactorioStdLib.String',
|
||||
'ExpGamingPlayer.inventorySearch',
|
||||
'ExpGamingCore.Gui.center',
|
||||
'ExpGamingCore.Gui.popup',
|
||||
'ExpGamingCore.Gui.toolbar',
|
||||
'ExpGamingCore.Gui.left',
|
||||
'ExpGamingCore.Gui.inputs'
|
||||
}
|
||||
Container.loadFiles()
|
||||
]]
|
||||
Container.initFiles()
|
||||
Container.postFiles()
|
||||
Reference in New Issue
Block a user