
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.
Список изменений
v5.4.0 — Private Matches & Direct Challenges
✨ What's new
🔒 Private games (/cf private <amount> <password>)
- New command
/coinflip private <amount> <password>to create a password-protected game.
Private games do not appear in the public join GUI menu — they are invisible to other players.
- To join a private game, the player must use
/cf join <id>and enter the correct password. - If the password is incorrect, an error message is sent (
game.join.wrong-password).
The password is displayed to the creator in the confirmation message.
⚔️ Direct challenges (/cf challenge <player> <amount>)
- New command
/coinflip challenge <player> <amount>to challenge a player online directly. - The stake is immediately withdrawn from the challenger when the challenge is sent.
The targeted player receives an in-game notification with the commands /cf accept and /cf decline.
- Response timeout configurable via
game.challenge-timeout-secondsinconfig.yml(default: 60 seconds). - If the deadline expires → automatic reimbursement of the challenger, notification to both players.
If the targeted player disconnects → automatic refund from the challenger.
- If the targeted player does not have enough money to accept → challenger refund.
- A challenger can only send one challenge at a time.
- A player can only receive one challenge at a time.
Challenge matches are invisible in the public GUI (like private matches).
🆕 New orders
| Order | Description |
|---|---|
/cf private <amount> <password> | Creates a private protected part |
/cf challenge <player> <amount> | Challenge a player directly |
/cf accepted | Accept a challenge received |
/cf decline | Refuse a challenge received |
📝 Config files updated
config.yml
game:
challenge-timeout-seconds: 60 # new
messages.yml — new keys added:
game.create.private-successgame.join.wrong-passwordgame.join.not-invitedchallenge.sentchallenge.receivedchallenge. declined-challengerchallenge.declined-targetchallenge.expired-challengerchallenge.expired-targetchallenge.target-offlinechallenge.target-not-foundchallenge.target-busychallenge.target-no-moneychallenge.cannot-challenge-selfchallenge.already-sentchallenge.no-pending
