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

Build Events

Adds build events to track block placements and breaks within an area

Загрузки
3K
Подписчики
18
Обновлён
23 июля 2026 г.
Лицензия
MIT

Опубликован 13 ноября 2023 г.

Build Events (Fabric)

This server-side mod allows you to create build events to track the amount of block placements and breaks within an area using scoreboard objectives.

Details

When a new build event is added, one or two objectives are created.

/buildevents add foo 3 1 4 1 5 9 both will create two objectives: foo_place and foo_break.

You can change how an objective's name is displayed on the sidebar using /scoreboard objectives modify foo_place displayname <plaintext or json>.

If an objective named foo_place exists prior to creating the foo event, then it will be used instead of creating a new one.

Usage

/buildevents add ... to create events. Optionally, end with in <dimension> to track actions in the specified dimension or with in !!global for every dimension, instead of the one the executor is in.

/buildevents remove ... to remove events. Optionally, end with remove_objectives to also remove the objectives.

/buildevents set <eventName> predicate ... to attach a predicate, in order to conditionally track actions. Here is an example for tracking specific blocks.

/buildevents set <eventName> predicate to remove an event's predicate.

/buildevents set <eventName> dimension ... to change an event's dimension or make it global(every dimension).

/buildevents set <eventName> total ... to toggle displaying the total amount of actions on the sidebar for each of the two actions.

/buildevents pause ... to stop tracking actions until re-enabled with /buildevents unpause ....

/buildevents list to view all existing events. Optionally, end with active or paused to view those specifically.

Syntax

/buildevents add <eventName> <from> <to> (place|break|both) [in] (!!global|<dimension>)

/buildevents remove <eventName> [remove_objectives]

/buildevents set <eventName> predicate [<predicate>]

/buildevents set <eventName> dimension (!!global|<dimension>)

/buildevents set <eventName> total (true|false)

/buildevents (pause|unpause) <eventName>

/buildevents list [active|paused]

Ченджлог

0.4.0+1.21.11Релиз1.21.11 · 23 июля 2026 г.
  • Update to 1.21.11
0.4.0+1.21.4Релиз1.21.4 · 23 июля 2026 г.
  • Update to 1.21.4
0.4.0+26.2Релиз26.2 · 23 июля 2026 г.
  • Update to 26.2
0.4.0+1.17.1-no-stapiРелиз1.17.1 · 28 февраля 2025 г.
  • Remove Server Translation API (causes incompatibility when Fabric API and FabricProxy are present)
1.17.1-0.4.0Релиз1.17.1 · 9 сентября 2024 г.
  • Backport to 1.17.1
1.21-0.4.0Релиз1.21 · 17 июня 2024 г.
  • Update to 1.21
1.20.4-0.4.0Релиз1.20.3, 1.20.4 · 23 марта 2024 г.
  • Implement tracking the total amount of each action
  • Implement global(multi-dimensional) build events
1.20.1-0.4.0Релиз1.20.1 · 23 марта 2024 г.
  • Implement tracking the total amount of each action
  • Implement global(multi-dimensional) build events

Комментарии

Загружаем…