Inline dclink guild, channel and role values

This commit is contained in:
2026-01-15 20:24:05 +00:00
parent 6e7aecd35b
commit 8a214c9610
3 changed files with 4 additions and 20 deletions

View File

@@ -17,9 +17,6 @@ services:
secrets: secrets:
- rcon_password - rcon_password
- forwarding_secret - forwarding_secret
- dclink_guild
- dclink_channel
- dclink_role
- dclink_token - dclink_token
- luckperms_db_password - luckperms_db_password
networks: networks:
@@ -42,14 +39,10 @@ services:
ENABLE_RCON: true ENABLE_RCON: true
RCON_PORT: 25575 RCON_PORT: 25575
RCON_PASSWORD_FILE: /run/secrets/rcon_password RCON_PASSWORD_FILE: /run/secrets/rcon_password
CFG_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_DCLINK_TOKEN_FILE: /run/secrets/dclink_token
CFG_LUCKPERMS_DB_PASSWORD_FILE: /run/secrets/luckperms_db_password CFG_LUCKPERMS_DB_PASSWORD_FILE: /run/secrets/luckperms_db_password
PLUGINS: | PLUGINS: |
@@ -324,12 +317,6 @@ secrets:
environment: RCON_PASSWORD environment: RCON_PASSWORD
forwarding_secret: forwarding_secret:
environment: FORWARDING_SECRET environment: FORWARDING_SECRET
dclink_guild:
environment: DCLINK_GUILD
dclink_channel:
environment: DCLINK_CHANNEL
dclink_role:
environment: DCLINK_ROLE
dclink_token: dclink_token:
environment: DCLINK_TOKEN environment: DCLINK_TOKEN
luckperms_db_password: luckperms_db_password:

View File

@@ -2,9 +2,6 @@ RCON_PASSWORD=${CFG_RCON_PASSWORD}
FORWARDING_SECRET=${CFG_FORWARDING_SECRET} 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} DCLINK_TOKEN=${CFG_DCLINK_TOKEN}
LUCKPERMS_DB_PASSWORD=${CFG_LUCKPERMS_DB_PASSWORD} LUCKPERMS_DB_PASSWORD=${CFG_LUCKPERMS_DB_PASSWORD}

View File

@@ -4,11 +4,11 @@ database {
} }
discord { discord {
# Guild ID of the Guild where the bot will run # 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 # 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) # 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 # Message to show on the bot's status
status-message=Minecraft status-message=Minecraft
# Bot Token (see https://discord.com/developers/applications) # Bot Token (see https://discord.com/developers/applications)