
Build Events (Fabric)
This server-side mod provides the ability to organize build events for monitoring the number of placed and broken blocks in a specified area using scoreboard objectives.
Main Features
When creating a new build event, one or two tracking objectives are automatically generated. For example, the command /buildevents add foo 3 1 4 1 5 9 both
will create two objectives: foo_place
for counting placed blocks and foo_break
for broken blocks.
The objective name can be customized for display on the sidebar using the command /scoreboard objectives modify foo_place displayname <text or json>
. If an objective named foo_place
already exists before creating the foo
event, it will be used instead of creating a new one.
Management Commands
- Creating Events:
/buildevents add ...
- creates new events. Can addin <dimension>
to track actions in a specific dimension orin !!global
for all dimensions. - Removing Events:
/buildevents remove ...
- removes events. Theremove_objectives
option also deletes associated objectives. - Setting Conditions:
/buildevents set <eventName> predicate ...
- adds conditions for selective action tracking. An example for tracking specific blocks is available via the link. - Dimension Management:
/buildevents set <eventName> dimension ...
- changes the event's dimension or makes it global. - Statistics Display:
/buildevents set <eventName> total ...
- toggles the display of total action counts on the sidebar. - Pausing Tracking:
/buildevents pause ...
- temporarily stops tracking until resumed with/buildevents unpause ...
. - Viewing Events:
/buildevents list
- shows all existing events. Can specifyactive
orpaused
for filtering.
Command 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]