> For the complete documentation index, see [llms.txt](https://sazenice.gitbook.io/plugins/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sazenice.gitbook.io/plugins/contextrun/how.md).

# How

ContextRun uses a **Bukkit** function **Bukkit.dispatchCommand()** to work

> "How do you implement command block contexts???"

ContextRun uses an **alternative method** for command blocks, by placing a command block at `0, 0, 0` , force-loading the chunk, inputting the command and placing a redstone block at `1, 0, 0` , and 5 ticks after that reverting the changes, it effectively executes the command **as the command block** without any *"traditional Bukkit methods"*

{% hint style="info" %}
The gamerule `command_blocks_work` needs to be enabled for this to work (safeguard)
{% endhint %}
