Skip to content

regression when using the alternative-authentication mod #3781

@not-fiore

Description

@not-fiore

Describe the problem

i am runnning a server using the alternative authentication mod. this used to work fine, but now i cannot start my server anymore because it stops with an error from playerdb or mojang, saying that the requested account was not found. it seems that the container is checking the accounts instead of letting the minecraft server do it, and as such the mod is unable to direct the request towards ely.by?

this is just a guess, i am trying to fix this and really dont know what to do, i am desperate.

Container definition

version: "3"
services:
  server:
    image: ghcr.io/itzg/minecraft-server
    tty: true
    stdin_open: true
    restart: always
    ports:
      - "25565:25565"
      - "25575:25575"
    environment:
      VERSION: "1.21.6"
      MEMORY: "4G"
      DIFFICULTY: "hard"
      FORCE_GAMEMODE: "true"
      MODE: "survival"
      ENABLE_WHITELIST: "true"
      VIEW_DISTANCE: "20"
      ONLINE_MODE: "true"
      ENABLE_COMMAND_BLOCK: "true"
      OVERRIDE_WHITELIST: "true"
      SPAWN_PROTECTION: 0
      ALLOW_FLIGHT: "true"
      CUSTOM_SERVER_PROPERTIES: |
        enforce-secure-profile=false
      EULA: "TRUE"
      TYPE: "FABRIC"
      MODRINTH_DOWNLOAD_DEPENDENCIES: "required"
      MODRINTH_PROJECTS: |
        lithium
        chunky
        alternate-current
        netherportalfix
        villager-names-serilum
        dismount-entity
        zombie-horse-spawn
        skeleton-horse-spawn
        mooshroom-tweaks
        scaffolding-drops-nearby
        floodgate
        frostbytes-skip-server-movement-check
        ferrite-core
        discord-mc-chat:PtVawIb0
        death_coordinates
        universal-graves
        alternative-authentication
        no-chat-reports:G2i6IY0q
        disconnect-packet-fix
        fabric-custom-names
        luckperms
      DATAPACKS: |
        /data/datapacks-local/minecarts.zip
      VANILLATWEAKS_FILE: |
        /data/config/vt-datapacks.json
        /data/config/vt-crafting.json
        /data/config/vt-resource.json
      WHITELIST: |
        # lots of stuff here...
      RCON_CMD_STARTUP: |
        gamerule disableElytraMovementCheck true
        gamerule doInsomnia false
        gamerule doLimitedCrafting true
        gamerule playersSleepingPercentage 50
        spawnChunkRadius 1
        spawnRadius 1
    volumes:
      - /var/minecraft/cherrysmp/server/data:/data

Container logs

15:29:01.492 ERROR : Invalid parameter provided for 'manage-users' command: Could not resolve username from Mojang: $USERNAME

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions