Skip to content

Add option to set a custom version in the ClientPingServerEvent #2251

@AlexProgrammerDE

Description

@AlexProgrammerDE

Ok so i was looking through the API lately and noticed that the option to set a minecraft servers version is missing. Doing this would allow us as an example to let the client think he is outdated and so always displaying the current minecraft version. And also setting a custom version name for the client to display. (This can be even coloured instead of the default red colour).

Here is an example, which did make use of this functionality of minecraft:

I hope this feature can get added to this awesome API.

You can by the way already get the version that is sent, but not edit it yet:

Useful links for devs:
https://github.com/SpongePowered/SpongeAPI/blob/stable-7/src/main/java/org/spongepowered/api/event/server/ClientPingServerEvent.java
https://github.com/SpongePowered/SpongeAPI/blob/stable-7/src/main/java/org/spongepowered/api/network/status/StatusClient.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: 8 (u)version: 1.16 (unsupported since Oct 17th 2023)type: feature requestA feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions