AdvancedCoinflip
For questions, reports bugs ask on our discord
Please remember that Gradient & HEX colors works only on 1.16+
WORKS ON JAVA 11
- Supports MySQL & SQLite database. ✅
- Highly customizable ✅
- CustomModelData & Base64 in GUI ✅
- RGB Color support ✅
<#00FFFF>Solid
<#00FFFF>Gradient</#935353>
<RAINBOW1>Rainbow</RAINBOW>
<RAINBOW100>Rainbow</RAINBOW> - PAPI Placeholders ✅
- Game GUI Builder ✅
- Multiple economy providers ✅
- Animations ✅
- Custom game item provider (Gamble with predefined item) ✅
- Experience provider (Gamble with XP points) ✅
- Pagination System ✅
- VAULT
- TOKENENCHANT
- TOKENMANAGER
- GAMEPOINTS
- PLAYERPOINTS
- BEASTTOKENS
- COINSAPI
- ULTRAECONOMY
- COINSENGINE
New Boost System
Added boost system by specifying 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.
New Animation System
A new animation system has been added.
Animations can be edited in animation.yml file.
If you wish to use previous animation just set AnimationGUI.AnimationID to empty string
AnimationGUI.AnimationLenght will be ignored if using new system, new animations ends automatically after animating all ticks
Now you can create anims like this one!
#animation: #animation name used in config.yml
# '0': #tick - needs to be numeric
# 'GREEN_STAINED_GLASS_PANE': #custom name-whatever
animation_choosen:
'0':
RED_STAINED_GLASS_PANE:
Slots: [4, 12, 14, 22]
Material: "RED_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'1':
RED_STAINED_GLASS_PANE:
Slots: [3, 4, 5, 11, 12, 14, 15, 21, 22, 23]
Material: "RED_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'2':
RED_STAINED_GLASS_PANE:
Slots: [2, 3, 4, 5, 6, 10, 11, 12, 14, 15, 16, 20, 21, 22, 23, 24]
Material: "RED_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'3':
RED_STAINED_GLASS_PANE:
Slots: [1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25]
Material: "RED_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'4':
RED_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "RED_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
animation:
'0':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'1':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [9, 10, 11, 12, 13, 14, 15, 16, 17]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'2':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'3':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'4':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [9, 10, 11, 12, 13, 14, 15, 16, 17]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'5':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'6':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'7':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [9, 10, 11, 12, 13, 14, 15, 16, 17]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'8':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'9':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'10':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [9, 10, 11, 12, 13, 14, 15, 16, 17]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'11':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'12':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'13':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [9, 10, 11, 12, 13, 14, 15, 16, 17]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'14':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'15':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'16':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [9, 10, 11, 12, 13, 14, 15, 16, 17]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'17':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
LIME_STAINED_GLASS_PANE:
Slots: [18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "LIME_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
'18':
GREEN_STAINED_GLASS_PANE:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GREEN_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
New API
You can find a stripped API version of this plugin on GitHub:
DexterSK/CoinFlipAPI (github.com)
With the developer API you can get statistics about the player or add your own custom economy provider from any other plugin.
Paginable GUI
Groups
Groups: # this is default amount of games to player without perms Default: 5 #if player has "cf.vip" perm he can make 10 games #you can also change vip, boss keys as you wish vip: Permission: "cf.vip" Amount: 10 #if player has "cf.boss" perm he can make 15 games boss: Permission: "cf.boss" Amount: 15
Summary
This plugin allows your players to gamble with many currencies from supported plugins (see above). You simply create a coin flip session by selecting your side and amount you wish to bet. Once your session is created, any players can accept the bet and possibly double your currencies.
Installation
Simply drag&drop the plugin file into plugins folder on your server and restart your server.
Config
# AdvancedCoinflip
# Author: DexterSK
# Copyright DexterSK 2022-2024. All rights reserved.
#
# Logger will save actions like creating/removing games, winning or loosing games
# with some info like player names & money bet
Logger:
Enabled: true
DateFormat: "dd.MM.yyyy HH:mm:ss"
FileName: "logger.log"
Storage:
# Types available:
# - SQLITE
# - MYSQL
Type: SQLITE
MySQL:
Driver: "com.mysql.cj.jdbc.Driver"
# The ip of your database server
Host: localhost
# The port of your database, usually 3306;
Port: 3306
# The name of your database user
User: root
# The password of your database user
# WARNING: Please make sure only people who are allowed to know the password can access this file
Pass: ""
# The name of the database which CF should create its tables in
# Note: CF won't create this database, it must be pre-created using eg. phpMyAdmin
Data: "database_name"
# Prefix of tables
TablePrefix: "advancedcoinflip_"
# Use SSL connection?
UseSSL: false
# Not recommended; Makes CF use the standard JDBC connector instead of the more powerful multi-pooled HikariCP one
# You can give this a try if you have strange problems with connecting to your database
BasicDatabaseConnector: false
# You can make CF ignore the two options above and use a direct URI to connect instead
# Format for MySQL servers: jdbc:mysql://<yourIp>:<yourPort>/<yourDatabase>?useSSL=false
CustomURI: ""
# Connection options ( Not used when using custom URI connection string )
Options: "useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&failOverReadOnly=false&maxReconnects=10&allowPublicKeyRetrieval=true"
# Pool settings
Pool:
# Connection timeout in ms
TimeOut: 2000
# Maximum amount of pooled connections. See: https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
MaxPoolSize: 10
# Maximum number of milliseconds that the pool will wait for a connection to be validated asalive.
ValidationTimeout: 2000
Hooks:
# Enable disable the hook
SkinsRestorer: true
PlaceholderAPI: true
Geyser: true
Floodgate: true
Settings:
# Enable/Disable debug messages
Debug: false
# If your server is in offline mode, and you have the SkinsRestorer plugin,
# and you want your users to use the SkinsRestorer skin set this
# value to CRACKED, however if your server is premium set this value to PREMIUM.
ServerType: 'CRACKED'
# Enable/Disable boosters
# Boost player with cf.boost.[BOOST(INT)] permission eg. cf.boost.50
EnableBoosters: false
# Enable new library for GUI ?
EnableNewGUILibrary: false
# Sound for tab completer
TabCompleterSound: "BLOCK_DISPENSER_FAIL, 80.0f, 1.0f"
# Enable new ANSI text logo on plugin startup?
EnableTextLogo: true
Money:
# This pattern will be used to display money in the chat messages & Creation GUI.
#More information about pattern can be found here:
#https://docs.oracle.com/javase/tutorial/i18n/format/decimalFormat.html
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
# This is used to send embed to discord channel when CF game ends check discord.yml for more
Discord:
Depencies:
# NONE - Do not use any discord dependency.
# DISCORD-SRV - Uses the Discord SRV API
API: 'DISCORD-SRV'
# messages prefix, use %PREFIX% in messages
Prefix: "&7[<#882285>AdvancedCoinFlip</#EE6F20>&7]"
# Min/max must be between 0 and 9,223,372,036,854,775,808
MinimumBet: 100
MaximumBet: 1000000000
# Cooldown on GUI click in ms
GuiClickCooldown: 100
# Command cooldown in ms
CommandCooldown: 1000
# Every game older than specified time will be removed when executing /cf purge
Purge:
TimeUnit: DAYS # SECONDS, MINUTES, HOURS, DAYS
Time: 10
# BungeeCord support, you need plugin on BungeeCord and other server and also MySQL enabled
BungeeCord: false
# How long we should keep response from other server in ticks?
BungeeCordResponseValidTicks: 45
# Velocity support, you need plugin on Velocity and other servers and also MySQL enabled
Velocity: false
# If true gui will show up for both players, otherwise only for who clicked
OpenGuiForBoth: true
# If true gui will open again if player closes GUI
OpenGuiOnClose: true
# Forces game end on gui close by one player. This needs OpenGuiOnClose set to false
EndGameOnGuiClose: true
# Should we cancel game & refund bet if one player crashed?
# Note that he can obtain any provider while offline except EXPERIENCE/ITEMS provider
RefundOnCrash: false
# Should we close creation GUI after bet creation or should we open CF GUI?
CloseCreationGUIAfterCreation: true
# Should we remove player's bets on quit?
RemoveBetsOnQuit: false
# Should be users with cf.delete permission be able to remove others bets with right click?
AdminRightClickRemove: true
# 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
# Should we enable player to remove own game via GUI?
RemoveOwnGameViaGUI: true
# update check on startup
CheckForUpdate: true
# player needs to verify bet with simple chat message. eg: ,,yes" word.
Confirmation: true
YES_WORD: "yes"
EXIT_WORD: "exit"
# Lost of gamemodes that player cant use any CF command
DisabledGamemodes:
- ADVENTURE
- CREATIVE
- SPECTATOR
DisabledWorlds:
- 'world_name'
Broadcast:
# How much needs to be won to broadcast to everyone? Set to 0 to broadcast all winnings.
MinimumBroadcastWinnings: 1000
# How much needs to be to broadcast to everyone? Set to 0 to broadcast all creations.
MinimumBroadcastCreation: 1000
# Should we broadcast if player creates coinflip game?
BroadcastCoinFlipCreation: true
Tax:
# Enable/Disable tax feature
Enabled: false
# 5% tax
Rate: 5
# Name of the heads in the GUI
Sides:
- "Heads"
- "Tails"
# Economy providers
Providers:
# This economy provider will be used if the player does /cf create <amount>
# without specifying a currency provider after the amount to use if multiple
# providers are enabled.
DefaultProvider: "VAULT"
# Vault Economy (requires Vault + economy plugin)
# https://dev.bukkit.org/projects/vault
VAULT:
Enabled: true
DisplayCurrencyName: "$"
# TokenEnchant Economy (requires TokenEnchant plugin)
# https://polymart.org/resource/155
TOKENENCHANT:
Enabled: true
DisplayCurrencyName: "TokenEnchant"
# TokenManager Economy (requires TokenManager plugin)
# https://www.spigotmc.org/resources/8610/
TOKENMANAGER:
Enabled: true
DisplayCurrencyName: "TokenManager"
# UltraPrisonCore Tokens Economy (requires UltraPrisonCore plugin)
# https://www.spigotmc.org/resources/86845/
ULTRAPRISONCORE:
Enabled: true
DisplayCurrencyName: "UltraPrisonCore"
# GamePoints Economy (requires GamePoints plugin) !!! OLD - new is CoinsEngine but leaving it here just in case someone using it
# https://www.spigotmc.org/resources/84121/
GAMEPOINTS:
Enabled: true
DisplayCurrencyName: "GamePoints"
# CoinsEngine Economy (requires GamePoints plugin)
# https://www.spigotmc.org/resources/84121/
COINSENGINE:
Enabled: true
# PlayerPoints Economy (requires PlayerPoints plugin)
# https://www.spigotmc.org/resources/80745/
PLAYERPOINTS:
Enabled: true
DisplayCurrencyName: "PlayerPoints"
# BeastTokens Economy (requires BeastTokens plugin)
# https://www.spigotmc.org/resources/20806/
BEASTTOKENS:
Enabled: true
DisplayCurrencyName: "BeastTokens"
# Custom item provider
CUSTOMITEMPROVIDER:
Enabled: true
DisplayCurrencyName: "Items"
Items:
# You can add many items here as you wish
BAT:
Material: PLAYER_HEAD # Material of item
DisplayName: '' # Display name of item
Lore: []
CustomModelData: 0 # CustomModelData of item
# This should be skinID or link like https://textures.minecraft.net/texture/382fc3f71b41769376a9e92fe3adbaac3772b999b219c9d6b4680ba9983e527
Base64: 382fc3f71b41769376a9e92fe3adbaac3772b999b219c9d6b4680ba9983e527 # used only with PLAYER_HEAD material
ItemFlags:
- HIDE_ENCHANTS
GoldIngot:
Material: GOLD_INGOT # Material of item
DisplayName: '' # Display name of item
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
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
# Experience provider
EXPERIENCEPROVIDER:
Enabled: true
DisplayCurrencyName: "EXP"
# CoinsAPI Economy (requires CoinsAPI plugin)
# https://www.spigotmc.org/resources/35150/
COINSAPINB:
Enabled: true
DisplayCurrencyName: "Coins"
# UltraEconomy (requires UltraEconomy plugin)
# https://www.spigotmc.org/resources/83374/
ULTRAECONOMY:
Enabled: true
# EcoBits (requires EcoBits plugin)
# https://www.spigotmc.org/resources/109967/
ECOBITS:
Enabled: true
# CoralPrisons economy (requires CoralPrisons plugin)
CORALPRISONS:
Enabled: true
Groups:
# this is default amount of games to player without perms
Default: 5
#if player has "cf.vip" perm he can make 10 games
#you can also change vip, boss as you wish
vip:
Permission: "cf.vip"
Amount: 10
#if player has "cf.boss" perm he can make 15 games
boss:
Permission: "cf.boss"
Amount: 15
GUI:
Rows: 3
Title: "§lCOIN FLIP"
ClickSound: "BLOCK_COMPARATOR_CLICK, 1f, 1f"
DeleteGameSound: "ENTITY_VILLAGER_NO, 1f, 1f"
FailSound: "ENTITY_VILLAGER_NO, 1f, 1f"
NoFunds: "ENTITY_VILLAGER_NO, 1f, 1f"
# You can add more items here
FillerItems:
Filler1:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GRAY_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
# Items below here are fixed and ID should not be removed/changed.
ErrorNoFunds:
Material: "BARRIER"
DisplayName: "§cNot Enough %CURRENCY%"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- ""
- "§7You don't have enough %CURRENCY% for this game!"
OwnerNotOnline:
Material: "BARRIER"
DisplayName: "§cPlayer %NAME% must be online"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- ""
- "§7Player %NAME% must be online"
- "§7to accept this type of game."
OwnerCantPlay:
Material: "BARRIER"
DisplayName: "§cPlayer %NAME% can't play"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- ""
- "§7Player %NAME% can't play right now"
- "§7he is already in the game."
RequestSent:
Material: "BARRIER"
DisplayName: "§cAsking BungeeCord..."
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- ""
- "§7Request for %NAME% has been sent."
- "§7Click again to continue."
AdminDeleteGameLore:
- ""
- "§7Right Click to delete"
Game:
# You need to have set EnableNewGUILibrary to true to take effect for slots, otherwise slots are calculated in other way
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
Material: "PLAYER_HEAD"
DisplayName: "§f§l%NAME%"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- ""
- "§b§l%CURRENCY% bet"
- " §7%MONEY%"
- ""
- "§b§lSide"
- " §7%SIDE%"
- ""
- "§b§lCurrency"
- " §7%CURRENCY%"
- ""
- "§b§lStats"
- " §7Wins §7%WINS%"
- " §7Losses §7%LOSSES%"
- " §7Profit §7%PROFIT%"
- " §7Win percentage §7%WIN_PERCENTAGE%"
- ""
- "§7Click here for §a§lACCEPT §7game!"
GameGeyser:
Material: "YELLOW_BANNER"
DisplayName: "§f§l%NAME%"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- ""
- "§b§l%CURRENCY% bet"
- " §7%MONEY%"
- ""
- "§b§lSide"
- " §7%SIDE%"
- ""
- "§b§lCurrency"
- " §7%CURRENCY%"
- ""
- "§b§lStats"
- " §7Wins §7%WINS%"
- " §7Losses §7%LOSSES%"
- " §7Profit §7%PROFIT%"
- " §7Win percentage §7%WIN_PERCENTAGE%"
- ""
- "§7Click here for §a§lACCEPT §7game!"
GameOwn:
Material: "PLAYER_HEAD"
DisplayName: "§f§l%NAME%"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- ""
- "§b§l%CURRENCY% bet"
- " §7%MONEY%"
- ""
- "§b§lSide"
- " §7%SIDE%"
- ""
- "§b§lCurrency"
- " §7%CURRENCY%"
- ""
- "§b§lStats"
- " §7Wins §7%WINS%"
- " §7Losses §7%LOSSES%"
- " §7Profit §7%PROFIT%"
- " §7Win percentage §7%WIN_PERCENTAGE%"
- ""
- "§7Click here for §c§lCANCEL §7game!"
GameOwnGeyser:
Material: "YELLOW_BANNER"
DisplayName: "§f§l%NAME%"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- ""
- "§b§l%CURRENCY% bet"
- " §7%MONEY%"
- ""
- "§b§lSide"
- " §7%SIDE%"
- ""
- "§b§lCurrency"
- " §7%CURRENCY%"
- ""
- "§b§lStats"
- " §7Wins §7%WINS%"
- " §7Losses §7%LOSSES%"
- " §7Profit §7%PROFIT%"
- " §7Win percentage §7%WIN_PERCENTAGE%"
- ""
- "§7Click here for §c§lCANCEL §7game!"
CreateGame:
Enable: true
Slot: 26
Material: "PLAYER_HEAD"
DisplayName: "§b§lCreate Game"
Base64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmQ4NmRiOWExNGQ1ODc5ZmEyODExZDMwMWNjYmQ1MjY5OTRmODcxMjQ3YjYyZjJkOWE0ODE4M2U5NjQxYWQ2OSJ9fX0=
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- "§7Click here for §a§lCREATE §7game!"
HelpInfo:
Enable: true
Slot: 25
Material: PLAYER_HEAD
DisplayName: "§b§lHelp"
Base64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzM1YmEzOTNiODYxMGI2M2ViZWU0YzEzYzgzNThiYzZjOTRhOWRlZGM4ZTRkN2QzNmI5MjIyNTdlNjVlOCJ9fX0=
CustomModelData: 0
Amount: 1
Glow: true
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- ""
- "§b/coinflip"
- "§7Shows this menu"
- ""
- "§b/coinflip <amount> <heads/tails> [economy]"
- "§7Creates coinflip game with optional [economy] provider"
- ""
- "§b/coinflip stats"
- "§7Shows your stats"
- ""
- "§b/coinflip cancel"
- "§7Removes your CoinFlip game"
- ""
- "§b/coinflip toggle"
- "§7Toggles broadcasts from CoinFlip"
Stats:
Enable: true
Slot: 18
Material: BOOK
DisplayName: "§b§lStatistics"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- ""
- "§7Player: §b%PLAYER%"
- ""
- "§7Wins: §b%WINS%"
- "§7Loses: §b%LOSSES%"
- "§7Profit: §b%PROFIT%"
- "§7Win percentage: §b%WIN_PERCENTAGE%%"
- ""
PrevPage:
Slot: 21
Material: ARROW
DisplayName: §7Previous
Lore:
- '&7Go to previous page'
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Close:
Slot: 22
Material: BARRIER
DisplayName: §cClose
Lore:
- '&7Close GUI'
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
NextPage:
Slot: 23
Material: ARROW
DisplayName: §7Next page
Lore:
- '&7Go to next page'
Base64: 0
CustomModelData: 10952
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
CreateGUI:
Rows: 3
Title: "§lCOIN FLIP"
ClickSound: "BLOCK_COMPARATOR_CLICK, 1f, 1f"
FailSound: "ENTITY_VILLAGER_NO, 1f, 1f"
CreateSound: "ENTITY_EXPERIENCE_ORB_PICKUP, 1f, 1f"
# You can add more items here
FillerItems:
Filler1:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GRAY_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Info:
Slot: 13
Material: "PLAYER_HEAD"
DisplayName: "§b§lInfo"
Base64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODNlMjc5NjU2YmQ3NGI2ODE1OTdmYjQ0M2QxOWQ0YTIyMGYzNTBkNjZiYTA0ZjgyNmRjYzg5YWUxMjVjZDgifX19
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- "§r"
- "§b§l%CURRENCY% bet"
- " §7%BET_AMOUNT%"
SideLore:
- "§r"
- "§b§lSide"
SideLoreSelected: " §a§l%SIDE%"
SideLoreUnselected: " §7%SIDE%"
CurrencyLore:
- "§r"
- "§b§lCurrency"
CurrencyLoreSelected: " §a§l%CURRENCY%"
CurrencyLoreUnselected: " §7%CURRENCY%"
MultipleCurrencyLoreSelected: " §a§l%CURRENCY%"
MultipleCurrencyLoreUnselected: " §7%CURRENCY%"
LoreFooter:
- "§r"
- "§7§oLeft click - change currency"
- "§7§oRight click - change side"
BackButton:
Slot: 18
Material: "PLAYER_HEAD"
DisplayName: "§c§lBack"
Base64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjg0ZjU5NzEzMWJiZTI1ZGMwNThhZjg4OGNiMjk4MzFmNzk1OTliYzY3Yzk1YzgwMjkyNWNlNGFmYmEzMzJmYyJ9fX0=
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- "§7Click to return"
CustomAmount:
Slot: 22 #18
Material: "PLAYER_HEAD"
DisplayName: "§b§lSet Custom Amount"
Base64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzMyOGQ2ZDIxNGRhNDA1YjM0ODJhZjRiMjQ3MGJkNTMzNTNjZDk0MjMxZjNjMjNhMzIxMWQ5ODk4MzMzMmQ1In19fQ==
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- "§7Click to set custom amount in chat"
CreateGame:
Slot: 26
Material: "PLAYER_HEAD"
DisplayName: "§a§lCreate"
Base64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTkyZTMxZmZiNTljOTBhYjA4ZmM5ZGMxZmUyNjgwMjAzNWEzYTQ3YzQyZmVlNjM0MjNiY2RiNDI2MmVjYjliNiJ9fX0=
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- "§7Click to create"
AmountSelection:
Plus1:
Slot: 14
Material: "PLAYER_HEAD"
DisplayName: "§a§l+1.000"
Base64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjA1NmJjMTI0NGZjZmY5OTM0NGYxMmFiYTQyYWMyM2ZlZTZlZjZlMzM1MWQyN2QyNzNjMTU3MjUzMWYifX19
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
SetAmount: "+1000"
Lore: []
Plus2:
Slot: 15
Material: "PLAYER_HEAD"
DisplayName: "§a§l+10.000"
Base64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjA1NmJjMTI0NGZjZmY5OTM0NGYxMmFiYTQyYWMyM2ZlZTZlZjZlMzM1MWQyN2QyNzNjMTU3MjUzMWYifX19
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
SetAmount: "+10000"
Lore: []
Plus3:
Slot: 16
Material: "PLAYER_HEAD"
DisplayName: "§a§l+100.000"
Base64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjA1NmJjMTI0NGZjZmY5OTM0NGYxMmFiYTQyYWMyM2ZlZTZlZjZlMzM1MWQyN2QyNzNjMTU3MjUzMWYifX19
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
SetAmount: "+100000"
Lore: []
Minus1:
Slot: 12
Material: "PLAYER_HEAD"
DisplayName: "§c§l-1.000"
Base64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGU0YjhiOGQyMzYyYzg2NGUwNjIzMDE0ODdkOTRkMzI3MmE2YjU3MGFmYmY4MGMyYzViMTQ4Yzk1NDU3OWQ0NiJ9fX0=
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
SetAmount: "-1000"
Lore: []
Minus2:
Slot: 11
Material: "PLAYER_HEAD"
DisplayName: "§c§l-10.000"
Base64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGU0YjhiOGQyMzYyYzg2NGUwNjIzMDE0ODdkOTRkMzI3MmE2YjU3MGFmYmY4MGMyYzViMTQ4Yzk1NDU3OWQ0NiJ9fX0=
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
SetAmount: "-10000"
Lore: []
Minus3:
Slot: 10
Material: "PLAYER_HEAD"
DisplayName: "§c§l-100.000"
Base64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGU0YjhiOGQyMzYyYzg2NGUwNjIzMDE0ODdkOTRkMzI3MmE2YjU3MGFmYmY4MGMyYzViMTQ4Yzk1NDU3OWQ0NiJ9fX0=
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
SetAmount: "-100000"
Lore: []
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'
AnimationGUI:
Rows: 3
Title: "§lWINNER IS.."
LoseSound: "ENTITY_VILLAGER_NO, 1f, 1f"
WinSound: "ENTITY_VILLAGER_YES, 1f, 1f"
# Animation sound used in choosing animation
AnimationSound: "BLOCK_COMPARATOR_CLICK, 1f, 1f"
# Animation speed in ticks
AnimationSpeed: 6
# Animation lenght in ticks
# Not used when using custom animations
AnimationLenght: 12
# NEW Animation System!
# Set empty if you wish to use Spinning filler items below
# Set to a animation id in the animation.yml file if you wish to use anims
AnimationID: 'animation'
# Animation to play when winner has been choosen / animation above ends
AnimationChoosenID: 'animation_choosen'
# Sound to play when winner has been choosen
AnimationChoosenSound: "ENTITY_EXPERIENCE_ORB_PICKUP, 1f, 1f"
# Items below here are fixed and ID should not be removed/changed.
FillerItems:
Spin1:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "GRAY_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Spin2:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "YELLOW_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Final:
Slots: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
Material: "LIGHT_BLUE_STAINED_GLASS_PANE"
DisplayName: "§7"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
GameItem:
Slot: 13
Material: "PLAYER_HEAD"
DisplayName: "§f§l%NAME%"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- "&b&l%PLAYER%"
- "&7Money bet: &b%MONEY%"
- "&7Side: &b%SIDE%"
- "&7Choosen side: &b%CHOOSEN_SIDE%"
- "&7Currency: &b%CURRENCY%"
- "&7Wins: &b%WINS%"
- "&7Losses: &b%LOSSES%"
- "&7Profit: &b%PROFIT%"
- "&7Win percentage: &b%WIN_PERCENTAGE%"
GameItemGeyser:
Slot: 13
Material: "YELLOW_BANNER"
DisplayName: "§f§l%NAME%"
Base64: 0
CustomModelData: 0
Amount: 1
Glow: false
ItemFlags:
- HIDE_ENCHANTS
- HIDE_ATTRIBUTES
Lore:
- "&b&l%PLAYER%"
- "&7Money bet: &b%MONEY%"
- "&7Side: &b%SIDE%"
- "&7Choosen side: &b%CHOOSEN_SIDE%"
- "&7Currency: &b%CURRENCY%"
- "&7Wins: &b%WINS%"
- "&7Losses: &b%LOSSES%"
- "&7Profit: &b%PROFIT%"
- "&7Win percentage: &b%WIN_PERCENTAGE%"
# messages
Messages:
FullEntry: "%PREFIX% §c➥ §7CoinFlip entries are full!"
WinBroadcastWithTax: "%PREFIX% §b➥ §7§a%WINNER% §7beated §c%LOSER% §7in§b%AMOUNT% %CURRENCY%§7 (-%TAX_DEDUCTION%€ %TAX%% tax) §7CoinFlip game §b/cf"
WinBroadcastWithoutTax: "%PREFIX% §b➥ §7§a%WINNER% §7beated §c%LOSER% §7in §b%AMOUNT% %CURRENCY%§7 CoinFlip game §b/cf"
CreatedGameBroadcast: "%PREFIX% §b➥ §7%PLAYER% created CoinFlip game with §b%AMOUNT% %CURRENCY%§7."
Entered: "%PREFIX% §b➥ §7You have created game for §3%AMOUNT% %CURRENCY% §b/cf"
Removed: "%PREFIX% §c➥ §7You have removed %NAME%'s &7game!"
Canceled: "%PREFIX% §c➥ §7You have removed your game!"
CanceledHelp: "%PREFIX% §b➥ §7Write §b/cf cancel &7for cancel game"
ReceivedMoney: " §a§l+ %AMOUNT% %CURRENCY%"
LostMoney: " §c§l- %AMOUNT% %CURRENCY%"
NotEnoughMoney: "%PREFIX% §c➥ §7You don't have enough %CURRENCY%!"
NotEnoughEnterMoney: "%PREFIX% §c➥ §7Bet must be bigger than §c%AMOUNT%§7!"
TooMuchEnterMoney: "%PREFIX% §c➥ §7Bet can't be higher than §c%AMOUNT%§7!"
AlreadyInBet: "%PREFIX% §c➥ §7You have already created game!"
NotInBet: "%PREFIX% §c➥ §7You dont have any active game!"
ToggleON: "%PREFIX% §b➥ §7CoinFlip broadcast are now §a§lENABLED"
ToggleOFF: "%PREFIX% §b➥ §7CoinFlip broadcast are now §c§lDISABLED"
ToggleConfirmationON: "%PREFIX% §b➥ §7CoinFlip confirmations are now §a§lENABLED"
ToggleConfirmationOFF: "%PREFIX% §b➥ §7CoinFlip confirmations are now §c§lDISABLED"
CantEnterSelfBet: "%PREFIX% §c➥ §7You can't accept own game!"
CantUseInGamemode: "%PREFIX% §c➥ §7You cant use CoinFlip in §b%GAMEMODE% §7gamemode!"
CantUseInWorld: "%PREFIX% §c➥ §7You cant use CoinFlip in §b%WORLD% §7world!"
Usage: "%PREFIX% §b➥ §7Usage: §b/coinflip <amount> [heads/tails] [economy]"
UsageToggle: "%PREFIX% §b➥ §7Usage: §b/coinflip toggle <broadcast/confirmation>"
CantFindPlayer: "%PREFIX% §c➥ §7Player %PLAYER% is not online!"
ReloadSuccess: "%PREFIX% §b➥ §7Reloaded sucessfully!"
ReloadError: "%PREFIX% §c➥ §7Error occured!"
NotEnoughPerm: "%PREFIX% §c➥ §7You dont have enough perms!"
StatsReset: "%PREFIX% §b➥ §7Statistics has been reseted!"
Accepted: "%PREFIX% §b➥ §b%PLAYER% §7accepted your game!"
EnterAmountInChat: "%PREFIX% §b➥ §7Please write amount in chat, write 'exit' for cancel."
InvalidNumber: "%PREFIX% §c➥ §7Entered number %NUMBER% §7is not a valid number!"
OwnerNotOnline: "%PREFIX% §c➥ §7You can accept this game only when %NAME% is online!"
VerifyChat: "%PREFIX% §c➥ §7Please write '§b%YES_WORD%§7' into chat to confirm. Type '§c%EXIT_WORD%§7' to exit."
ExitChat: "%PREFIX% §c➥ §7Cancelled CoinFlip creation."
MaxReached: "%PREFIX% §c➥ §7You have reached max amount of games (%MAX%)."
RemovedOldGames: "%PREFIX% §c➥ §7Successfuly removed %AMOUNT% games."
NoGamesToRemove: "%PREFIX% §c➥ §7There are no games to remove."
WrongProvider: "%PREFIX% §c➥ §7There are no provider with %NAME% name."
YouHaveToWait: "%PREFIX% §c➥ §7You have to wait §c%MILIS% ms §7before executing command again."
OwnerCantPlay: "%PREFIX% §c➥ §7Player §c%NAME% §7can't play right now because he is already in a game."
GameCancelled: "%PREFIX% §c➥ §7Game was cancelled because %NAME% left the game."
SummaryLoss:
- ""
- "<center>§b§lGame summary</center>"
- "<center>§cYou lost, better luck next time.</center>"
- ""
- "<center>§7Money bet: §f%AMOUNT_BET% %CURRENCY%</center>"
- "<center>§7Winner: §a%WINNER% %WINNINGS% %CURRENCY% (-%TAX_DEDUCTION% %TAX%% tax)</center>"
- "<center>§7Loser: §c%LOSER%</center>"
- ""
SummaryWin:
- ""
- "<center>§b§lGame summary</center>"
- "<center>§a§lWINNER</center>"
- ""
- "<center>§7Money bet: §f%AMOUNT_BET% %CURRENCY%</center>"
- "<center>§7Winner: §a%WINNER% %WINNINGS% %CURRENCY% (-%TAX_DEDUCTION% %TAX%% tax)</center>"
- "<center>§7Loser: §c%LOSER%</center>"
- ""
HelpMessage:
- ""
- "§7------------ Advanced CoinFlip Help ------------"
- "§b/cf help §7- Displays this message"
- "§b/coinflip <amount> <heads/tails> [economy] §7- Creates CoinFlip game"
- "§b/cf stats §7- Displays your stats"
- "§b/cf toggle §7- Toggles broadcast messages"
- "§7------------ Advanced CoinFlip Help ------------"
- ""
Images
Commands
/cf <amount> [heads/tails] [economy] - Creates a game with specified amount & side & economy provider
/cf toggle <broadcast/confirmation> - Toggles broadcasts/confirmation messages
/cf stats - Shows onw stats
/cf stats <player> - Shows other player stats
/cf stats <player> reset - Resets stats of player
/cf reload - Reloads plugin config
/cf cancel - Cancel game bet
/cf purge - Purge games older than the time specified in config
Permissions
cf.admin - Permission for deleting other games by right clicking
cf.update - Show update notifications (Send message after join if there are a update)
cf.reload - Access to /cf reload command (Reloads plugin configuration) default: op
cf.toggle - Access to /cf toggle command (Toggle broadcasts on/off) default: player
cf.cancel - Access to /cf cancel command (Cancel own bet) default: player
cf.help - Access to /cf help command (Shows help message) default: player
cf.stats - Access to /cf stats command (Shows own statistics) default: player
cf.stats.other - Access to /cf stats <player> command (Shows others statistics) default: op
cf.stats.reset - Access to /cf stats <player> command (Reset own stats) default: op
cf.stats.reset.other - Access to /cf stats <player> command (Reset others statistics) default: op
cf.create - Access to /cf <amount> [provider] command (Create a game) default: player
cf.gamemode_bypass - Permission for bypass gamemode check default: op
cf.world_bypass - Permission for bypass world check default: op
Placeholders
%coinflip_games_played% - Total number of games played.
%coinflip_wins% - Number of games won.
%coinflip_losses% - Number of games lost.
%coinflip_win_percentage% - Win to loss ratio as percentage.
%coinflip_profit% - Total profit earned from wins.
%coinflip_profit_formatted% - Formatted total profit earned from wins (e.g. 3,000,000).
Terms of Service
- You may not redistribute plugin, in any shape or form neither it's code or parts of it.
- You may ask me for support.
- No refunds, as one does not have a right to get a refund for such digital item, because you have been gained access to it instantly and may have used it.