Wiki 9Minecraft Wiki 9Minecraft
CHC Custom Hit Command Plugin Wiki

CHC Custom Hit Command Plugin Wiki & Guide

wiki.9minecraft.net/chc-custom-hit-command-plugin/

Adds customizable hit detection commands for server gameplay.

Guides

Step-by-step, in-game.

Frequently asked questions

How do I set up my first trigger item?
Hold the item you want to use (sword, stick, or any other item), then type /chc sethititem in chat. The plugin will mark that exact item as a trigger weapon. Now when you hit another player with it, your configured command will run.
Can I use the same item for multiple different commands?
No, each trigger item can only have one command assigned to it. If you need multiple commands to run from the same item, you'll need to chain them together in a single command or use a command that calls a macro/function.
What does %hitted_player% actually do?
It's a placeholder that automatically replaces itself with the username of the player you just hit. For example, if your command is `/duel %hitted_player%`, hitting Steve will run `/duel Steve` on the server.
Can I make the command run as the player instead of the server?
Yes, the plugin lets you choose whether commands execute as the attacking player or from the server console. This is useful if you want the player to trigger a command they normally wouldn't have permission to use, or vice versa.

See all 10 CHC Custom Hit Command questions ›