Back to Plugins
ConnectFour
MinigamePaper · Spigot · Bukkit v1.5.2

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

Interactive GUI

Play directly in an intuitive Minecraft inventory GUI board.

Betting System

Wager in-game money — winner takes the pot.

Leaderboard

Competitive global leaderboard tracking wins across all players.

Player Stats

Detailed per-player stats: wins, losses, draws, win rate.

PlaceholderAPI

6 ready-to-use PAPI placeholders for scoreboards and holograms.

Rich Config

Configurable messages with full hex color support.

Compatibility

Paper
Spigot
Bukkit
1.8.8 – 26.2Java 17+

Commands

CommandDescriptionPermission
/connectfourShows 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 leaderboardShow the win leaderboard
/cf reloadReload config & messagesconnectfour.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 downloads
1.5.2LatestApr 29, 202629

26.1.2 support

- support for 26.1

1.5.1Dec 2, 202573

v1.5.1

- Fixed hex support in invite message - Added leaderboard to placeholders

1.5.0Nov 21, 202535

v1.5.0

- Spigot support fix - Hex color support

1.4.1Nov 20, 202518

v1.4.1

- Bugfix when new player wants to play a game

1.4.0Nov 20, 202516

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>

1.4.0Oct 29, 202521

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...

1.2.0Dec 20, 2024136

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

1.1.1Aug 10, 2024105

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.0Jul 28, 202454

1.1.0

Added option to modify messages. Lang file will be created in plugins/ConnectFour/lang/messages-en.yml

1.0.0Jul 7, 202490

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

Connect Four GUI

Chat Invitation

Chat Invitation

Default Config

config.yml52 lines
# 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