The config below is explained very detailed. If you have any questions contact me on discord!
You can edit:
- MySQL credentials and table prefix
- Messages
- Sounds
- Commands
- Inventory Items
- Inventory Sizes
- Inventory Design
- Settings
- Vault Settings
...
Code (YAML):
# _ _ _ _____ _ _ _
# / \ __| | __ __ __ _ _ __ ___ ___ __| | | ____| _ __ __| | ___ _ __ ___ | |__ ___ ___ | |_
# / _ \ / _` | \ \ / / / _` | | '_ \ / __| / _ \ / _` | | _| | '_ \ / _` | / _ \ | '__| / __| | '_ \ / _ \ / __| | __|
# / ___ \ | (_| | \ V / | (_| | | | | | | (__ | __/ | (_| | | |___ | | | | | (_| | | __/ | | | (__ | | | | | __/ \__ \ | |_
# /_/ \_\ \__,_| \_/ \__,_| |_| |_| \___| \___| \__,_| |_____| |_| |_| \__,_| \___| |_| \___| |_| |_| \___| |___/ \__|
#
# By Chriis | Paid Software! https://www.spigotmc.org/resources/advancedenderchest.99867/
# Need help? Discord: https://discord.gg/8prFcZn7F3
#
####################################################################################################################
# REQUIRED
# Please enter your mysql-server details. Changes on this section will require an restart. The plugin reload command won't work
mysql:
host
: ''
database
: 'aec'
username
: 'aec'
password
: ''
table-prefix
: 'aec_'
port
: 3306
# Custom commands, if empty 'aec' and 'advancedenderchest' will be used
commands
:
- aec
- advancedenderchest
settings
:
# Changes between multi rows (false) and multi chests (true)
enable-multi-mode
: true
# Enable right-clicking the 'open-chest-item' block to open the enderchest menu
open-on-enderchest-click
: false
# The size of the multi-mode inventory you can design at the bottom. NOT the size of each chest.
inventory-size
: 9
# The delay a player has to wait before opening the multi-mode inventory again in MILLISECONDS (1s = 1000ms)
multi-inventory-open-delay
: 0
# The delay a player has to wait before opening an enderchest in MILLISECONDS (1s = 1000ms)
chest-open-delay
: 0
# Permission to use the default "/aec" command - NOT the admin permission - Leave empty ("") for no permission
aec-command-permission
:
""
# When you close a chest in multi-mode should the inventory be closed (false) or should the multi-mode inventory be
# opened (true)
return-to-menu-when-enderchest-closed
: false
# Can be any item from this list: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
items:
open-chest-item
: 'ENDER_CHEST'
placeholder
: 'BLACK_STAINED_GLASS_PANE'
buy-confirm-item
: 'LIME_DYE'
buy-decline-item
: 'GRAY_DYE'
# Name materials that are ALLOWED to put in the enderchest
# WARNING: All other items are DISALLOWED if this list is NOT empty.
# Blacklist and Whitelist can not be used at the same time and priority is whitelist > blacklist.
# CustomModelData: Use MATERIAL_NAME:CUSTOMMODELDATA to filter for both material AND custommodeldata: e.g.: STONE:69
item-whitelist
:
[
]
# Name materials that can not be put in the enderchest
item-blacklist
:
- MATERIAL_NAME
# Can be any sound from this list: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
# Use 'NONE' for no sound
sounds:
on-open
: 'BLOCK_ENDER_CHEST_OPEN'
on-close
: 'BLOCK_ENDER_CHEST_CLOSE'
on-insufficient-funds
: 'BLOCK_ANVIL_BREAK'
on-successfull-buy
: 'BLOCK_NOTE_BLOCK_PLING'
on-buy-decline
: 'BLOCK_ANVIL_BREAK'
on-multi-menu-open
: 'BLOCK_NOTE_BLOCK_PLING'
vault
:
# Only works in multi mode
# Enable buying with Vault - Otherwise you have to give players the permission for the chests in another way
enabled
: false
# Show a confirmation inventory when buying an enderchest in multi mode
confirm-chest-buy
: true
# Enable closing the multi-mode inventory when the user has insufficient funds or permissions and tries to buy/open a chest.
close-inventory-on-insufficient-funds
: true
# Commands that will executed on buy by the console. Please add the permission {CHEST_PERMISSION} with your
# permission plugin to the user otherwise the chest won't show as bought
execute-console-commands-on-buy
:
- pex user
{PLAYER
} add
{CHEST_PERMISSION
}
- say
{PLAYER
} bought Enderchest
{CHEST_ID
}
# Commands that will executed on buy by the player. Use "[]" for none.
execute-player-commands-on-buy
:
- me bought Enderchest-
{CHEST_ID
}
messages:
reload-success
: '&aPlugin Reload successfull'
command-help
: '&e/
{COMMAND
} &7Open enderchest
{NEXTLINE
}&e/
{COMMAND
} reload &7Reload configuration
{NEXTLINE
}&e/
{COMMAND
} help &7Show help page
{NEXTLINE
}&e/
{COMMAND
} debug &7Enable temporary debug output in console
{NEXTLINE
}&e/
{COMMAND
} info <Name> &7Shows
all saved chest ids of the player
{NEXTLINE
}&e/
{COMMAND
} delete <Name> <ChestId> &7Delete a chest of the player
{NEXTLINE
}&e/
{COMMAND
} invsee <Name> <ChestId> &7Show and edit chest content of the player
{NEXTLINE
}&e/
{COMMAND
} see <Name> <ChestId> &7Show chest content of the player
'
single-inventory-title
: '&5&lAEC Enderchest - Level
{ROWS
}'
multi-inventory-title
: '&5&lAEC Multi-EC
{NAME
} from
{PLAYER
}'
multi-inventory-menu-title
: '&5&lAEC Multi-Enderchest Menu'
multi-inventory-opening-delay
: '&cYou have to wait before opening the enderchest menu again'
no-open-permission
: '&cYou do not have the permission to open this enderchest'
chest-saved
: '&aYour enderchest has been saved'
chest-deleted
: '&cDeleted chest &e
{CHEST_ID
} &cfrom player &a
{PLAYER
}'
chest-opening-delay
: '&cYou have to wait before opening another chest'
buy-successfull
: '&aYou bought &eChest-
{CHEST_ID
} &afor &6
{PRICE
}$'
confirm-inventory-title
: '&5&lAEC Confirm Buy of Chest
{CHEST_ID
}'
buy-confirm-item-name
: '&aAccept buy'
buy-confirm-item-lore
: '&7Click here to buy this chest'
buy-decline-item-name
: '&cDecline buy'
buy-decline-item-lore
: '&7Click here to abort'
buy-declined
: '&cAbort.'
no-permission
: '&cYou are not allowed to execute this command'
no-console
: '&cThis is only for players'
info-no-chests
: '&cNo chests found for this player'
info-chests
: '&aFound this chests for player &e
{PLAYER
}&7
:
&b{CHEST_IDS}'
debug-enabled
: '&aDebug mode is now enabled'
debug-disabled
: '&cDebug mode is now disabled'
killswitch-enabled
: '&aKillswitch mode is now enabled'
killswitch-disabled
: '&cKillswitch mode is now disabled'
killswitch-open-message
: '&cEnderchests can not be used at the moment'
invsee-inventory-title
: '&a
{PLAYER
} Invsee
{CHEST_ID
}'
invsee-chest-not-found
: '&cThis chest could not be found'
invsee-inventory-is-opened
: '&a
{PLAYER
} &ccurrently has this chest open'
invsee-inventory-is-viewed
: '&cYou cannot open this chest at the moment because an admin is viewing it'
invsee-inventory-already-viewed
: '&cThis chest is currently viewed by another admin'
invsee-inventory-saved
: '&aYou edited chest &e
{CHEST_ID
}'
blacklisted-item-added-error
: '&cYou can not add the item &e
{MATERIAL
} &cbecause it is blacklisted or not whitelisted'
see-chest-not-found
: '&cThis chest could not be found'
see-inventory-title
: '&a
{PLAYER
} See
{CHEST_ID
}'
see-now-viewing
: '&aYou are now viewing chest &e
{CHEST_ID
} &aof player &e
{PLAYER
}'
see-player-offline
: '&cYou can only see chests from players that are online'
# Design the Multi-Mode inventory all by yourself. Items have to be named "Item<Number>" and can't be duplicate.
#
# Types: AEC_CHEST (Opens configured chest), PLACEHOLDER (Opens nothing), MINECRAFT_ENDERCHEST (Opens Minecraft native enderchest)
# Size: Size of the chest: 9,18,27,36,45,54
# Item: Can be any item from this list: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
# Name: Item Name when player has the permission to open
# Buy-Name: Item Name when player does not have the permission (Does not apply for PLACEHOLDER, MINECRAFT_ENDERCHEST)
# Buy-Item: Item (Material) that is displayed when chest is not bought, if not specified, "Item" will be used
# Lore: Lore when player has the permission to open
# Buy-Lore: Lore when player does not have the permission to open (Does not apply for PLACEHOLDER, MINECRAFT_ENDERCHEST)
# Position: Item Slot in the inventory starts at 0-(Inventory Size)
# Amount: Displayed amount of the chest in the inventory
# Enchanted: If the item should be enchanted or not. Enchantment Names are not visible
# Price: Required Vault - buy price (Does not apply for PLACEHOLDER, MINECRAFT_ENDERCHEST) | If price = -1 then chest is permission only
# Permission: The permission to open the chest (Does not apply for PLACEHOLDER, MINECRAFT_ENDERCHEST)
# Permission-Message: Message when player does not have the permission to open the chest (Does not apply for PLACEHOLDER, MINECRAFT_ENDERCHEST)
# (Optional) CustomModelData: Add Custom Model Data
multi-mode-inventory:
Item1:
type
: AEC_CHEST
size
: 54
item
: 'CHEST'
name
: '&5Chest 1'
buy-name
: '&5Chest 1 - &cNot bought'
buy-item
: 'BARRIER'
lore
:
- '&7Click here'
- '&7To open this chest'
buy-lore
:
- '&7Click here to buy this item for 420$'
position
: 0
amount
: 1
enchanted
: false
price
: 420
permission
: 'aec.chest.1'
permission-message
: '&cYou need $
{PRICE
} for this item'
Item2:
type
: AEC_CHEST
size
: 36
item
: 'CHEST'
name
: '&5Chest 2'
item-name
: '&aTest'
buy-name
: '&5Chest 2 - &cNot bought'
lore
:
- '&7Click here'
- '&7To open this chest'
buy-lore
:
- '&7Click here to buy this item for 420$'
position
: 2
amount
: 1
enchanted
: false
price
: 420
permission
: 'aec.chest.1'
permission-message
: '&cYou need $
{PRICE
} for this item'
Item3:
type
: AEC_CHEST
size
: 9
item
: 'EMERALD_BLOCK'
name
: '&5Chest 3'
buy-name
: '&5Chest 3 - &cNot bought'
lore
:
- '&7Click here'
- '&7To open this chest'
buy-lore
:
- '&7Click here to buy this item for 420$'
position
: 4
amount
: 1
enchanted
: false
price
: 420
permission
: 'aec.chest.1'
permission-message
: '&cYou need $
{PRICE
} for this item'
Item4:
type
: AEC_CHEST
size
: 45
item
: 'DIAMOND_BLOCK'
name
: '&5Chest 4'
buy-name
: '&5Chest 4 - &cNot bought'
lore
:
- '&7Click here'
- '&7To open this chest'
buy-lore
:
- '&7Click here to buy this item for 420$'
position
: 6
amount
: 1
enchanted
: false
price
: 420
permission
: 'aec.chest.1'
permission-message
: '&cYou need $
{PRICE
} for this item'
Item5:
type
: MINECRAFT_ENDERCHEST
size
: 54
item
: 'ENDER_CHEST'
name
: '&aMinecraft Enderchest'
buy-name
: '&5Chest 1 - &cNot bought'
lore
:
- '&7Click here'
- '&7to open &avanilla Enderchest'
buy-lore
:
- '&7Click here to buy this item for 420$'
position
: 8
amount
: 1
enchanted
: false
price
: 420
permission
: 'aec.chest.1'
permission-message
: '&cYou need $
{PRICE
} for this item'
Item6:
type
: PLACEHOLDER
size
: 54
item
: 'BLACK_STAINED_GLASS_PANE'
name
: '&a'
buy-name
: '&5Chest 1 - &cNot bought'
lore
:
[
]
buy-lore
:
[
]
position
: 1
amount
: 1
enchanted
: true
price
: 0
permission
: 'aec.chest.1'
permission-message
: '&cYou need $
{PRICE
} for this item'
Item7:
type
: PLACEHOLDER
size
: 54
item
: 'BLACK_STAINED_GLASS_PANE'
name
: '&a'
buy-name
: '&5Chest 1 - &cNot bought'
lore
:
[
]
buy-lore
:
[
]
position
: 3
amount
: 1
enchanted
: true
price
: 0
permission
: 'aec.chest.1'
permission-message
: '&cYou need $
{PRICE
} for this item'
Item8:
type
: PLACEHOLDER
size
: 54
item
: 'BLACK_STAINED_GLASS_PANE'
name
: '&a'
buy-name
: '&5Chest 1 - &cNot bought'
lore
:
[
]
buy-lore
:
[
]
position
: 5
amount
: 1
enchanted
: true
price
: 0
permission
: 'aec.chest.1'
permission-message
: '&cYou need $
{PRICE
} for this item'
Item9:
type
: PLACEHOLDER
size
: 54
item
: 'BLACK_STAINED_GLASS_PANE'
name
: '&a'
buy-name
: '&5Chest 1 - &cNot bought'
lore
:
[
]
buy-lore
:
[
]
position
: 7
amount
: 1
enchanted
: true
price
: 0
permission
: 'aec.chest.1'
permission-message
: '&cYou need $
{PRICE
} for this item'