Code (YAML):
# !! Do not touch this or it will break your config file !!
config-version
: 1
update-check
:
# Notify the users with the permissions if an update is available.
notify-on-update
: true
crafting
:
# Enable or disable the creation of crafting recipes of backpacks.
create-recipes
: true
# This option decides if the player should
# discover all backpack crafting recipes at once, after he joined the server.
discover-all-recipes
: true
# This option sets the default size of all backpacks.
# The value describes the amount of columns like in chests.
# Values:
# ONE, TWO, THREE, FOUR, FIVE, SIX
default-backpack-size
: THREE
# Set the category of the crafting recipes
# in the recipe-book on the right side of the inventory.
# See this list:
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/recipe/CraftingBookCategory.html
crafting-book-category
: EQUIPMENT
# Define the crafting pattern for a backpack.
# Use the 3 lines like in a crafting-table and assign items in the list below.
recipe-pattern
:
- LLL
- SDS
- LLL
# Define the required item for the backpack crafting-recipe.
# Set a Material for every letter from the list above
# See list of items/materials:
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
recipe-items
:
-
"L:LEATHER"
-
"S:LEAD"
-
"D:DIAMOND"
appearance
:
# Enabling this option allows the player
# to craft different backpack-colors by combining
# any default dye with a backpack in the crafting table.
allow-backpack-coloring
: true
# Change the default name of a fresh crafted backpack.
default-backpack-name
: Backpack
# In this section you can change the sounds of the backpacks.
# You can also use the "/playsound" command to test the sound you want.
# See the list of available sounds:
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
sounds
:
# Choose if it should a play the configured sound on opening or closing a backpack.
# "false" to disable it
sounds-enabled
: true
# true = only the player opening will hear the sound
# false = every nearby player will here the sound
only-player-sounds
: true
# The sound, that should play if the player OPENS a backpack.
open-sound:
sound
: BLOCK_CHEST_OPEN
volume
: 0.5
pitch
: 0.5
# The sound, that should play if the player CLOSES a backpack.
close-sound:
sound
: BLOCK_CHEST_CLOSE
volume
: 0.5
pitch
: 0.5
restrictions
:
# Use this option to limit the amount of backpacks
# in a player inventory.
#
# -1 = no limit of backpacks / disabled
limit-amount-in-player-inventory
: 2
# Use this option to choose if a player
# can put a backpack in a backpack in a backpack and so on..
allow-backpack-in-backpack
: false
# Use this option to choose if a player
# can put a shulker box in a backpack.
allow-shulker-box-in-backpack
: false
# Use this option to choose if a player
# can put a backpack in a shulker box.
allow-backpack-in-shulker-box
: false
# Use this option to decide if only the owner
# of the backpack can open it.
only-owner-can-open
: true
handling
:
# Set this to true, so players can open backpacks through
# double-click on the item in their own inventory.
# It doesn't work if they click them e.g. in chests, hoppers, barrels, etc.
# They have to use it in their own inventory.
open-backpack-through-inventory
: true
# Set this to true, so players automatically
# close the currently open backpack after they get damaged.
close-backpack-on-damage
: true
# Set this to true, so players automatically
# close the currently open backpack after they get eject from any vehicle or rideable animal.
close-backpack-on-eject
: true
# Set the cooldown of the player opening backpacks.
# The value is given in seconds.
open-backpack-cooldown
: 1