
【AdvancedCoinflip】 10.24.3
⚡️MySQL & SQLite ✅RGB Color ✅ Highly customizable✅ BungeeCord/Velocity✅⚡️
Added new command /cf storage import <storagehandler>
You need to have cf.storage permission to use this command
Fixed loading textures from sessionserver.mojang.com on online mode servers
Attemp to fix issues with SQLite database
(Increased pool size, Optimized queries, synchronized connection)
Moved from standart java sqlite connector to HikariCP
Fixed message when someone accepts your game is now send instantly when clickin game item
- Moved some database queries to async thread to save main thread
- Fixed missing second SIDE in CreateGUI info lore
- Fixed creating game with money shortcuts e.g /cf 10k
- Fixed pulling items with new gui library
- Updated FoliaScheduler library
- Updated XSeries library
Fixed warning when using non existing command
Fixed Skulls on online mode servers
Updated HikariCP to 6.2.1
Updated foliascheduler to 0.6.2
Added debug message to mysql provider
Quickfix to previous update
Fixed
Method 'org.bukkit.attribute.Attribute org.bukkit.attribute.Attribute.valueOf(java.lang.String)' must be Methodref constant
Updated XSeries library to fully support 1.21.4
Fixed glowing items in the GUI
Added support for 1.21.4
Fixed issue with reloading config (should affect only bungee servers)
Rewritten debug messages
Removed unused hook
Code cleanup
Reverted logic of detecting bungee, now you have to enable it in plugin config file & spigot.yml file
Queued skin requests to bungeecord
Quickfix for accepting shorter side command argument
e.g if you have named heads & tails under Settings.Sides it will accept command /cf 100 h (heads)
/cf 100 t (tails)
Shaded HikariCP & mysql-connector into jar to fix MySQL on mc 1.8.8
Added support for 1.8.8+ (i tested 1.8.8 and 1.12.2) so all versions between should work
Catched exception SkinsRestorer API is not initialized yet! on bungee
Added two PAPI placeholders:
- %coinflip_total_tax_deducted% - Total amount collected by taxes (if enabled)
- %coinflip_total_tax_deducted_formatted% - Formatted total amount collected by taxes (if enabled)
Added missing Lore with some placeholders into AnimationGUI.GameItem / AnimationGUI.GameItemGeyser
AnimationGUI:
GameItem:
Lore: # or Lore: [] for empty lore
- "&b&l%PLAYER%"
- "&7Money bet: &b%MONEY%"
- "&7Side: &b%SIDE%" # side of bet owner
- "&7Choosen side: &b%CHOOSEN_SIDE%" # side choosen by player - this will always be the opposite of bet owner side
- "&7Currency: &b%CURRENCY%"
- "&7Wins: &b%WINS%"
- "&7Losses: &b%LOSSES%"
- "&7Profit: &b%PROFIT%"
- "&7Win percentage: &b%WIN_PERCENTAGE%"
GameItemGeyser:
Lore: # or Lore: [] for empty lore
- "&b&l%PLAYER%"
- "&7Money bet: &b%MONEY%"
- "&7Side: &b%SIDE%" # side of bet owner
- "&7Choosen side: &b%CHOOSEN_SIDE%" # side choosen by player - this will always be the opposite of bet owner side
- "&7Currency: &b%CURRENCY%"
- "&7Wins: &b%WINS%"
- "&7Losses: &b%LOSSES%"
- "&7Profit: &b%PROFIT%"
- "&7Win percentage: &b%WIN_PERCENTAGE%"
Fixed money deposit issue on bungeecord.
Added placeholders (if player data is loaded)
%PLAYER%
%WINS%
%LOSSES%
%PROFIT%
%WIN_PERCENTAGE%
to lore
GUI.GameGeyser
GUI.Game
GUI.GameOwnGeyser
GUI.GameOwn
Fixed duplication glitch