Skip to content

Vanilla server unjoinable on 1.21.X: Failed #675

@ArmoredFuzzball

Description

@ArmoredFuzzball

I created a comment on this issue yesterday: PrismarineJS/node-minecraft-protocol#1289 (comment) suggesting an issue with the protocol and was told to try this on Flying-Squid. Well I just did, and the exact same problem is occuring at the exact same place in yggdrasil. I think the protocol really has an issue. Please let me know if I should open this over at NMP.

The client fails to connect with reason: Failed and the login event does not ever execute the callback:

import Squid from "flying-squid";

const options = {
    'motd': 'A Minecraft Server \nRunning flying-squid',
    'port': 25565,
    'max-players': 10,
    'online-mode': true,
    'logging': true,
    'gameMode': 1,
    'difficulty': 1,
    'worldFolder': 'world',
    'generation': {
        'name': 'diamond_square',
        'options': {
            'worldHeight': 80
        }
    },
    'kickTimeout': 10000,
    'plugins': {

    },
    'modpe': false,
    'view-distance': 10,
    'player-list-text': {
        'header': 'Flying squid',
        'footer': 'Test server'
    },
    'everybody-op': true,
    'max-entities': 100,
    'version': '1.21.1'
}

const server = Squid.createMCServer(options);

server.on("login", client => {
    //does not run
    console.log("join");
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions