File Details
SCG4-MinesSweeperDuel-Remake-forge-mohist-2.0.3.jar
- R
- Jan 2, 2026
- 532.66 KB
- 33
- 1.20.1
- Forge
File Name
SCG4-MinesSweeperDuel-Remake-forge-mohist-2.0.1.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
# Changelog - SCG4 Minesweeper Duel Remake
## v2.0.3-mohist - Mohist Compatibility Update
### 🔧 Bug Fixes
- **Fixed timeout penalty bug**: During planting phases, the timeout now correctly penalizes the player whose turn it is, instead of always penalizing Player 1
- **Fixed turn transition bug**: When a player finishes planting mines, the turn now properly passes to the opponent
### 🛡️ Mohist/Hybrid Server Compatibility
This version is fully compatible with **Mohist servers** (Forge + Bukkit hybrid) and includes extensive protections against plugin interference:
- **Bulletproof State Enforcement**: Every tick, the mod verifies and forces correct GameModes for each player based on the current game phase
- **Auto-Recovery System**: Automatically detects and fixes stuck state transitions (e.g., if turn didn't pass after planting)
- **Explicit Command Permissions**: Player commands (`/mines join`, `/mines leave`, `/mines list`) now use explicit permission level 0, ensuring compatibility with permission plugins like LuckPerms
### 📋 Technical Changes
- Added try-catch protection to all event handlers
- Added null checks for player connections and game states
- Safe iteration using ArrayList copies to prevent ConcurrentModificationException
- Protected all critical operations: teleport, game mode changes, health/damage, titles, block operations
- Added fallback mechanisms for panic button verification
### ✅ Compatibility
- **Server**: Works on Forge, Mohist, and other hybrid servers
- **Client**: Compatible with standard Forge client mod
- **Minecraft**: 1.20.1
- **Forge**: 47.2.0+
### 📝 Notes
- All protections are invisible during normal gameplay
- Error recovery only activates when external interference is detected
- Detailed logging with "Mohist:" prefix helps identify any issues