Configurations

Here's a list of every configuration file, and explanations for non-obvious settings.

/config/keyall-timer.yml

# This setting determines if the automatic keyall system is enabled.
#
# Default value: false
enabled: false

# This setting determines how often a keyall is automatically happening.
# 
# This value is in minutes.
# 
# Default value: 60
timer: 60

# This setting group determines what keys can happen during a keyall, and the chance for it, in case you want to add chances to different keyalls.
#
# The `key` is the crate name, the same name you type in /crate give [player]
# the chance is a value between 0-100%.
#
# For the best result, put the lowest values on the top, and sort ascending.
chances:
  1:
    key: "Example"
    chance: 20
  2:
    key: "Example"
    chance: 80
config.yml
# The MongoDB connection string, if used.
mongodb-connection-string: "mongodb://localhost:password@ip:27017/"

# The storage type used for Virtual Keys.
#
# Possible options:
# - MongoDB
# - H2
#
# Default: H2
# Recommended: MongoDB
storage-type: "H2"

# Redis configuration, if needed.
#
# Only use this if you have multiple servers using the same virtual keys data.
#
# Default: disabled
redis:
  enabled: false
  user: ""
  password: ""
  host: ""
  port: 6379

# This setting controls whether to use Virtual Keys or Physical Keys
# This setting is not reloadable and will require a restart to change
#
# Default: false
virtual-keys: false

# This setting controls whether to use the rerolls function.
#
# Default: false
reroll: false
/config/messages.yml
keyall-broadcast: "&8[&c&lKEYALL&8]&f Everyone has just received a &c%key% key&f!"

crate:
  open-cooldown: "&8[&c&lAVALON CRATES&8]&C You're already opening a crate! Calm down!"
  add-location: "&8[&c&lAVALON CRATES&8]&a Successfully added this location as a crate location"
  no-key: "&8[&c&lAVALON CRATES&8]&c You do not have a key for this crate!"
  new-display-name: "&8[&c&lAVALON CRATES&8]&a Successfully set the crate's display name to: '%name%'!"
  command-add: "&8[&c&lAVALON CRATES&8]&a Successfully added command '%command%' to the crate reward!"
  win: "&8[&c&lCRATES&8] &c%player% &f has just won %reward% &f from a %crate% &f- Visit &6https://www.examplestore.com &fto purchase keys"
  receive: "&8[&c&lCRATES&8]&f You have received x%amount% %crate% keys!"
  no-rerolls: "&8[&c&lCRATES&8]&c You do not have any rerolls left!"

Last updated