
ConnectFour
Four in a Row — 1v1 GUI Minigame with bets.
ConnectFour adds a fully interactive Connect Four (Four in a Row) minigame using a Minecraft inventory GUI. Players can challenge each other for fun or wager in-game money. Full statistics, leaderboards, and PlaceholderAPI support included out of the box. Supports every Bukkit platform from 1.8 to latest.
Features
Play directly in an intuitive Minecraft inventory GUI board.
Wager in-game money — winner takes the pot.
Competitive global leaderboard tracking wins across all players.
Detailed per-player stats: wins, losses, draws, win rate.
6 ready-to-use PAPI placeholders for scoreboards and holograms.
Configurable messages with full hex color support.
Compatibility
Commands
| Command | Description | Permission |
|---|---|---|
/connectfour | Shows the help menu | — |
/cf invite <player> [bet] | Invite a player to a game | — |
/cf bet <player> <bet> | Make a bet with a player | — |
/cf accept <player> | Accept an invite | — |
/cf reject <player> | Reject an invite | — |
/cf stats [player] | Show player statistics | — |
/cf leaderboard | Show the win leaderboard | — |
/cf reload | Reload config & messages | connectfour.reload |
PlaceholderAPI
%connectfour_wins%%connectfour_losses%%connectfour_draws%%connectfour_played%%connectfour_winrate%%connectfour_totalbet%Documentation
1Playing a Match
Players can challenge each other using /cf invite <player>. A configurable invite timeout ensures pending requests expire safely. During a match, players have a set amount of time to make a move before the turn times out. To prevent accidental quitting, players must press ESC twice to close the GUI.
2Economy & Betting
The plugin seamlessly hooks into Vault. Players can place wagers by appending an amount to their invite (e.g. /cf invite <player> 500). You can enforce minimum and maximum betting limits in the config, and even execute custom commands (like giving items or money) as automatic win rewards.
3GUI Animations
Tokens don't just appear—they fall into place! The plugin features a built-in token fall animation that enhances the visual experience. You can toggle this animation on or off, and even adjust the fall speed (in milliseconds per row) within the config.yml.
4Stats & Leaderboards
Track every victory, defeat, and draw! The plugin saves detailed player statistics, which can be viewed in-game using /cf stats or the global /cf leaderboard. For holographic displays or scoreboards, fully integrated PlaceholderAPI placeholders are available out of the box.
Version History
577 total downloads26.1.2 support
- support for 26.1
v1.5.1
- Fixed hex support in invite message - Added leaderboard to placeholders
v1.5.0
- Spigot support fix - Hex color support
v1.4.1
- Bugfix when new player wants to play a game
v1.4.0
Plugin can now hook into Vault which enables betting. Placing bet agains other player can be done by /c4 bet <player> <bet>
v1.3.0
Whole plugin is now in Java instead of Kotlin Player data are now saved in data.yml instead of storage.json (migrates automatically) Removed hook for MiniPlaceholders. Added 1.21.9...
v1.2.0
Full Changelog: https://github.com/xap3y/ConnectFour/compare/v1.1.1...v1.2.0 Changes: Added GUI exit confirmation Added move timeout
Major bug fix
Fixed an issue with the GUI where players could add items from the inventory to the game's GUI and lose them.
1.1.0
Added option to modify messages. Lang file will be created in plugins/ConnectFour/lang/messages-en.yml
Connect Four 1v1 GUI Minigame [1.8.8 - 26.2]
ConnectFour GUI 1vs1 Minigame Minecraft GUI minigame Supports any bukkit platform from 1.8 up to 26.2 SHOWCASE [MEDIA=youtube]ljg6s_O0n8o[/MEDIA] Features: GUI Bets Leaderboard...
Gallery

Connect Four GUI

Chat Invitation
Default Config
# Prefix for chat messages by this plugin
prefix: "&7[&6ConnectFour&7] &r"
lang: "en"
# Should the plugin check for updates?
updateCheck: true
hooks:
# Should the plugin hook into PlaceholderAPI?
# If set to true, and PlaceholderAPI is not installed, the plugin will still work
placeholderAPI: true
# Should the plugin hook into Vault for economy support?
# If set to false, betting feature will be disabled
vault: true
# Send bstats metrics
metrics: true
# Can player escape by pressing ESC key single time? true = have to press ESC key 2 times
doubleEscape: true
# How max should we wait for opponent to make his move (in seconds)
# 0 = disabled
moveTimeout: 120
# Timeout in seconds for invites
# Invite will expire in x seconds
inviteTimeout: 60
# Should the plugin use the token fall animation?
# If set to false, the token will be placed instantly
tokenFallAnimation: true
# Token falling speed in milliseconds
# The lower the value, the faster the token will fall
tokenFallSpeed: 100 # ms per row
# Should the player who is inviting always start first?
inviterStarts: false
# Winning rewards:
winRewards:
enabled: false
commands:
- "eco give %player% 1000"
- "give %player% diamond 1"
bets:
min: 0
max: 1000000