mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 16:13:12 +09:00
Implement mod pack storage
Add ModPack data type with corresponding storage on the master, messages to create, update and delete them, as well as commands to invoke them. The ModPack data type contains a list of mods with versions and optional sha1 hashes, and mod settings to be used.
This commit is contained in:
1 parent
dfcbc559b8
commit
9fb3d6d8db
16 files changed
+987
-3
No files matched your search
@@ -511,6 +511,39 @@ definePermission({
|
||||
description: "Send arbitrary RCON commands to instances.",
|
||||
});
|
||||
|
||||
definePermission({
|
||||
name: "core.mod_pack.get",
|
||||
title: "Retrieve mod pack",
|
||||
description: "Get the details of a mod pack in the cluster.",
|
||||
grantByDefault: true,
|
||||
});
|
||||
definePermission({
|
||||
name: "core.mod_pack.list",
|
||||
title: "List mod packs",
|
||||
description: "Get the full list of a mod packs in the cluster.",
|
||||
grantByDefault: true,
|
||||
});
|
||||
definePermission({
|
||||
name: "core.mod_pack.subscribe",
|
||||
title: "Subscribe to mod pack updates",
|
||||
description: "Subscribe to be notified on updates on the details of mod packs.",
|
||||
grantByDefault: true,
|
||||
});
|
||||
definePermission({
|
||||
name: "core.mod_pack.create",
|
||||
title: "Create mod pack",
|
||||
description: "Create new mod pack in the cluster.",
|
||||
});
|
||||
definePermission({
|
||||
name: "core.mod_pack.update",
|
||||
title: "Update mod pack",
|
||||
description: "Edit existing mod pack definition in the cluster.",
|
||||
});
|
||||
definePermission({
|
||||
name: "core.mod_pack.delete",
|
||||
title: "Delete mod pack",
|
||||
description: "Delete mod pack definition in the cluster.",
|
||||
});
|
||||
definePermission({
|
||||
name: "core.mod.get",
|
||||
title: "Get mods",
|
||||
|
||||
Reference in new issue
Block a user