# DCore is the base all other Devamy plugins build on. This file holds what they share: menu clicks,
# sounds, the action bar, your server name and links, and update checks.
# Edit, then run /dcore reload (a plugin you add to disabled-plugins needs a restart to start again).
# Used by updates. Do not edit.
config-version: 6
# --- Disabled plugins ---
# Plugins you have switched off. The command /dcore stop <plugin> turns a plugin off right now, with no restart,
# and adds its name here so it also stays off after the next restart.
# To turn one back on: /dcore resume <plugin>, then restart the server.
# You can also type plugin names here yourself. Example: disabled-plugins: [DCrates, DEffects]
disabled-plugins: []
# A help line printed in the server console when DCore starts. Leave empty ('') to print nothing.
support-line: 'Need help with a Devamy plugin? https://discord.devamy.net or dstudios@devamy.net'
# --- Console errors ---
# When a Devamy plugin logs an error, the console shows one boxed summary with the cause, the place in the code
# and a fix when one is known, instead of a long stacktrace. The full stacktrace goes to plugins/DCore/errors/.
# Set full-stacktraces to true when a developer asks for the raw trace in the console as well.
console-errors:
full-stacktraces: false
# Turn this on when something fails and you cannot tell why. Every boxed error then also shows the thread, the
# plugin version, the server and Java version and the last 10 console lines before it, and the full stacktrace is
# printed under the box. It is noisy, so switch it off again when you are done. It needs a restart to apply.
verbose: false
# Error files older than this many days are deleted at startup. A lower number keeps the folder smaller.
keep-days: 14
# --- Messages for stopped plugins ---
# Texts used when you switch a plugin off with /dcore stop. & colour codes and &#RRGGBB work.
stop:
# What a normal player sees when they use a command of a stopped plugin.
player-line: '&7That feature is switched off right now.'
# What staff see instead. You can use: %plugin%
admin-line: '&7%plugin% is switched off. Use /dcore resume %plugin%, then restart, to turn it back on.'
# Sent to the console and to admins at the moment a plugin is stopped.
# You can use: %by% (who stopped it) %plugin% %reason%
notice: '&#FF4D6D%by% stopped %plugin% %reason%'
# --- Sounds ---
# Three sounds are used by every Devamy plugin, so the whole server sounds the same.
# Each one has: sound (any Minecraft sound name), volume (1.0 = normal) and pitch (1.0 = normal, higher = higher tone).
sounds:
# Played when a player clicks a button in any menu.
click:
sound: 'ui.button.click'
volume: 0.7
pitch: 1.2
# Played when something works (bought, sold, claimed...).
success:
sound: 'entity.player.levelup'
volume: 0.7
pitch: 1.8
# Played when something is refused (not enough money, inventory full...).
deny:
sound: 'entity.villager.no'
volume: 1.0
pitch: 1.0
# How a plugin chooses between the success and deny sound when it sends a chat message.
# Every message has an internal name (like "not-enough-money"). If that name contains one of the
# words below, the matching sound plays. Deny words are checked first. Names that match neither stay silent.
# Add a word only if you also edit message names, so most servers never change this.
match:
deny:
- 'no-'
- 'not-'
- 'cannot'
- 'invalid'
- 'too-'
- 'missing'
- 'full'
- 'denied'
- 'unknown'
- 'failed'
- 'already'
- 'cooldown'
- 'error'
- 'limit'
- 'broken'
- 'gone'
- 'expired'
- 'players-only'
success:
- 'bought'
- 'sold'
- 'created'
- 'listed'
- 'received'
- 'cancelled'
- 'delivered'
- 'saved'
- 'claimed'
- 'joined'
- 'reloaded'
- 'added'
- 'success'
- 'paid'
- 'given'
- 'enabled'
- 'moved'
- 'accepted'
# --- Menus ---
menus:
# The shortest time between two clicks in a normal button menu, in milliseconds (1000 = 1 second).
# Clicks that come faster are ignored, which stops auto-clickers. Example: 100 = at most 10 clicks per second.
# 0 = no limit.
click-interval-ms: 100
# The same limit for menus where players move real items in and out (like a sell chest).
# Leave it at 0: a normal shift-click already lands 100 to 160 ms after the last one, so a limit would block honest players.
container-click-interval-ms: 0
# Bedrock players (phone, console) need a short pause when one menu opens right after another,
# otherwise the second menu may not show. Value is in ticks: 20 = 1 second, 4 = 0.2 seconds.
# Java players are not affected. 0 = no pause.
bedrock-switch-delay-ticks: 4
# Fill in PlaceholderAPI placeholders in menu text?
# true = yes. You can write placeholders from other plugins, like %vault_eco_balance%, in any menu file.
# false = no. Such text shows as typed.
placeholderapi: true
# The item shown in the middle of a list menu that has nothing to show, like an empty auction house or
# a player with no homes. A menu file can set its own `empty` item, which is used instead of this one.
# Set material to AIR to leave empty menus blank.
empty-item:
material: GRAY_DYE
name: '<#00B5FF>Nothing Here</#72D6FF>'
lore:
- '&8│ &7There is nothing to show yet.'
# --- Dialog menus ---
# Since Minecraft 1.21.6 the game can show a "dialog": a clean pop-up window with a title, some text and a
# list of buttons. With this on, menus that support it open as a dialog instead of a chest menu. Each button
# does exactly what clicking the item in the chest menu does, with the same permission and cooldown checks.
# A player still gets the normal chest menu when the server is older than 1.21.7, their game is older than
# 1.21.6, they play on Bedrock (unless you allow it below), or the menu is not made for dialogs yet.
# Menus where players move real items around (shops, crates, kits, ender chests, auctions, orders, loot,
# rollbacks) always stay chest menus unless their menu file says otherwise.
dialogs:
# true = open supported menus as dialogs. false = every menu stays a chest menu, like before.
# A plugin can keep its own menus as chest menus with `dialogs.enabled: false` in its settings.yml, and one
# menu file can do the same with `dialog: enabled: false`.
enabled: false
# Show dialogs to Bedrock players (phone, console) too? Bedrock shows them as a form, which looks
# different from Java, so false keeps the chest menu for them.
bedrock: false
# The oldest game version that gets dialogs, as a protocol number. 771 is 1.21.6, the first version with
# dialogs. Players on an older game through ViaVersion keep the chest menu. Leave this at 771 unless you
# know a newer version shows them better.
min-protocol: 771
# How many buttons sit next to each other in one row of a dialog.
columns: 2
# How wide each button is, from 1 to 1024. 150 fits about 20 letters. A label that is longer is cut off.
button-width: 150
# The dialog's title. %title% is the chest menu's title without its colours, because the dark colours of
# chest menu titles are hard to read on the dark dialog background. A menu file can set its own title.
title: '&f%title%'
# What a button says. %name% is the item's name in the chest menu. A menu can give extra words for its own
# buttons (for example %status% for an on/off switch); a button that has no value for a word you use here
# shows only %name%.
label: '%name%'
# true = hovering a button shows the item's description from the chest menu. false = no hover text.
tooltips: true
# true = players can close a dialog with Escape. false = only with its Close button, if the menu has one.
close-with-escape: true
# When something in an open menu changes by itself shortly after a click (like a switch turning on), the
# dialog is drawn again within this many milliseconds (1000 = 1 second). Later changes wait for the next
# click, so a dialog someone already closed with Escape never pops back up.
reshow-window-ms: 3000
# How long the buttons of one dialog keep working, in minutes. A button pressed after that does nothing.
button-lifetime-minutes: 10
# Items that are only decoration and never become buttons. Use the material name; * matches any part,
# so '*_STAINED_GLASS_PANE' covers every coloured pane. Items with no name are always left out too.
decor-materials:
- 'GLASS_PANE'
- '*_STAINED_GLASS_PANE'
# Items with one of these actions are shown as a picture with their text at the top of the dialog,
# not as a button. Use the `action` names from the menu files.
info-actions:
- 'info'
- 'header'
- 'profile'
# A dialog with exactly two buttons, one with an action from confirm-actions and one from cancel-actions,
# opens as a yes/no question with the confirm button first.
confirm-actions:
- 'confirm'
- 'yes'
- 'accept'
cancel-actions:
- 'cancel'
- 'no'
- 'deny'
# Buttons with these actions go to the end of the dialog, in this order, so page and back buttons sit
# below the real choices.
last-actions:
- 'previous'
- 'page_previous'
- 'next'
- 'page_next'
- 'back'
# --- Typing text (search boxes, names, amounts) ---
# When a menu asks a player to type something, like a search, a new name or an amount, a sign opens
# on their screen with the text box already laid out. The sign is only shown to that player and is
# never placed in the world. If a sign cannot open for someone, they are asked in chat instead.
text-input:
# The default way to type, for players who have not picked one with /input.
# sign = open the sign. chat = ask in chat, the way it worked before.
# With sign, a player is still asked in chat when PacketEvents is not installed, when they play on
# Bedrock and bedrock-uses-chat is true, or when their client did not show the sign (they are then
# asked in chat until they rejoin).
mode: sign
# Bedrock players (phone, console) through Geyser.
# true = always ask them in chat. Use this unless you have tested signs on your Geyser version.
# false = give them the sign like everyone else.
bedrock-uses-chat: true
# Choose sign or chat for one plugin only, by its name. This wins over the mode above and over
# what a player picked with /input. Plugins not listed follow the player, then the mode.
# Example, to ask in chat for key-all presets but use signs everywhere else:
# plugins:
# DKeyAll: chat
plugins: {}
# The %subtitle% line when the plugin asking leaves it empty, which most do.
# The player cancels by leaving the sign empty, so this line says so.
default-subtitle: 'Empty to cancel'
# Can players pick sign or chat for themselves?
# true = yes, with /input (it switches; /input sign or /input chat picks one) or the button in /settings.
# Their choice is kept in data/text-input.yml.
# false = no. Everyone uses the mode above, /input only says it is turned off, and the /settings
# button shows as unavailable. Choices already made are kept for when you turn it back on.
player-choice: true
# The lines players see from /input.
# You can use: %method% (what they picked) %using% (what they get instead) %methods% (the choices)
messages:
now-sign: 'DFFB0You now type answers on a sign.'
now-chat: 'DFFB0You now type answers in chat.'
unavailable: '&#FF4D6DA %method% cannot open for you here, so your answers are typed in %using% for now.'
unknown-method: '&#FF4D6DPick one of: %methods%.'
choice-off: '&#FF4D6DThe way you type answers is set by the server.'
players-only: '&#FF4D6DOnly players can use this.'
# What the sign looks like. Each layout has exactly four lines, top to bottom.
# %input% marks the line the player types on; the text they type replaces it. A layout may mark
# more than one line, and the lines are then joined with a space, which suits longer answers.
# %title% and %subtitle% are filled in by the plugin asking, like "Search items" or "Type a name".
# The player starts typing on the top line, so keep %input% on line one.
# Colour codes work on every line except the typed one, whose colour is text-color.
# A sign line holds about 15 characters, which is why the ^ line has 15 of them.
# sign = the sign type: OAK_SIGN, SPRUCE_SIGN, BIRCH_SIGN, DARK_OAK_SIGN, CHERRY_SIGN and so on.
# text-color = colour of what the player types: BLACK, WHITE, BLUE, LIGHT_BLUE, GRAY and the other dye colours.
# glowing = true makes the text glow like a glow-ink sign.
layouts:
# Used for every question unless the plugin asks for another layout.
default:
sign: OAK_SIGN
text-color: BLACK
glowing: false
lines:
- '%input%'
- '&8^^^^^^^^^^^^^^^'
- '&0%title%'
- '&7%subtitle%'
# Used for answers that do not fit on one line, like a warp description or a list of keys.
long:
lines:
- '%input%'
- '%input%'
- '&8^^^^^^^^^^^^^^^'
- '&0%title%'
# --- Status bars ---
# Many plugins want to show text above the hotbar (the action bar) at the same time, for example combat
# timer, AFK and teleport countdown. This system decides who gets it. The one with the highest rank
# gets the action bar and the others are shown in a boss bar at the top of the screen.
status-bar:
# true = use this system. false = every plugin writes straight to the action bar and they overwrite each other.
enabled: true
# After a short one-off message (like "unknown command"), how long it keeps the action bar for itself,
# in milliseconds (1000 = 1 second). Example: 3000 = 3 seconds.
yield-millis: 3000
# Colour of the boss bar.
# One of: BLUE, PINK, RED, GREEN, YELLOW, PURPLE, WHITE
color: BLUE
# Shape of the boss bar.
# PROGRESS = one smooth bar
# NOTCHED_6, NOTCHED_10, NOTCHED_12, NOTCHED_20 = a bar cut into that many pieces
style: PROGRESS
# Rank of each kind of status. The HIGHER number gets the action bar. The others move to the boss bar.
# Any kind not listed here (and all refusals and one-off messages) uses the "messages" number.
priorities:
combat: 100
vanish: 80
teleport-countdown: 70
duel-queue: 60
voice-mute: 55
messages: 50
afk: 40
clearlag: 30
tpa-auto-accept: 20
# --- Player data ---
data:
# How often changed player data (money, kills, playtime, crate keys) is written to the database, in seconds.
# It is also written when the server stops. Example: 300 = every 5 minutes. A lower number loses less data
# after a crash.
save-interval-seconds: 300
# --- Database ---
# Where DCore and every Devamy plugin keep their data: player money and stats, homes, auctions, orders and the
# rest. Settings, messages and menus stay in their yml files. Changes here need a restart; /dcore reload does
# not apply them. Check what each plugin uses with /dcore storage status.
#
# With type sqlite (the default) each plugin keeps its data in its own .db file inside its folder, for example
# plugins/DCore/data/dcore.db. You need nothing else installed. h2 works the same way with an H2 file instead.
# With mysql or mariadb every plugin keeps its tables in that one database server, which you need for network
# mode and which makes backups and moving servers easier on a big server.
#
# The first time a plugin starts on this version, it moves its old yml data files (like data/players.yml)
# into the database by itself. It copies them to its backups/legacy-<date> folder first, checks every row,
# and only then removes the originals.
database:
# sqlite, h2, mysql or mariadb. If you change it on a server that already has data, run
# /dcore storage transfer for each plugin, or set it and restart for DCore itself.
type: 'sqlite'
# A full jdbc:mariadb:// or jdbc:mysql:// address. When you fill it in, it wins over type, host, port and
# database below. Leave it empty for sqlite and h2.
url: ''
# The database server, used only by mysql and mariadb.
host: 'localhost'
port: 3306
database: 'minecraft'
username: ''
password: ''
# Every table starts with this text, so two servers or two networks can share one database server if you
# give them different prefixes. Use only a-z, 0-9 and _. In network mode every server needs the same prefix.
table-prefix: 'dnet_'
# How many connections DCore keeps open to a mysql or mariadb server for all plugins together. 8 is plenty
# for most servers; raise it only if /dcore storage status shows writes waiting in a queue.
pool-size: 8
# Automatic copies of the sqlite and h2 files, kept in each plugin's backups folder. A mysql or mariadb
# server is not copied by DCore; use your database host's backups for that.
backups:
# false turns the automatic copies off. /dcore storage backup still works.
enabled: true
# Minutes between two copies. 360 = every 6 hours.
interval-minutes: 360
# How many copies each plugin keeps. The oldest one is deleted when a new one is made.
keep: 10
# Console lines. Leave a line empty ('') to use the built-in English text.
# You can use: %plugin% (the plugin) %counts% (what was moved) %where% (the database) %table% (a table name)
messages:
importing: '%plugin% moved its old data files into %where%: %counts%.'
import-refused: '%plugin% did not move its old data files because %table% already holds data. Check both, then run /dcore storage import %plugin% --merge keep if you want them added.'
wrong-for-network: 'Network mode is on and %plugin% moves money or items, so its database.type must be default.'
# --- Redis ---
# Optional Redis for near-instant messages between servers in network mode (chat, staff alerts, cache
# refreshes). Without it, or while it is down, servers pass the same messages through the database a fraction
# of a second later. Money and items never travel through Redis, so a Redis outage can never lose or duplicate
# them. A single server leaves this off.
redis:
enabled: false
# A full redis:// or rediss:// address wins over the fields below when you fill it in.
url: ''
host: 'localhost'
port: 6379
username: ''
password: ''
database: 0
# The Redis channel the servers share. Every server in one network must use the same name.
channel: 'dnet'
# --- Clickable commands ---
# When a chat message from a Devamy plugin contains a command like /shop, the player can click it.
clickable-commands:
# What a click does.
# run = the command runs at once
# suggest = the command is typed into the player's chat box, ready to send
# off = commands are plain text, nothing to click
mode: run
# The text shown when a player hovers over the command. Leave empty ('') for none.
# You can use: %command% (the command that would run)
hover: '&7Click to run &f%command%'
# --- Server branding ---
# Your server's name and links. Any text in any Devamy plugin can use %server%, %discord% and %store%
# and they are replaced by the values below. Change them once here and every plugin follows.
branding:
# Your server's name. Replaces %server%.
server-name: 'MyServer'
# Your Discord invite link, written without https:// (the plugin adds it). Replaces %discord%.
discord: 'discord.gg/yourserver'
# Your web shop address, written without https://. Replaces %store%.
store: 'store.yourserver.net'
# --- Update checks ---
# Devamy plugins ask BuiltByBit about once a day whether a newer version exists.
market:
# true = check for updates. false = never contact the web.
enabled: true
# Hours between two checks. The lowest allowed is 6. Example: 24 = once a day.
check-interval-hours: 24
# Print a line in the console when a new version is out?
notify-console: true
# Tell admins (players with the permission dcore.market.notify) when they join and a new version is out?
notify-admins: true
# How long after joining the admin notice appears, in ticks. 20 = 1 second, 60 = 3 seconds.
join-delay-ticks: 60
# true = never contact the web at all (for a server behind a firewall). No update notices then.
offline-mode: false
# The texts of the notices. & colour codes and &#RRGGBB work.
# You can use: %module% (plugin name) %installed% (version you run) %latest% (newest version) %url% (download page)
messages:
update-console: '%module% %latest% is out (you run %installed%): %url%'
update-admin: '&f%module% �B5FF%latest% &fis out &7(you run %installed%). �B5FF%url%'
# --- Network mode ---
# Network mode lets several servers behind one Velocity or BungeeCord proxy share player money, items, homes,
# messages and more. You only need it when you run more than one server; a single server leaves it off.
# Every server in the network must use the same MySQL or MariaDB database in the database section above, with
# the same table-prefix. The redis section above is optional and only makes messages between servers faster.
# Changes in this section need a restart; /dcore reload does not apply them.
# Check how it is doing with /dcore network status.
network:
# true turns network mode on for this server. While it is false, DCore never connects to the database below,
# starts no extra threads and creates no tables, so the server behaves exactly as a single server.
# While it is true, balances, kills, playtime and crate keys are shared by every server in the network.
# When you switch an existing server over, start it once with everyone kept off (whitelist on). Your main
# server copies its player data into the shared tables by itself if they are still empty. Your other servers
# start empty and pick the players up from the database.
enabled: false
# The name of this server. It must be exactly the name you gave it under [servers] in velocity.toml (or under
# servers: in the BungeeCord config.yml), in lower case, using only a-z, 0-9, - and _. If it does not match,
# /home, /warp and /tpa cannot send players to this server. Every server needs its own name: a second server
# started with a name that is already online is refused and logs an error.
server-id: ''
# How often, in milliseconds, each server reads messages from the database. Lower is faster but costs more
# database queries. The lowest allowed value is 100.
poll-interval-ms: 250
# How long, in seconds, a server keeps its claim on a player's data without checking in. If a server crashes,
# its players can load their data on another server after this time. The lowest allowed value is 15. A lower
# value hands players over faster after a crash, but a database hiccup longer than this pauses money and items.
lease-seconds: 30
# How long, in milliseconds, a player who switched servers waits for the last server to finish saving before
# they see the loading message. Their data still loads as soon as the last server lets go.
join-wait-ms: 3000
# How often, in milliseconds, changed player data is saved to the shared database.
flush-interval-ms: 1000
# How long, in milliseconds, a server waits for an answer from another server before it gives up.
request-timeout-ms: 3000
# What players see when network mode pauses an action. & colour codes and &#RRGGBB work.
messages:
# Their data is still on its way from the server they came from.
loading: '&7Your data is still loading from the last server. Try again in a moment.'
# The shared database cannot be reached, so money and item actions are paused to keep them safe.
unavailable: '&#FF4D6DThe network is not reachable right now, so this is paused to keep your money and items safe. Try again soon.'
# Their last money or item action is still being saved.
busy: '&7Your last action is still being saved. Try again in a moment.'
# The player this action is about is held by another server right now.
other-server: '&7That player is busy on another server right now. Try again in a moment.'