Xophz Magic Hammer
Security enforcement module: ban repeat offenders, bad actors, malicious IPs, and compromised credentials.
by Hall of the Gods, Inc. · github.com/hallofthegods/xophz-compass-thors-hammer · website
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/hallofthegods/xophz-compass-thors-hammer/releases/download/v26.9.4/xophz-compass-thors-hammer-26.9.4.zipDeclares an update source (https://github.com/HalloftheGods/xophz-compass-thors-hammer), so updates arrive through the plugin's own updater.
Readme
Xophz Thor's Hammer
Category: Castle Walls · Version: 1.0.0
Bring the hammer down and ban spammers from making actions on your site.
Description
Thor's Hammer is a targeted blocking and banning utility for the COMPASS platform. It empowers site administrators to decisively restrict malicious users, disruptive bots, and spammers from interacting with the site based on IP address, email address, or WordPress User ID.
Core Capabilities
- Ban Engine – Restrict access and actions using three ban types:
ip: Block specific IP addresses.email: Block specific email addresses (useful for form submissions/registrations).user_id: Revoke access for registered WordPress users.
- REST API – Fully featured API to create, view, and lift bans.
- Expiry Rules – Bans can be permanent or set to expire at a specific
datetime.
Requirements
- Xophz COMPASS parent plugin (active)
- WordPress 5.8+, PHP 7.4+
Installation
- Ensure Xophz COMPASS is installed and active.
- Upload
xophz-compass-thors-hammerto/wp-content/plugins/. - Activate through the Plugins menu.
- On activation, the plugin initializes the
wp_xophz_thors_hammer_bansdatabase table. - Access via the My Compass dashboard → Thor's Hammer.
Database Tables
| Table | Purpose |
|---|---|
wp_xophz_thors_hammer_bans |
Stores ban records, including type, value, reason, and expiry date. |
Frontend Routes
| Route | View | Description |
|---|---|---|
/thors-hammer |
Dashboard | Ban management interface and active restrictions list |
Changelog
1.0.0
- Initial release featuring database-driven banning by IP, Email, and User ID.
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v26.9.4 | Sep 5, 2026 | xophz-compass-thors-hammer-26.9.4.zip | 2 |
| v26.9.5 | Sep 5, 2026 | xophz-compass-thors-hammer-26.9.5.zip | 2 |
| v26.8.30 | Aug 31, 2026 | xophz-compass-thors-hammer-26.8.30.zip | 1 |
| v26.8.31 | Aug 31, 2026 | xophz-compass-thors-hammer-26.8.31.zip | 1 |
| v26.5.2 | May 3, 2026 | xophz-compass-thors-hammer-26.5.2.zip | 0 |
| v26.5.3 | May 3, 2026 | xophz-compass-thors-hammer-26.5.3.zip | 0 |
| v26.4.28 | Apr 28, 2026 | xophz-compass-thors-hammer-26.4.28.zip | 0 |
| v26.4.27 | Apr 27, 2026 | xophz-compass-thors-hammer-26.4.27.zip | 0 |