CoinFlips
⚠️ Warning: Vault plugin required 📦 Minecraft Versions: 1.16.5 – 1.21.x Advanced CoinFlip plugin with animated duels, configurable betting and taxes, player statistics, leaderboards, and full Vault integration.
CoinFlips

--- - 🎮 Admin Commands: Create and join games of heads or tails with personalized bets. - 🖥️ Admin Commands: Intuitive menus to create games, see statistics, ranking and history. - 📊 Admin Commands: Track your victories, defeats, ratio and profits. - 🏆 Admin Commands: Display the top players by wins, profits or total bets. - 📜 Admin Commands: View your last 50 games with details. - 🤖 Admin Commands: Automatic notifications of big wins via webhook. - 🔌 Admin Commands: Use placeholders to display stats in other plugins. - ⏱️ Admin Commands: Prevents abuse with a delay between game creations. - 💰 Admin Commands: Apply a tax on winnings to balance the economy. - 📢 Admin Commands: Announces big wins on the server. - 🔄 Admin Commands: Checks for new versions and notifies admins. - 🛠️ Admin Commands: Tools to reload the config, reset stats, etc.

---
Command Player
| Commands | Description | | ------------------------------------- | -------------------------------------------- | | `/coinflip` or `/cf` | Opens the main menu | | `/coinflip create <amount>` | Creates a new game with the specified amount | | `/coinflip join <id>` | Joins an existing game by its ID | | `/coinflip cancel` | Cancels your current game | | `/coinflip stats [player]` | Displays a player's statistics | | `/coinflip top [wins|profit|total]` | Shows the ranking (default: wins) | | `/coinflip history` | Displays your game history | | `/coinflip about` | Shows information about the plugin | | `/coinflip help` | Shows command help |
Command Admin
| Commands | Description | | ------------------------------------- | --------------------------------- | | `/coinflip admin reload` | Reloads the configuration | | `/coinflip admin resetstats <player>` | Resets a player's stats | | `/coinflip admin resetleaderboard` | Resets the leaderboard | | `/coinflip admin forcecancel <id>` | Forces the cancellation of a game |

| Permission | Description | Default | | ----------------- | ------------------------------------------------------------------------ | ------- | | `coinflip.use` | Use the CoinFlip plugin | true | | `coinflip.create` | Create games | true | | `coinflip.join` | Join games | true | | `coinflip.stats` | View statistics | true | | `coinflip.top` | View the leaderboard | true | | `coinflip.reload` | Reload the configuration | op | | `coinflip.admin` | All admin permissions (includes `coinflip.reload` and `coinflip.bypass`) | op |

- `%coinflip_wins%`: Number of player victories. - `%coinflip_losses%`: Number of player defeats. - `%coinflip_ratio%`: Win ratio in percentage. - `%coinflip_profit%`: Total player profit (formatted). - `%coinflip_total_bet%`: Total amount bet (formatted) - `%coinflip_games_active%`: Number of active games pending.

Preview :
```yml
Bonus System
bonus:
Amount of the first special payment
first-payment: 100
Consecutive bonuses - increases with each payment received
consecutive-payments: enabled: true
Multiplier per payment (0.1 = 10% per payment)
multiplier: 0.1
Maximum multiplier (e.g., 2.0 = max 2x base salary)
max-multiplier: 2.0
Reset bonus if a payment is missed
reset-on-miss: true
Bonus based on playtime
playtime-bonus: enabled: true
Bonus per hour played
per-hour: 50
Maximum bonus per day
max-per-day: 500
Groups and Salary Configuration
group: default: salary: 1000 admin: salary: 5000
Boost System - Salary Multipliers
Boosts multiply with each other (1.2 × 1.5 = 1.8x)
booster: enabled: true
Manual global boost (activated by admin command)
global: enabled: true multiplier: 1.0 permission: ""
Hourly boost - active at specific hours
hourly: enabled: true multiplier: 1.2
Start hour (24h format)
start-hour: 18
End hour
end-hour: 22
Days when the boost is active
days: [MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY]
Weekly boost - active on a specific day and time
weekly: enabled: true day: "MONDAY" multiplier: 1.5 time: "20:00"
Monthly boost - active on the Nth day of the month
monthly: enabled: false day: 1 multiplier: 2.0
Special boost for events
special: enabled: true events: christmas: days: ["12-24", "12-25", "12-26"] multiplier: 2.0 newyear: days: ["12-31", "01-01"] multiplier: 1.8 ```