Configuration

Description

This page contains the default config.yml.

Default config file

#
# Thank you for purchasing CrownCoinFlips!
# If you have any questions, suggestions or need help, please do not hesitate and
# join our discord: https://dsc.gg/crownplugins to ask for help!
# We are there to assist you.
#

# you can obtain your license in our discord! https://dsc.gg/crownplugins
# paste your license key in here
license: paste-here

# data storage settings
storage:
  method: h2 # you can choose between h2 and mysql and mariadb
  data:
    host: crownhost
    database: crowndatabase
    username: crownuser
    password: "crownpassword"

    # sets the maximum size of the MySQL connection pool.
    #   https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
    pool-settings:
      maximum-pool-size: 10
      minimum-idle: 10
      maximum-lifetime: 1800000
      keepalive-time: 0
      connection-timeout: 5000

coinflip:
  # the amount the plugin takes of from the final winning amount
  # note that this is taken from the final amount, so if a coinflip is 5.000, the final amount will be 10.000, so at 20% it will take 2.000 away
  tax-percentage: 20
  min-spins: 20 # the min amount of spins a coinflip will do
  random-spins: 24 # a random amount of spins ranging from 1 - x will be added on top
  min-amount: 500 # the min amount needed to create a coinflip
  broadcast-messages: false # set this to true if you want the coinflip messages to be broadcasted

create-new:
  material: PLAYER_HEAD # the material to use for the 'create new coinflip' item in the gui
  texture: M2VkZDIwYmU5MzUyMDk0OWU2Y2U3ODlkYzRmNDNlZmFlYjI4YzcxN2VlNmJmY2JiZTAyNzgwMTQyZjcxNiJ9fX0= # the texture to use if using a player head

Last updated