Wiki 9Minecraft Wiki 9Minecraft

How to Set Up Datapack Functions for Stream Events

Registering Function Tags

To make your datapack respond to your stream, create standard .mcfunction files in your datapack and register them inside these two tag files:

  • For chat messages: data/chklink/tags/function/chat.json (runs the #chklink:chat tag)

After editing your files in the world's datapacks/ folder, always run /reload in game.

How the Mod Executes Your Functions

Unlike vanilla Minecraft function tags—which stop running if a single function encounters an error—this mod keeps running the remaining functions in the tag even if an earlier function fails. This ensures one broken viewer command will not break the rest of your stream integration.

Join 9Minecraft News & Guides