Added SERVER Role

This commit is contained in:
Cooldude2606
2018-11-23 17:01:22 +00:00
parent 60ccb9d970
commit 2042da5ca4
4 changed files with 13 additions and 10 deletions

View File

@@ -26,6 +26,8 @@ local Group = {
if loaded_modules['ExpGamingCore.Server@^4.0.0'] then require('ExpGamingCore.Server@^4.0.0').add_module_to_interface('Group','ExpGamingCore.Group') end
end,
on_post = function(self)
-- creats a root role that the server can use
self{name='Root',disallow={}}
-- loads the groups in config
require(module_path..'/config',{Group=self})
end