From 8a214c961049bd8d87f5c2fb48f00cadb46bbdf9 Mon Sep 17 00:00:00 2001 From: Kappeh Date: Thu, 15 Jan 2026 20:24:05 +0000 Subject: [PATCH] Inline dclink guild, channel and role values --- compose.yml | 15 +-------------- template.env | 3 --- .../config/plugins/dclink-velocity/dclink.conf | 6 +++--- 3 files changed, 4 insertions(+), 20 deletions(-) diff --git a/compose.yml b/compose.yml index 14a9baa..6d99df3 100755 --- a/compose.yml +++ b/compose.yml @@ -17,9 +17,6 @@ services: secrets: - rcon_password - forwarding_secret - - dclink_guild - - dclink_channel - - dclink_role - dclink_token - luckperms_db_password networks: @@ -42,14 +39,10 @@ services: ENABLE_RCON: true RCON_PORT: 25575 + RCON_PASSWORD_FILE: /run/secrets/rcon_password CFG_RCON_PASSWORD_FILE: /run/secrets/rcon_password - - CFG_DCLINK_GUILD_FILE: /run/secrets/dclink_guild - CFG_DCLINK_CHANNEL_FILE: /run/secrets/dclink_channel - CFG_DCLINK_ROLE_FILE: /run/secrets/dclink_role CFG_DCLINK_TOKEN_FILE: /run/secrets/dclink_token - CFG_LUCKPERMS_DB_PASSWORD_FILE: /run/secrets/luckperms_db_password PLUGINS: | @@ -324,12 +317,6 @@ secrets: environment: RCON_PASSWORD forwarding_secret: environment: FORWARDING_SECRET - dclink_guild: - environment: DCLINK_GUILD - dclink_channel: - environment: DCLINK_CHANNEL - dclink_role: - environment: DCLINK_ROLE dclink_token: environment: DCLINK_TOKEN luckperms_db_password: diff --git a/template.env b/template.env index 4bfd9eb..f6e1ecd 100755 --- a/template.env +++ b/template.env @@ -2,9 +2,6 @@ RCON_PASSWORD=${CFG_RCON_PASSWORD} FORWARDING_SECRET=${CFG_FORWARDING_SECRET} -DCLINK_GUILD=${CFG_DCLINK_GUILD} -DCLINK_CHANNEL=${CFG_DCLINK_CHANNEL} -DCLINK_ROLE=${CFG_DCLINK_ROLE} DCLINK_TOKEN=${CFG_DCLINK_TOKEN} LUCKPERMS_DB_PASSWORD=${CFG_LUCKPERMS_DB_PASSWORD} diff --git a/velocity/config/plugins/dclink-velocity/dclink.conf b/velocity/config/plugins/dclink-velocity/dclink.conf index 46d41a4..7f65b50 100755 --- a/velocity/config/plugins/dclink-velocity/dclink.conf +++ b/velocity/config/plugins/dclink-velocity/dclink.conf @@ -4,11 +4,11 @@ database { } discord { # Guild ID of the Guild where the bot will run - guild="${CFG_DCLINK_GUILD}" + guild="1204371192727867393" # Channel ID of the channel where the bot will send the message with the button to link their account - link-channel="${CFG_DCLINK_CHANNEL}" + link-channel="1206721349087793192" # Role ID of the role that the bot will give to the linked players (If left blank, the bot will not give any roles) - link-role="${CFG_DCLINK_ROLE}" + link-role="1206721407568969729" # Message to show on the bot's status status-message=Minecraft # Bot Token (see https://discord.com/developers/applications)