mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Remade Index
This commit is contained in:
@@ -27,7 +27,7 @@ local Role = {
|
||||
}),
|
||||
on_init=function()
|
||||
if loaded_modules['ExpGamingCore.Server@^4.0.0'] then require('ExpGamingCore.Server@^4.0.0').add_module_to_interface('Role','ExpGamingCore.Role') end
|
||||
if loaded_modules['ExpGamingCore.Commands@^4.0.0'] then require(module_path..'/src/commands',{Role=Role}) end
|
||||
if loaded_modules['ExpGamingCore.Command@^4.0.0'] then require(module_path..'/src/commands',{Role=Role}) end
|
||||
end,
|
||||
on_post=function(self)
|
||||
-- loads the roles in config
|
||||
|
||||
23
modules/ExpGamingCore/Role/softmod.json
Normal file
23
modules/ExpGamingCore/Role/softmod.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "Role",
|
||||
"version": "4.0.0",
|
||||
"type": "Submodule",
|
||||
"description": "Adds roles where a player can have more than one role",
|
||||
"location": "<blank>",
|
||||
"keywords": [
|
||||
"Role",
|
||||
"Ranks",
|
||||
"Permissions",
|
||||
"Alowed",
|
||||
"Admin"
|
||||
],
|
||||
"dependencies": {
|
||||
"ExpGamingLib": "^4.0.0",
|
||||
"FactorioStdLib.Table": "^0.8.0",
|
||||
"FactorioStdLib.Game": "^0.8.0",
|
||||
"ExpGamingCore.Group": "^4.0.0",
|
||||
"ExpGamingCore.Server": "?^4.0.0",
|
||||
"ExpGamingCore.Command": "?^4.0.0"
|
||||
},
|
||||
"collection": "ExpGamingCore_4.0.0"
|
||||
}
|
||||
Reference in New Issue
Block a user