
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.
Оцените первым
453
2
Список изменений
Major additions & fixes
Folia Compatibility
- New
utils/SchedulerUtils.javafile: automatically detects at startup whether the server is running on Folia (RegionizedServer) or Paper/Spigot. - Exposes unified methods:
runAsync,runAsyncTimer,cancelAsyncTimer,runLater,runLaterForPlayer,runTimer,cancelTimer. - On Paper/Spigot → delegates to the classic
BukkitScheduler. - On Folia → delegates to
AsyncScheduler(async tasks) andGlobalRegionScheduler(sync tasks). GameManager: rotating animation and game cleaning useSchedulerUtils.runTimer/runLater. TypeBukkitTaskreplaced byObjectto be agnostic.DiscordWebhook: sending webhook viaSchedulerUtils.runAsync.UpdateChecker: update check viaSchedulerUtils.runAsync/runAsyncTimer/cancelAsyncTimer.- The plugin now works on Paper, Spigot and Folia without modification of the business logic.
Animation — head rotating to the winner
- The animation displayed a static head. The head now alternates between the creator and the opponent every 4 ticks (~0.2s) for 3 seconds, then freezes on the winner's head for 1 second before displaying the result.
Added updateAnimationFrame(Player, String) in GuiManager to change the header in real time in the open inventory.
openAnimationMenunow acceptscreatorNameandopponentNameas parameters.
Checking balance before creating/joining
A player without enough money could create or join a game without their balance being verified.
- Added
EconomyUtils.hasBalance()check inGuiListener(CREATE_GAME, JOIN_GAME) andCoinFlipCommand(create, join, private).
The balance is now debited at creation of the game (creator) and at join (opponent).
finishGameonly credits the winner the full amount (stake × multiplier) — no more double debit./cf cancelcorrectly reimburses the creator since the stake is already debited.- New message
commands.not-enough- moneyadded inmessages.yml.
Файлы
CoinFlips-6.1.0.jar(73.20 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
6.1.0
Загрузчики
FoliaPaperPurpurSpigot
Версии игры
1.16.5–26.1.2
Загрузок
4
Дата публикации
23.05.2026
