World-based Connect 4 minigame for Hytale servers.
Install (CurseForge Release)
- Download the latest
gnu.connect4.jarrelease from CurseForge. - Place the jar in your server
mods/folder. - Restart the server.
Requirements
- Hytale server with mod/plugin support enabled
- Compatible server version listed on the CurseForge release page
How to play
Start a game
- Place the
Connect4_Starterblock where you want the controls. - The arena is generated automatically near that position.
- The starter control is replaced by a Join control.
Join A Game
- A second player clicks Join.
- Once Player 2 joins, the match starts.
Play
- Click input blocks for column
1to7. - Discs drop into the selected column.
- Turns alternate automatically.
Invalid moves are rejected (wrong turn, full column, or finished game).
Win Rules
- 4 in a row (horizontal, vertical, diagonal) wins.
- Full board with no winner = draw.
End Of Match
- Replay: starts a new round with the same 2 players in the same arena.
- Destroy: removes arena blocks and closes the session.
Important Behavior
- Only one active Connect4 session at a time.
- A third player cannot join a full game.
- If a session is already active, extra starter placements do not create new arenas.
Admin / Debug Commands
Use /connect4 to view available subcommands.
Typical commands include: create, join, drop, reset, destroy, status.
Performance / Logs
Debug logs are disabled by default for production servers.
Enable debug logs only when troubleshooting:
- JVM flag:
-Dconnect4.debugLogs=true - Or env var:
CONNECT4_DEBUG_LOGS=true
Quick Troubleshooting
- Game does not start: Player 2 must click Join.
- Inputs do not work: verify game is active and both players are present.
- Leftover blocks: use Destroy.