
【AdvancedCoinflip】 10.24.6
⚡️MySQL & SQLite ✅RGB Color ✅ Highly customizable✅ BungeeCord/Velocity✅⚡️
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
FIXED CRITICAL BUG WHICH CAN CAUSE SERVER CRASH
YOU SHOULD UPDATE TO THIS VERSION ASAP
On bungeecord there are no way to communicate between plugins in one call.
So i have to make request from server1 to server2
Then send response back from server2 to server1
All this happens only if player is online on the other server and you have OpenGuiOnClose option enabled, otherwise we doesn't have to worry about this
Because of this, you players now have to click twice on game item.
I'll try to find a better solution
Also i stopped to adding version to plugin name so you can just drag & drop it instead of have worry about removing old jar file
- FIXED issue with CountDownGUI
- Fixed game order in main GUI on bungeecord
- Added new option Settings.RefundOnCrash, this will cancel running game/countdown when player disconnects and will refund both players ( IK this is useless, but its a suggested feature and i take my work seriously.. just kidding)
- Added / Changed config messages
- Added / Changed logger messages
- Added two config sections GUI.OwnerCantPlay & GUI.RequestSent ( Please review it after loading the plugin)
Hotfix: shaded libraries
If you set Settings.AdminRightClickRemove to false, then Settings.AdminRemoveButton will act like a player button, so players can accept game with RIGHT/LEFT click (what you define here)
Added two config options under Settings section:
# You can find valid values here:
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/inventory/ClickType.html
# Type of button to remove any game (needs cf.delete permission)
AdminRemoveButton: RIGHT
# Type of button to accept game in the main gui
PlayerPlayButton: LEFT
Added missing placeholders
Added more logs
Added velocity support ( Still need to be tested )
Fixed issue with dragging items from other inventories.
Fixed GUI heads skin issue
Added %TAX_DEDUCTION% and %TAX% into Messages.SummaryLoss and Messages.SummaryWin
Added missing %PLAYER1% and %PLAYER2% into the CountDownGUI.Title
Another small update - fixed another exception
Fixed NoSuchElementException on bungeecord.
- added %AMOUNT_BET% placeholder in broadcast message and summary win/lose messages ( returns game amount instead of gameAmount * 2 )
- Plugin now running fine on Java 11
- Fixed support for lower MC versions
Fixed issues with new GUI library on bungeecord.
Added missing ItemFlags checks in CUSTOMITEMPROVIDER.
Added new subcommand /cf texture to obtain texture from item in main hand. (requires cf.texture permission)
BE CAREFULL !! If you bet a eg. Slimefun item and then remove your game, you will get back only player head with texture, without any NBT tags, just a blank ItemStack with (if defined) name, lore, custommodeldata, flags from config file like following
Now you can use texture or URL with texture as Base64 option in config files.
Material: PLAYER_HEAD # Material of item
DisplayName: '' # Display name of item
Lore: []
CustomModelData: 0 # CustomModelData of item
Base64: 382fc3f71b41769376a9e92fe3adbaac3772b999b219c9d6b4680ba9983e527 # used only with PLAYER_HEAD material
ItemFlags: []
- Fixed IncompatibleClassChangeError when using new GUI library
- Fixed switching providers & currencies in the Creation GUI
- Fixed countdown GUI when using new GUI lib
- Updated XSeries library
- Added support for the new CoralPrisons economy provider
Fixed cf.create permissions in GUI
Fixed NPE when closing inventories and other player is offline
Fixed IncompatibleClassChangeError in versions below 1.21 (again)
1.21.3 support
Fixed NPE in bungeecord countdown GUI
Fixed sending game result message twice on bungeecord