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/menus/crateeffectmenu.yml
# This configuration file determines the look of the Crate Effect menu.
menu:
# The name of the menu
name: "&8Crate Effect"
# The size of the menu
size: 27
# This configuration group determines every item thats in the menu. You can add however many items you want, just put the type to `NONE`. You can also have multiple items with the same type.
items:
1:
# The bukkit material of the item.
#
# Get a list of possible materials from this website: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
material: "BOOK"
# The name of the item
name: "&e&lEFFECT TYPE"
# The lore (description) of the item
lore:
- ""
- "&fClick here to cycle through the"
- "&fpossible crate effect types"
- ""
- "&fCurrent type: &e%type%"
# The position of the item in the menu. Starts from 0.
slot: 12
# The "function" of the item. Every possible function is shown on one of the items in this menu. You cannot "make" up new functions randomly. If you want extra items added, without function,
# just put "none". If you want the same item shown multiple times, put the same "type". They can be duplicated.
type: "TYPE"
2:
material: "BLAZE_POWDER"
name: "&c&lPARTICLE"
lore:
- ""
- "&fClick here to select the particle"
- "&fyou want to use for the effect"
- ""
- "&fCurrent particle: &e%particle%"
slot: 14
type: "PARTICLE"/menus/cratepreviewmenu.yml
# This configuration file determines the look of the Crate Preview menu.
menu:
# The name of the menu
name: "&8%crate% Preview"
# The size of the menu
size: 36
# The location in the menu where items will start showing. Starts from 0.
start-slot: 0
# The location in the menu where items will stop showing. The maximum is the size - 1.
end-slot: 26
# This controls the item you can actually view in the menu
preview-item:
# The lore that's added onto the item when previewing.
#
# The only possible placeholder in here is %chance% which will showcase the chance of winning this item.
extra-lore:
- ""
- "&fChance: &6&l%chance%"
# This controls the item you can press to close the menu
close-button:
# Whether to show this button
enabled: false
# The bukkit material of this item. You can view a list of possible items here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
material: "BARRIER"
# The name of the item
name: "&C&lCLOSE"
# The position of the item in the menu, starts from 0.
slot: 31
# The decription of the item.
lore:
- ""
- "&FClick here to close and go"
- "&fback to the main menu"
# Optional commands that will execute when you press this button
commands-on-click: []
# This controls what the name of the %crate% will be in the title. Default will be all uppercase.
# for example, if you have a key called vote, the menu will look like VOTE Preview by default.
# If you'd like it to look like Vote Preview, you can control this here.
name-rewriter:
example: "ExAmPlE"/menus/cratererollconfirmmenu.yml
# This configuration file determines the look of the Crate Reroll menu.
menu:
# The name of the menu
name: "&8Crate Reroll"
# The size of the menu
size: 27
# The location in the menu where a winning item will go to. Starts from 0.
win-slot: 13
# This controls the item to confirm a crate reward.
confirm-item:
# The location in the menu where the confirm button will go to. Starts from 0.
slot: 11
# The bukkit material of the item. You can view a list of possible items here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
material: "LIME_WOOL"
# The name of the item
name: "&A&LACCEPT"
# The description of the item
lore:
- ""
- "&fClick here to accept this reward"
# This controls the item to reroll a reward
reroll-item:
# The location in the menu where the reroll button will go to. Starts from 0.
slot: 15
# The bukkit material of the item. You can view a list of possible items here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
material: "RED_WOOL"
# The name of the item
name: "&C&lREROLL REWARD"
# The description of the item
lore:
- ""
- "&fClick here to reroll your reward"/menus/cratechooserewardmenu.yml
menu:
name: "&8Choose a reward!"
# This size is global across every crate.
#
# If you'd like to use dynamic size, which will generate a size between 9 - 54 based on how many rewards you have,
# put -1 in here. This is often recommended if you have multiple crates with very different amount of rewards.
size: 54
# Rewards from the crate will start showing up in the menu at this location
start-slot: 10
# This is the description that gets added to every choosable item
lore-to-add:
- "&f"
- "&aClick here to pick this reward"
# This setting can be used to show any additional items in the menu.
# You can completely remove this section if you don't want to use it.
items:
1:
# The bukkit material of the item.
#
# Get a list of possible materials from this website: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
material: "BLACK_STAINED_GLASS_PANE"
# The name of the item
name: "&f"
# The description of the item
lore: []
# The location of the item in the menu, starts counting from 0
slot: 45
2:
material: "BLACK_STAINED_GLASS_PANE"
name: "&f"
lore: []
slot: 46
3:
material: "BLACK_STAINED_GLASS_PANE"
name: "&f"
lore: []
slot: 47
4:
material: "BLACK_STAINED_GLASS_PANE"
name: "&f"
lore: []
slot: 48
5:
material: "BLACK_STAINED_GLASS_PANE"
name: "&f"
lore: []
slot: 49
6:
material: "BLACK_STAINED_GLASS_PANE"
name: "&f"
lore: []
slot: 50
7:
material: "BLACK_STAINED_GLASS_PANE"
name: "&f"
lore: []
slot: 51
8:
material: "BLACK_STAINED_GLASS_PANE"
name: "&f"
lore: []
slot: 52
9:
material: "BLACK_STAINED_GLASS_PANE"
name: "&f"
lore: []
slot: 53config.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