Crown Development
  • Introduction
  • License System
  • Plugins
    • CrownCore
      • Features
      • Commands & Permissions
      • Placeholders
      • Messages
      • Configuration
      • Sounds
    • CrownTebexData
      • Commands & Permissions
      • Placeholders
      • Messages
      • Configuration
      • Sounds
    • CrownKits
      • Commands & Permissions
      • Messages
      • Configuration
      • Sounds
    • CrownCoinflips
      • Features
      • Commands & Permissions
      • Placeholders
      • Messages
      • Configuration
    • CrownAreaReset
      • Features
      • Commands & Permissions
      • Placeholders
      • Messages
      • Configuration
      • Sounds
  • 🧡 Discord
Powered by GitBook
On this page
  • Coinflip Game Animation
  • Tax
  • Min Amount
  • Coinflip Animation
  • Global values
  • Message color and hex translation.
  1. Plugins
  2. CrownCoinflips

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-1 and coinflip-random-spins-2. This will add a random amount of spins to each animation, making them unpredictable.

Global values

  • You can configure this in /plugins/CrownCoinflips/messages.yml.

Key
Internal placeholder
PAPI placeholder

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.

PreviousCrownCoinflipsNextCommands & Permissions

Last updated 3 months ago

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