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

Receive command descriptions from floodgate #4216

Closed
wants to merge 4 commits into from

Conversation

isInstance
Copy link

This PR allows geyser standalone to have access to command description data forwarded from floodgate in my other PR: GeyserMC/Floodgate#460

byte[] data = packet.getData();
String dataString = new String(data, StandardCharsets.UTF_8);

Map<String, String> parsedCommandDescriptions = new Gson().fromJson(dataString, new TypeToken<Map<String, String>>(){}.getType());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@onebeastchris onebeastchris linked an issue Nov 1, 2023 that may be closed by this pull request
@Konicai
Copy link
Member

Konicai commented Dec 5, 2023

Requires rebase or merge

@isInstance isInstance closed this by deleting the head repository May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Command description support for geyser standalone
3 participants