Features
Coinflip Game Animation
When the Coinflip starts, both Players will open the Game GUI, in that GUI there is a Cricle spinning with the Players Heads, this animation decides who wins the flip.
Other players can join to spectate a Coinflip.
Should both players leave the Game GUI, the Coinflip will end and a winner will be choosen randomly.
Tax
The Plugin will take a cut of the final amount that is given to the winner.
You can configure this in
/plugins/CrownCoinflips/config.yml.The percentage is set in
tax-percentage.
Min Amount
This is the min amount you have to use to be able to create a Coinflip.
You can configure this in
/plugins/CrownCoinflips/config.yml.The amount is set in
coinflip-min-amount.
Coinflip Animation
You can configure this in
/plugins/CrownCoinflips/config.yml.The min spin amount is set in
coinflip-min-spins. This means the animation will always spin min x times.The random values are set in
coinflip-random-spins-1andcoinflip-random-spins-2. This will add a random amount of spins to each animation, making them unpredictable.
Global values
Each plugin can have its own values to use in its messages.yml. To do this you simply add the key you want to the messages.yml file (not in the messages path) and then you can call it by using the internal placeholder %<pluginname>_<key>%. Here is an example.
You can configure this in
/plugins/CrownCoinflips/messages.yml.
prefix
%prefix%
%cc_prefix%
whitecolor
%accent%
%cc_accent%
accentColor
%white%
%cc_white%
Message color and hex translation.
All messages in the messages.yml are able to undestand legacy color codes aswell as hex color codes in the following formats legacy & and §, #ffffff and &#ffffff.
Last updated