Cleaned Config Files

This commit is contained in:
Cooldude2606
2019-03-22 21:56:34 +00:00
parent ad97fafa97
commit 5d163ceeeb
11 changed files with 57 additions and 25 deletions

20
config/file_loader.lua Normal file
View File

@@ -0,0 +1,20 @@
--- This contains a list of all files that will be loaded and the order they are loaded in
-- to stop a file from loading add "--" in front of it, remove the "--" to have the file be loaded
-- config files should be loaded after all modules are loaded
-- core files should be required by modules and not be present in this list
return {
--'example.file_not_loaded',
'modules.factorio-control', -- base factorio free play scenario
-- Game Commands
'modules.commands.me',
'modules.commands.kill',
'modules.commands.admin-chat',
'modules.commands.tag',
'modules.commands.teleport',
'modules.commands.cheat-mode',
'modules.commands.interface',
'modules.commands.help',
-- Config Files
'config.command_auth_admin', -- commands tags with admin_only are blocked for non admins
'config.permission_groups', -- loads some predefined permission groups
}