Ultimate Cockfight brings a fully automated, hands-off betting arena to your Minecraft Paper server. Built specifically for 1.21.1, this plugin utilizes modern native features like TextDisplay entities and custom mob AI to create an engaging server minigame without relying on heavy external dependencies like HolographicDisplays or Citizens.
Core Features
-
Fully Automated Loop: Once the betting pots are equal, the system automatically locks bets, runs a countdown, spawns the combatants, and pays out the winners.
-
Vault Integration: Seamlessly hooks into your server's economy. Players use an intuitive GUI to place bets and withdraw funds.
-
Custom Chicken AI: The combatants (WALA and MERON) use custom movement vectors to aggressively leap and attack each other until one is defeated.
-
Modern Holograms: Uses 1.21 native TextDisplays for a lag-free, floating betting board that updates in real-time.
-
Secure NPC Dealers: Spawns invulnerable, stationary Villager NPCs that open the betting GUI when right-clicked.
Required Dependencies
-
Paper 1.21.1 (Will not work on older versions or standard Spigot due to modern TextDisplay usage)
-
Vault
-
Any Vault-compatible Economy Plugin (e.g., EssentialsX, CMI, Treasury)
Admin Commands
Requires OP or the cockfight.admin permission:
-
/cocknpc spawn <ID> — Spawns an invulnerable betting NPC looking exactly where you are looking.
-
/cocknpc delete <ID> — Removes a specific NPC within a 5-block radius.
-
/cocknpc setspawn-wala — Sets and saves the spawn point for the Red combatant.
-
/cocknpc setspawn-meron — Sets and saves the spawn point for the Blue combatant.
-
/cocknpc setholo — Spawns the live text display board 2 blocks above your head.
-
/cocknpc reset — Force-clears the arena, despawns chickens, and refunds all current bets.
-
/startcountdown — Manually forces the match countdown to begin.
-
/startfight — Manually skips the countdown and instantly starts the fight.