Перейти к содержимому
Mineforgian

DemoBox

A tool for creating interactive demo environments for mods

5K загрузок1 подписчиковMITfabricquilt

Обновлён 12 мая 2026 г. · опубликован 14 июля 2023 г.

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.

Центр версий

9 версий
  • Релиз33 КБ
  • Релиз1.4 МБ
  • Релиз1.4 МБ
  • Релиз1.3 МБ
  • Релиз1.3 МБ
  • Релиз1.2 МБ
  • Бета2.2 МБ
  • Бета2.2 МБ
  • Бета2.2 МБ

Ченджлог

1.3.0+26.1Релиз26.1 · 12 мая 2026 г.
  • Updated to 26.1
  • Migrated to Modfest standard in building and publishing
  • Reworked demo creation to use dialogs
1.2.1+mc.1.21.8Релиз1.21.8 · 30 августа 2025 г.
  • Added option for per-player setup function (#4 by @DrexHD)
1.2.0+mc.1.21.8Релиз1.21.8 · 24 августа 2025 г.
  • Updated to 1.21.8 for ModFest: Toybox
  • Added /demobox sign command for convenient creation of portals
1.1.1+mc.1.21.1Релиз1.21.1 · 25 апреля 2025 г.
  • Fixed an issue where player data could be lost upon dying in a demo
1.1.0+mc.1.21.1Релиз1.21.1 · 15 марта 2025 г.

Updated to 1.21.1

1.0.0+mc.1.20.4Релиз1.20.4 · 16 декабря 2023 г.

Updated to 1.20.4

1.0.0-beta.3+mc.1.20.1Бета1.20.1 · 18 августа 2023 г.
  • Add welcome message
  • Add predicate api support
1.0.0-beta.2+mc.1.20.1Бета1.20.1 · 26 июля 2023 г.

Fix structures generating

Комментарии

Загружаем…