Configuration

FunWinTop Standard Configuration:

config.yml
# Permissions:
#  win.bypass - bypass permission
#  win.help - /win help
#  win.reload - /win reload
#  win.top - /win top
#  win.money - /win money
#  win.invest - /win invest
#  win.withdraw - /win withdraw
#  win.info - /win info
#  win.rules - /win rules
#  win.prize - /win prize

database:
  isMySQL: false # false - SQLite, true - MySQL
  host: localhost
  port: 3306
  database: db
  user: root
  password: root

settings:
  # Limit configuration
  limit:
    enabled: true
    time: 86400000 # Time in milliseconds
    amount: 25000000 # Maximum investment within the specified time

  features:
    winTop: false
    winMoney: true
    winInvest: true
    winWithdraw: false

messages:
  onlyPlayer:
    - "This command is for players only!"

  winHelp:
    perm:
      - "&f> &#fb7e00Insufficient permissions!"

    success:
      - "&#fb7e00Help for WIN Top commands:"
      - "&f> &#fb7e00/win help &f- Get help information"
      - "&f> &#fb7e00/win top &f- View the player leaderboard"
      - "&f> &#fb7e00/win money &f- Check your balance"
      - "&f> &#fb7e00/win invest amount &f- Invest money"
      - "&f> &#fb7e00/win withdraw amount &f- Withdraw money"
      - "&f> &#fb7e00/win info &f- View conditions and information"
      - "&f> &#fb7e00/win rules &f- Contest rules"
      - "&f> &#fb7e00/win prize &f- View prizes for the top players"

  winReload:
    perm:
      - "&f> &#fb7e00Insufficient permissions!"
    usage:
      - "&f> &#fb7e00Use &e/win reload"
    success:
      - "&f> &#fb7e00Plugin reloaded!"

  winTop:
    perm:
      - "&f> &#fb7e00Insufficient permissions!"
    disabled:
      - "&cAttention! &#fb7e00The TOP is currently disabled."
      - "&#fb7e00You won't see how competitors are progressing."
      - "&#fb7e00The TOP will be enabled at the end of the contest."
    defaultName: "<none>" # If no one is in the specified top position
    defaultBalance: "&e<none>" # If no one is in the specified top position
    decimalFormat: "&e$#,###" # Number format
    success:
      - "&#fb7e00Top players:"
      - "%top%"
    topLines:
      - "&f[1] &#fb7e00%player%&f : %balance%"
      - "&f[2] &#fb7e00%player%&f : %balance%"
      - "&f[3] &#fb7e00%player%&f : %balance%"
      - "&f[4] &#fb7e00%player%&f : %balance%"
      - "&f[5] &#fb7e00%player%&f : %balance%"
      - "&f[6] &#fb7e00%player%&f : %balance%"
      - "&f[7] &#fb7e00%player%&f : %balance%"
      - "&f[8] &#fb7e00%player%&f : %balance%"
      - "&f[9] &#fb7e00%player%&f : %balance%"
      - "&f[10] &#fb7e00%player%&f : %balance%"

  winMoney:
    perm:
      - "&f> &#fb7e00Insufficient permissions!"
    disabled:
      - "&5[$] &#fb7e00Currently, viewing the balance is not allowed!"
    decimalFormat: "$#,###" # Number format
    success:
      - "&5[$] &fYour WIN Top balance: &#fb7e00%balance%"

  winInvest:
    perm:
      - "&f> &#fb7e00Insufficient permissions!"
    disabled:
      - "&5[$] &#fb7e00Currently, investing money is not allowed!"
    numberError:
      - "&5[$] &#fb7e00The amount must be a positive number!"
    balanceError:
      - "&5[$] &#fb7e00Insufficient balance for investment!"
    limit:
      - "&5[$] &#fb7e00This amount exceeds the daily limit!"
    success:
      - "&5[$] &#fb7e00You have successfully replenished the WIN Top balance!"

  winWithdraw:
    perm:
      - "&f> &#fb7e00Insufficient permissions!"
    disabled:
      - "&5[$] &#fb7e00No withdrawals allowed at this time!"
    numberError:
      - "&5[$] &#fb7e00The amount must be a number and greater than zero!"
    amountError:
      - "&5[$] &#fb7e00The amount must be less than the WIN Top's balance!"
    success:
      - "&5[$] &#fb7e00You have successfully withdrawn the WIN Top's balance!"

  winInfo:
    perm:
      - "&f> &#fb7e00Insufficient permissions!"

    success:
      - "&cИНФО: &#fb7e00Players Balance Top Contest."
      - "&cConditions:"
      - "&c> &ffNo one knows the TOP until the end of the contest;"
      - "&c> &fWithdrawal of invested funds is impossible;"
      - "&c> &fPrize cannot be split between teammates;"
      - "&c> &fFull rules in the VK group"
      - "&cEnd of contest: &#fb7e00unknown"

  winRules:
    perm:
      - "&f> &#fb7e00Insufficient permissions!"

    success:
      - "&#fb7e00Rules: &#fb7e00For contestants."
      - "&c> &fOnly one mode can participate;"
      - "&c> &fCannot participate from multi-accounts"
      - "&c> &fNo attempting to circumvent the system in any way;"
      - "&c> &fIf you/your multi-account has been banned for a serious reason during the vyp - disqualification;"
      - "&c> &fIf your teammates have been banned for a serious reason - disqualification;"

  winPrize:
    perm:
      - "&f> &#fb7e00Insufficient permissions!"

    success:
      - "&cINFO: &#fba700Players Balance Top Contest."
      - "&#fb7e00Prizes on Anarchy:"
      - " &#f8fb87[1] Place: &#46fb6575,000 Tokens!"
      - " &#f8fb87[2] Place: &#46fb6560,000 Tokens!"
      - " &#f8fb87[3] Place: &#46fb6550,000 Tokens!"
      - " &#f8fb87[4] Place: &#46fb6535,000 Tokens!"
      - " &#f8fb87[5] Place: &#46fb6525,000 Tokens!"
      - "&#fb7e00Prizes on Grief:"
      - " &#f8fb87[1] Place: &#46fb6535,000 Tokens!"
      - " &#f8fb87[2] Place: &#46fb6515,000 Tokens!"
      - " &#f8fb87[3] Place: &#46fb6515,000 Tokens!"

Last updated