DemoBox
DemoBox 是一个用于为模组创建互动演示的工具,最初是为 BlanketCon '23 而开发的。 它使用 Plasmid(Nucleoid Games 背后的库)来安全地管理虚拟世界, 让用户能够在生存模式下体验模组,而不用担心破坏主世界中的物品。
使用方法
要使用 Demobox 创建演示,首先构建一个结构并使用结构方块将其存储。 该结构将以 0, 0 为中心在你的演示世界中生成。
从 26.1 版本开始,演示首先通过 /demo create 命令创建。此命令会打开一个对话框,让你配置演示内容。
然后你可以使用 /demo open 打开它,或者使用 /demo edit 进行修改。
编辑演示需要 demobox.edit 权限。不应将此权限授予不受信任的玩家,
因为它允许他们以游戏管理员权限运行任意命令。打开演示需要 demobox.open 权限。
除非你希望某些演示不可访问,否则通常可以将此权限授予不受信任的玩家。
还可以使用 /demobox sign 命令将演示附加到告示牌上。它会用指向演示的链接覆盖目标告示牌的内容。
使用该命令需要 demobox.sign 权限,但与告示牌本身交互则不需要任何权限。
除非设置了特定的节点,否则所有命令(除了 /demobox leave)默认都需要游戏管理员/等级 2 权限。
26.1 之前的说明
然后你可以运行 /demobox open <structure> 命令来访问演示世界。
你可以使用 /demobox leave 命令或通过 Plasmid 中的 /game 命令离开。
由于 open 命令可以用于创建包含任意结构的维度,这可能会导致问题,因此该命令需要等级 2 权限或 demobox.open 权限节点。
推荐让玩家访问演示的方式是使用带有点击事件的告示牌。
如果你需要进行更高级的操作,open 命令还接受玩家生成的位置以及设置期间运行的函数。
DemoBox
DemoBox is a tool for creating interactive demos for mods, originally created for BlanketCon '23. It uses plasmid, the library behind nuceleoid games, to manage virtual worlds safely, allowing users to experience mods in survival mode without risking them breaking things in the overworld.
Usage
To create a demo using demobox, first build a structure and store it with a structure block. This structure will spawn in your demo worlds centered at 0, 0.
As of 26.1, demos are first created using the /demo create command. This command opens a dialog letting your configure the demo.
You can then use /demo open to open it, or /demo edit to modify it.
Editing demos requires the demobox.edit command. This should not be given to untrusted players,
as it permits them to run arbitrary commands with gamemaster permissions. Opening demos requires the demobox.open permission.
This one can generally be given to untrusted players unless you want to keep some demos inaccessible.
Demos can also be attached to signs using the /demobox sign command. It overwrites the content the targeted sign with a link to the demo.
Using the command requires the demobox.sign permission, but interacting with the sign itself doesn't require anything.
All commands except /demobox leave default to gamemaster/level 2 permissions unless their specific nodes are set.
Pre 26.1 instructions
Then you can run the /demobox open <structure> command to visit a demo world.
You can leave using the /demobox leave command or by using the /game command from plasmid.
The open command requires a permission level of 2 or the demobox.open permission node
because it can be used to create dimensions with arbitrary structures and that could cause problems.
The recommended way to give players access to demos is by using signs with click events.
The open command also accepts a position for where players spawn and a function to run during setup if you need to do something more advanced.
下载 DemoBox
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DemoBox
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DemoBox
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DemoBox
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DemoBox
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DemoBox
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DemoBox
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DemoBox
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DemoBox
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 已更新至 26.1
- 在构建和发布方面迁移至 Modfest 标准
- 重新设计了演示创建功能,使用对话框
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧