MB Scoreboard Expansion
Minecraft: Bedrock Edition has been missing one crucial thing that Minecraft: Java Edition has and that's more scoreboard criteria. This pack aims to add as many of the java edition scoreboard criteria as possible, as well as new ones. So things like health, deathCount, and totalKillCount can be brought to Minecraft: Bedrock Edition. This addon also aims to do this while maintaining compatibility with other addons.
The goal of this pack is to allow players to be able to use these additional scoreboard features to create what they want without needing to know too much about addons and use commands. Alternatively, someone can use this pack with their own addon in order to expand their capabilities.
To view the commands available in this pack, just type `\help` in chat, note that it does need to be a backslash as custom slash commands are not currently possible. This also means you cannot run these commands from command blocks at the current point in time.

To access "Operator Only" commands, you need to have the tag `op`, so you'll need to run the command: `/tag @s add op`.
To add a new objective with criteria, run the `\scoreboard objectives add <objectiveId> <criteria>` command in chat. Note that this command does not currently support display names or spaces in the objective id. An example command is as follows: `\scoreboard objectives add kills totalKillCount`.
To list all the available criteria while in game, run the `\scoreboard objectives criteria` command in chat. This will list all available criteria in your chat.

A few of the criteria supported in this addon are:
- health
- killed
- killed_by
- deathCount
- level
- playerKillCount
For a full up to date list, as well as explanations for each, you can visit the documentation here:
https://github.com/MajestikButter/Scoreboard-Expansion/blob/main/packs/BP/docs/criteria.md
To use the `trigger` criteria, you will need to add a tag to a player rather than running `/scoreboard players enable` like you would on java edition. The tag is formatted as follows: `/tag <target> add enable:<objectiveId>`. For example, for an objective like this, `\scoreboard objectives add example trigger`, you'd do `/tag @s add enable:example`. Then you'd be able to run `\trigger example` once in chat. After running it, you'd need to have the tag be added to you once again in order to use it again. This tag system also gives you the advantage of being able to remove the tag before they use the command if you need to revoke their ability to run that command once for whatever reason.
An example of what's possible with this pack is kill and death counters, as well as health displays and simple custom commands. The following video shows a bit about that.
The screenshots below show the commands used in that short showcase video:


Installation
This pack requires the GameTest Framework experiment to be enabled, but no other experiments are required.

This addon will automatically add three objectives called `mbcDataSaves`, `mbcDataBases`, and `mbcJSONId` to your world. The `mbcDataBases` objective in specific is required and deleting it may wipe all your custom scoreboard criteria functionality and you may need to recreate your objectives.
creator: https://twitter.com/MajestikButter1