
Targeting
Adds a feature to allow users to execute the command on the target who used the redstone (requires a command block)
About this Mod
Targeting 🎯
Execute commands on the actual player who triggered them.
Overview
Targeting introduces a new selector, @t, designed to solve one of Minecraft’s long-standing limitations: reliably identifying the player who activated a redstone-triggered command.
In vanilla behavior, command blocks triggered by buttons, pressure plates, or other redstone inputs lack direct context about who caused the activation. This mod bridges that gap by dynamically binding the triggering player to command execution.
Key Feature:
@t Selector
Targets the player responsible for triggering the command block, whether via:
Button press
Lever toggle
Pressure plate
Any redstone interaction linked to a command block
Why This Matters?
Without Targeting, mapmakers and server developers often rely on:
- Proximity-based selectors (@p)
- Complex scoreboards
- Detection loops
These approaches are unreliable, inefficient, or unnecessarily complex.
@t provides precision, simplicity, and performance in a single selector.
Example Usage
Scenario: Teleport the player who pressed a button
Command Block Command:
/tp @t 100 100 100
What Happens:
Player presses a button connected to the command block
The command executes
Only that specific player is teleported to (100, 100, 100)
Comparison
Selector Behavior
@p Nearest player (can be incorrect)
@a All players
@s Command executor (not useful in redstone context)
@t ✅ Player who triggered the command
Available Versions
How to Install Targeting on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Targeting". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Targeting server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is Targeting compatible with fabric and paper?
Targeting officially supports fabric, paper for Minecraft 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Targeting – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Targeting consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Targeting with just one click on your server.