Configuration
Directory Structure
AxTreasures/
βββ config.yml
βββ lang.yml
Default Contents
config.yml
# DOCUMENTATION: https://docs.artillex-studios.com/axtreasures.html
prefix: "<gradient:#FF7700:#FFBB00><b>AxTreasures</b></gradient> &7Β» "
database:
# currently only h2 is supported
type: "h2"
# don't touch these unless you know what they mean
pool:
maximum-pool-size: 10
minimum-idle: 10
maximum-lifetime: 1800000
keepalive-time: 0
connection-timeout: 5000
# after opening a treasure, how long should it take for the unclaimed items to expire and disappear from the chest?
# set this to -1 to make it only possible to make the treasure lock right after closing it
treasure-expiry-seconds: 60
# used for showing length of boosters
# 1 - HH:MM:SS, for example 01:25:35
# 2 - short format, for example 20m
# 3 - text format, for example 01h 25m 35s
timer-format: 1
# settings for holograms displays
holograms:
# set to 00000000 to make it invisible
# format (hexadecimal): AARRGGBB
background-color: 00000000
# list: left, right, center
alignment: center
# list: fixed, vertical, horizontal, center
billboard: vertical
# should blocks/entities be visible behind the displays?
see-through: false
# should text have an outline?
shadow: true
# should be plugin notify you if there is a new update?
update-notifier:
# if enabled, it will display the message in the console
enabled: true
# if enabled, it will broadcast the update message to all players who have the <plugin-name>.update-notify permission
on-join: true
# do not change this
version: 2
lang.yml
# DOCUMENTATION: https://docs.artillex-studios.com/axtreasures.html
help:
- " "
- "<gradient:#FF7700:#FFBB00><b>AxTreasures</b></gradient> <#FFCC55>Help"
- " <#FFCC55>β€ <white>/axtreasures reload <#DDDDDD>| <#FFCCAA>Reload plugin"
- " <#FFCC55>β€ <white>/axtreasures create [treasure cooldown] [title] <#DDDDDD>| <#FFCCAA>Turn container into treasure"
- " <#FFCC55>β€ <white>/axtreasures remove <#DDDDDD>| <#FFCCAA>Remove treasure"
- " <#FFCC55>β€ <white>/axtreasures reset <player> <#DDDDDD>| <#FFCCAA>Reset treasure cooldowns of player"
- " "
treasure:
# default inventory title, you can override this by creating a treasure with a title: /axtreasures create [cooldown] [title]
inventory-title: "β Treasure β"
not-a-container: "&#FF0000You are not looking at any container!"
not-a-treasure: "&#FF0000You are not looking at a treasure!"
created: "�FF00You have successfully turned the container into a treasure!"
removed: "&#FF0000You have successfully removed the treasure!"
one-time-claimed: "&#FF0000You have already claimed this treasure!"
on-cooldown: "&#FF0000You must wait another &#FFFFFF%time% &#FF0000before claiming this treasure again!"
reset: "&#FF0000You have reset the treasure cooldowns of &#FFFFFF%player%&#FF0000!"
nearby:
nothing: "<#FF0000>No treasures could be found within &#FFFFFF%distance% &#FF0000blocks!"
header:
- " "
- "<gradient:#FF7700:#FFBB00><b>AxTreasures</b></gradient> <#FFCC55>Treasures within %distance% blocks:"
element:
- "<#FFCC55>β€ <white>%x%, %y%, %z% <#DDDDDD>| <#FFCCAA>%blocks% blocks away"
footer:
- " "
hologram:
set: "�FF00You have updated the hologram of the treasure chest."
remove: "&#FF0000You have removed the hologram of the treasure chest."
time:
second: "s"
minute: "m"
hour: "h"
day: "d"
reload:
success: "!FF33Plugin successfully reloaded!"
failed: "&#FF3333Failed to reload the plugin! Something is wrong in the &f%file%&#FF3333 file, look in the console or use a yaml validator to fix the errors!"
commands:
invalid-value: "&#FF0000Invalid parameter: &#BB0000%value%"
invalid-command: "&#FF0000Invalid command or subcommand!"
missing-argument: "&#FF0000Missing argument! You must specify a value for &#BB0000%value%&#FF0000."
no-permission: "&#FF0000You don't have permission to access this command!"
out-of-range: "&#FF0000The &#BB0000%number% &#FF0000must be between &#BB0000%min% &#FF0000and &#BB0000%max%&#FF0000!"
player-only: "&#FF0000You must be a player to use this command!"
invalid-player: "&#FF0000The player &#BB0000%player% &#FF0000can not be found!"
invalid-selector: "&#FF0000You can not use this selector in this command!"
update-notifier: "&#FFFFAAThere is a new version of AxTreasures available! &#DDDDDD(&#FFFFFFcurrent: &#FF0000%current% &#DDDDDD| &#FFFFFFlatest: �FF00%latest%&#DDDDDD)"
# do not change this
version: 2
26 September 2026