This is an entertaining Cockfighting Betting plugin.
You need to configure the arena in the config.yml file.
Commands:
Config:
YAML
# ============================================
# COCKFIGHTING BETTING PLUGIN CONFIGURATION
# ============================================
# Minimum / Maximum bet amount
bet:
min: 1000
max: 1000000
# House fee (%) deducted from the total bet pool when someone wins
house-fee-percent: 5
# Wait time (seconds) before a challenge is automatically cancelled if not accepted
challenge-timeout-seconds: 30
# Cooldown between matches for the same player (seconds)
match-cooldown-seconds: 15
# Cockfighting Arena - list of zones (world, center coordinates, radius)
# Players must be near an arena to issue a challenge
arenas:
arena1:
world: world
x: 100
y: 78
z: 100
radius: 20
# Chicken rarity - affects win rate, each type has a power weight
# Caught chickens will randomly fall into a rarity based on the rates below
rarity:
thuong:
display-name: "&f Normal Chicken"
weight: 60
power: 10
kha:
display-name: "&a Decent Chicken"
weight: 25
power: 15
hiem:
display-name: "&9 Rare Chicken"
weight: 2
power: 22
huyen-thoai:
display-name: "&6 Legendary Chicken"
weight: 1
power: 30
# Combat mechanics: 2 real chickens chase each other (pathfinder) and attack directly when in range
combat:
# Random power variance per hit (so the stronger one doesn't always win)
power-variance-percent: 20
# How many ticks before commanding the chicken to chase its opponent again
move-interval-ticks: 8
# Distance (blocks) considered "in range" to launch an attack
attack-range: 10
# Movement speed when chasing the opponent
chase-speed: 1.1
# Average rest ticks between 2 attacks from the same chicken (20 ticks = 1 second)
attack-cooldown-ticks: 16
# Messages
messages:
prefix: "&8[&6Cockfight&8] &r"
not-a-chicken-item: "&cThe item in your hand is not a Fighting Chicken!"
caught-chicken: "&aYou caught: %rarity%"
no-arena-nearby: "&cYou need to be near a cockfighting arena to challenge!"
challenge-sent: "&eYou challenged &f%target% &efor &6%amount%"
challenge-received: "&e%player% &fchallenged you for &6%amount%&f! Type &a/dagacuoc chapnhan &fto accept."
not-enough-money: "&cYou don't have enough money to bet!"
need-chicken-in-hand: "&cYou need to hold a Fighting Chicken in your hand to participate!"
match-start: "&6=== Match started: %p1% vs %p2% ==="
match-win: "&a%winner% won and received &6%amount%&a! (House fee deducted)"
You need to configure the arena in the config.yml file.
Commands:
- /dagacuoc thach <player> <amount> (Challenge a player)
- /dagacuoc chapnhan (Accept a challenge)
- /dagacuoc xephang (Leaderboard/Rankings)
- /dagacuoc huy (Cancel a challenge)
Config:
YAML
# ============================================
# COCKFIGHTING BETTING PLUGIN CONFIGURATION
# ============================================
# Minimum / Maximum bet amount
bet:
min: 1000
max: 1000000
# House fee (%) deducted from the total bet pool when someone wins
house-fee-percent: 5
# Wait time (seconds) before a challenge is automatically cancelled if not accepted
challenge-timeout-seconds: 30
# Cooldown between matches for the same player (seconds)
match-cooldown-seconds: 15
# Cockfighting Arena - list of zones (world, center coordinates, radius)
# Players must be near an arena to issue a challenge
arenas:
arena1:
world: world
x: 100
y: 78
z: 100
radius: 20
# Chicken rarity - affects win rate, each type has a power weight
# Caught chickens will randomly fall into a rarity based on the rates below
rarity:
thuong:
display-name: "&f Normal Chicken"
weight: 60
power: 10
kha:
display-name: "&a Decent Chicken"
weight: 25
power: 15
hiem:
display-name: "&9 Rare Chicken"
weight: 2
power: 22
huyen-thoai:
display-name: "&6 Legendary Chicken"
weight: 1
power: 30
# Combat mechanics: 2 real chickens chase each other (pathfinder) and attack directly when in range
combat:
# Random power variance per hit (so the stronger one doesn't always win)
power-variance-percent: 20
# How many ticks before commanding the chicken to chase its opponent again
move-interval-ticks: 8
# Distance (blocks) considered "in range" to launch an attack
attack-range: 10
# Movement speed when chasing the opponent
chase-speed: 1.1
# Average rest ticks between 2 attacks from the same chicken (20 ticks = 1 second)
attack-cooldown-ticks: 16
# Messages
messages:
prefix: "&8[&6Cockfight&8] &r"
not-a-chicken-item: "&cThe item in your hand is not a Fighting Chicken!"
caught-chicken: "&aYou caught: %rarity%"
no-arena-nearby: "&cYou need to be near a cockfighting arena to challenge!"
challenge-sent: "&eYou challenged &f%target% &efor &6%amount%"
challenge-received: "&e%player% &fchallenged you for &6%amount%&f! Type &a/dagacuoc chapnhan &fto accept."
not-enough-money: "&cYou don't have enough money to bet!"
need-chicken-in-hand: "&cYou need to hold a Fighting Chicken in your hand to participate!"
match-start: "&6=== Match started: %p1% vs %p2% ==="
match-win: "&a%winner% won and received &6%amount%&a! (House fee deducted)"
CockFight is a free Minecraft Java mod. Compatible with Minecraft 26.1, 26.2. Downloaded 3 times (via Spigot). Download it and open it directly in the game.