thecatcore/Fabric---Discord-Link

1.17 Server hangs when starting after "Saving config files." is logged

Opened this issue · 0 comments

Describe the bug
After following the installation instructions and configuring fdlink.json, Minecraft fails to start, hanging after the following lines are logged:

06:31:18] [main/INFO]: Initializing 1.16 Compat module
[06:31:18] [main/INFO]: Looking for config file(s).
[06:31:18] [main/INFO]: Reading config file(s).
[06:31:18] [main/INFO]: Config files read.
[06:31:18] [main/INFO]: Saving config files.

Reproduction steps

  1. Install and configure the addon on a 1.17 server
  2. Start the server
  3. Server hangs indefinitely as described above. Removing the addon allows normal functioning to return.

Expected behaviour
The server should have been able to start.

Additional context

  • Minecraft version: 1.17
  • Fabric-Discord Link version: 0.10.8
  • ❗ A list of all mods you were using:
    • fabric-api-0.35.2+1.17.jar
    • fabric-carpet-1.17-1.4.40+v210608.jar
    • Fabric-Discord-Link-0.10.8.jar
    • lithium-fabric-mc1.17-0.7.2.jar
    • phosphor-fabric-mc1.17.x-0.8.0.jar

fdlink.json
Please attach your configuration file (fdlink.json) here (edit the token out)

{
  "token": "redacted",
  "chatChannels": [
    "1006809270047739904"
  ],
  "logChannels": [
    "1007185589638008895"
  ],
  "webhook": {
    "url": "",
    "mentions": {
      "everyone": false,
      "roles": false,
      "users": true
    }
  },
  "ignoreBots": true,
  "activityUpdateInterval": 120,
  "minecraftToDiscord": {
    "general": {
      "enableDebugLogs": false
    },
    "chatChannels": {
      "commandPrefix": "-",
      "allowDiscordCommands": false,
      "serverStartingMessage": true,
      "serverStartMessage": true,
      "serverStopMessage": true,
      "serverStoppingMessage": true,
      "customChannelDescription": false,
      "minecraftToDiscordTag": false,
      "minecraftToDiscordDiscriminator": false,
      "playerMessages": true,
      "teamPlayerMessages": true,
      "joinAndLeaveMessages": true,
      "advancementMessages": true,
      "challengeMessages": true,
      "goalMessages": true,
      "deathMessages": true,
      "sendMeCommand": true,
      "sendSayCommand": true,
      "adminMessages": false,
      "atATellRaw": false,
      "achievementMessages": true
    },
    "logChannels": {
      "serverStartingMessage": true,
      "serverStartMessage": true,
      "serverStopMessage": true,
      "serverStoppingMessage": true,
      "customChannelDescription": false,
      "minecraftToDiscordTag": false,
      "minecraftToDiscordDiscriminator": false,
      "playerMessages": false,
      "teamPlayerMessages": false,
      "joinAndLeaveMessages": true,
      "advancementMessages": false,
      "challengeMessages": false,
      "goalMessages": false,
      "deathMessages": true,
      "sendMeCommand": true,
      "sendSayCommand": true,
      "adminMessages": true,
      "atATellRaw": false,
      "achievementMessages": true
    }
  },
  "discordToMinecraft": {
    "pingLongVersion": false
  },
  "emojiMap": [],
  "version": 9
}