
【AdvancedCoinflip】 10.24.3
⚡️MySQL & SQLite ✅RGB Color ✅ Highly customizable✅ BungeeCord/Velocity✅⚡️
Updated beasttokens api
Some GUI improvements
Added default config for new 1.20.2 servers with new Base64 values
Fixed creating bets via GUI with customitem provider.
Fixed disappearing items if you don't have enough space in inventory, items will be dropped on the ground
Fixed error ,,The skull profile is missing a name or textures!"
Fixed NPE in game menu when not using player heads as a material
Fixed inconsistent skull meta warnings on new 1.20.2 servers
Added boost system by specifiyng player boost with permission cf.boost.1 - cf.boost.100
(can be disabled in config)
- None of player has booster - Both players get a 50/50 chance at winning the coinflip.
- Only one player has booster - The player with the booster will get his percentage, while the other gets 100%-the booster players percentage. Example: p1 has 70% booster, p2 has none. In this case, p2 has 30% chance to win.
- Both players have booster - Each one has a chance of their booster/total sum of both booster. If p1 has 70% booster and p2 has 100% booster, p1 will have 70/170 chance of winning, while p2 will have 100/170 chance of winning.
The latest 1.20.2 server versions no longer support the old head texture. Now, head textures need to be from an actual minecraft user skin. Majang now stores all skins that a player ever had set. Mojang only allows textures from their texture server.
- You can find custom head textures at: https://minecraft-heads.com/custom-heads
- Then copy the Minecraft-URL ID:
- Add the copied value to the item by setting
Base64
toskin:<the copied value>
Fixed a bug in main gui
Added new countdown gui, can be disabled in config (please regenerate your animations.yml file)
CountDownGUI:
Rows: 5
Title: "§lCOUNTDOWN"
# Enable/disable the countdown gui before choosing animation
Enable: true
# Sound in countdown anim
CountDownSound: "BLOCK_NOTE_PLING, 1f, 1f"
# Countdown anim speed in ticks ( 20 tick = 1sec )
CountDownSpeed: 20
# CountDown animation ID ( specified in animations.yml )
CountDownAnimationID: 'countdown'
Added ability to add more items to customitemprovider
# Custom item provider
CUSTOMITEMPROVIDER:
Enabled: true
DisplayCurrencyName: "Items"
Items:
# You can add many items here as you wish
GoldIngot:
Material: GOLD_INGOT # Material of item
DisplayName: '' # Display name of item, if empty or only color codes: name & item meta check will be skipped, so you can use items without item meta
Lore: [] #
CustomModelData: 0 # CustomModelData of item
Base64: 0 # used only with PLAYER_HEAD material
ItemFlags: [] # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemFlag.html - NOT USED YET
Diamond:
Material: DIAMOND # Material of item
DisplayName: '' # Display name of item, if empty or only color codes: name & item meta check will be skipped, so you can use items without item meta
Lore: [] #
CustomModelData: 0 # CustomModelData of item
Base64: 0 # used only with PLAYER_HEAD material
ItemFlags: [] # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemFlag.html - NOT USED YET
Added three new config options under Settings section
# Should we remove player's bets on quit?
RemoveBetsOnQuit: false
# Should be users with cf.admin permission be able to remove others bets with right click?
AdminRightClickRemove: true
# Should we disable removing own game via GUI? (this should prevent dupes i hope)
RemoveOwnGameViaGUI: true
Switch from gson to json
added gson dependency
Some small fixes
Java 11 support
Fixed ignored option OpenGuiOnClose
Added new option EndGameOnGuiClose - this will force end game if someone closes animation GUI. This also needs to OpenGuiOnClose set to false.
Fixed issue with broadcast to discord if someone has skin set via skinrestorer from url
Fixed broadcasting to discord multiple times on game end.
Switch to get offline player by UUID instead name
Added NP check to skinsrestorer api because its in softdepend and for someone its always null.
Added option to enable/disable hooks
Hooks:
# Enable disable the hook
SkinsRestorer: true
PlaceholderAPI: true
Geyser: true
Floodgate: true
Added ability to change flipping item for bedrock users (requires geyser/floodgate)
AnimationGUI:
GameItemGeyser:
Slot: 13
Material: "YELLOW_BANNER"
DisplayName: "§f§l%NAME%"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Fixed plugin loading with skinsrestorer snapshot
Another fix for bungeecord.
Added ability to change money format and shortcuts when creating game via command
eg: /cf 100k will make a game with 100.000 etc
Settings:
Money:
# This pattern will be used to display money in the chat messages & Creation GUI.
#More information about pattern can be found here:
#[url]https://docs.oracle.com/javase/tutorial/i18n/format/decimalFormat.html[/url]
Pattern: '#,###'
Easy_Selection:
Enabled: true
# Do NOT use special symbols (e.g. '$') here.
# Use characters only!
Shortcuts:
- Keys:
- k
Value: 1000
- Keys:
- m
- mio
Value: 1000000
Fixed bungeecord issue with giving rewards on every server
Added new option Settings.CommandCooldown.
Reworked Settings.GuiClickCooldown now it refer to all GUI items instead of Amount & Side selection.
Small changes for better catching errors.
Added BungeeCord support.
Please be cautious using BungeeCord because it might present some bugs in the worst cases.