Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
AlexProgrammerDE opened this issue Oct 21, 2020 · 1 comment
Closed
Labels
api: 8 (u) version: 1.16 (unsupported since Oct 17th 2023) type: feature request A feature request

Comments

@AlexProgrammerDE
Copy link

AlexProgrammerDE commented Oct 21, 2020

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

@ImMorpheus ImMorpheus added api: 8 (u) version: 1.16 (unsupported since Oct 17th 2023) type: feature request A feature request labels Apr 4, 2021
@ImMorpheus
Copy link
Contributor

Fixed by #2456

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: 8 (u) version: 1.16 (unsupported since Oct 17th 2023) type: feature request A feature request
Projects
None yet
Development

No branches or pull requests

2 participants