Add luckperms database and velocity proxy

This commit is contained in:
2025-03-16 22:12:46 +00:00
parent fda1da6903
commit c36b688cc1
15 changed files with 1041 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
database {
# The Sqlite database filename
sqlite-file="dclink.db"
}
discord {
# Guild ID of the Guild where the bot will run
guild="${CFG_DCLINK_GUILD}"
# Channel ID of the channel where the bot will send the message with the button to link their account
link-channel="${CFG_DCLINK_CHANNEL}"
# 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}"
# Message to show on the bot's status
status-message=Minecraft
# Bot Token (see https://discord.com/developers/applications)
token="${CFG_DCLINK_TOKEN}"
}
linking {
# Limit of Bedrock Edition accounts that can be linked to one Discord account. Requires Floodgate to be installed
bedrock-limit=100
# Limit of Java Edition accounts that can be linked to one Discord account
java-limit=100
# If true, the player needs to be linked before they can join the server
link-required=true
}

View File

@@ -0,0 +1,26 @@
discord {
accept=Accept
add="Link Account"
already-linked="You are already linked to this account."
decline=Decline
generic-link-error="An error occurred while linking your accounts. Contact the server administrator if this problem persists."
info-channel="Press the button below to link your account."
max-bedrock="You can't link any more Bedrock accounts."
max-java="You can't link any more Java accounts."
modal-input-description="Enter link code"
modal-title="Account Linker"
rules="Accept the following rules in order to link your account!\nRules:\nNO griefing\nBe nice\nNO crime"
rules-accepted="You have accepted the rules! Your account is now linked."
rules-denied="You have denied the rules."
wrong-code="The code you entered is incorrect."
}
minecraft {
alts-command="Alts: <alts>"
db-error="An error occurred while accessing the database. Please try again later."
discord-command="Name: <hover:show_text:\"ID: <discord_id>\"><discord_name>"
kick-unlinked="You have been kicked because your Discord account is no longer linked."
link-code-message="Your Linking Code is: <code>"
needs-argument-if-executed-by-console="This command needs an argument if executed by console."
not-linked="Not Linked"
un-link-command="Unlinked <player>"
}