Configuration
Description
This page contains the default config.yml.
Default config file
#
# Thank you for purchasing CrownTebexData!
# If you have any questions, suggestions or need help, please do not hesitate and
# join our discord: https://dsc.gg/crowndevelopment to ask for help!
# We are there to assist you.
#
# By purchasing this plugin you are accepting the BBB terms aswell as
# our terms that can be found in our discord.
#
# you can obtain your license in our discord! https://dsc.gg/crowndevelopment
# paste your license key in here
license: paste-here
# enable this to send various messages to console
debug-mode: false
# Get this from your Tebex Dashboard -> Integrations > Gameservers > Show Secret Key > Secret Key
tebex-secret: paste-here
# how often the plugin will send requests to tebex, updating its payment data in seconds
payment-data-update-interval: 10
# how often the plugin will send requests to tebex, updating its sales data in seconds
sales-data-update-interval: 100
# how often the plugin will update the rankings in seconds
ranking-data-update-interval: 30
# how many payments the plugin should read with each update looking for new payments
payment-check-amount: 10
# Purchases with a value below this amount will not be broadcasted ingame.
min-amount-for-broadcast: 5
# Time until the active sale reminder is sent in seconds, set to 0 to disable
sale-reminder-interval: 1200
##################################################################
# DATA CONFIGURATION #
# dsc.gg/crowndevelopment #
##################################################################
# you can choose between yml (files) and sql (mysql/mariadb)
storage: yml
# when running the plugin on multiple servers, you can disable this so only
# one server will fetch the data from debex and save it into the database
# ONLY FOR sql
fetch-data: true
host: 0.0.0.0
database: tebex
user: youruser
password: yourpassword
pool-settings:
# sets the maximum size of the MySQL connection pool.
# https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
maximum-pool-size: 10
# this setting controls the maximum number of milliseconds that the plugin will wait for a
# connection from the pool, before timing out.
connection-timeout: 5000 # 5 seconds
##################################################################
# PURCHASE CONFIGURATION #
# dsc.gg/crowndevelopment #
##################################################################
execute-commands-on-purchase: []
# date format is: yyyy-MM-dd
ignore-payments-older-than: "2000-01-01"
##################################################################
# COMMUNITY GOAL CONFIGURATION #
# dsc.gg/crowndevelopment #
##################################################################
# the percentage a single bar represents - Double from 1 to 100 #
bar-percentage: 2.0
# the bar that is reached
full-bar: "&a|"
# the bar that is not reached yet
empty-bar: "&f|"
# these commands are executed after a goal is completed
execute-commands-on-goal-completed:
- "eco give * 20000"
goal-milestones:
- "25"
- "50"
- "75"
- "90"
##################################################################
# DISCORD WEBHOOK CONFIGURATION #
# dsc.gg/crowndevelopment #
##################################################################
enable-webhook: false
webhook-url: url-here
# this will replace the playername for offline players in the embed image url with the name set in messages.yml under embed-purchase-offline-skin
enable-offline-mode: false
send-purchase-embed: true
send-goal-embed: true
send-sale-embed: true
##################################################################
# COMMAND CONFIGURATION #
# dsc.gg/crowndevelopment #
##################################################################
# these commands are executed after the data is updated
execute-commands-on-update: []
##################################################################
# GG WAVE CONFIGURATION #
# dsc.gg/crowndevelopment #
##################################################################
enable-ggwave: true
# duration of the ggwave in seconds
ggwave-duration: 5
# the text players have to type for the gg wave
ggwave-trigger-text: "gg"
# this is the minimum a player has to spend to start a ggwave
min-amount-for-ggwave: 5
# design options for the ggwave message style
ggwave-design:
type: RAINBOW # choose from: RAINBOW, SOLID, SOLIDRAINBOW, GRADIENT
solid-color: ""
solid-rainbow-colors: []
gradient: "#ffffff:#000000" # seperate the two codes with a :
# the commands that are executed when a player types to receive a reward
execute-commands-on-ggwave:
- "eco give %player% 100"
Last updated