PiShock-Zap
Shock collar integration for Minecraft! Supports PiShock, OpenShock, and more.
About this Mod
Connect PiShock/OpenShock-compatible shock devices to Minecraft!
This mod makes it so that any time you take damage in Minecraft, you will get shocked via your (compatible) shock collar. Obviously this mod will not do anything if you don't have one of those. (But there is a local webhook option, so if you just wanted to hook it up to one of your own scripts, that works too!)
Features
- Works in multiplayer, including vanilla servers
- Vibration/shock threshold (shock downgrades to a vibration if the damage is small enough)
- Vibration-only mode (no shocks at all)
- Careful limit respecting with multiple layers of failsafe
- Multiple shocker support, with built-in patterns to choose which ones get activated for each shock
- Queues and combines shocks if they occur in quick succession
- Low-latency usage via local serial API (requires PiShock or OpenShock hub to be connected directly to the computer running Minecraft)
- Wide range of actively supported Minecraft versions
- Third-party device support
- Supports OpenShock (yes really! short-sighted mod name I know)
- Webhook so that you can connect it to your own custom software
- Extension points for other mods to add support for their own custom devices
- An API for other mod developers to use! If you're a mod author, you can integrate with this mod to deliver shocks (within the user's stated limits) even if there is no ingame damage associated with it
Before you start
Make sure you know how to exit the game quickly and/or disable the mod on the fly (F12 key by default) before you dive into this!
This mod starts off disabled, with the expectation that you set up your limits and your connection to the device before you enable it.
Available Versions
How to Install PiShock-Zap 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 (26.1.2).
Install Mod
Open the mod browser in the dashboard and search for "PiShock-Zap". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2, 26.1.1, 26.1 (+29 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
PiShock-Zap 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 (26.1.2). You can switch loaders with one click in the panel.
Is PiShock-Zap compatible with fabric?
PiShock-Zap officially supports fabric for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with PiShock-Zap – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if PiShock-Zap 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 PiShock-Zap with just one click on your server.