8000 1.19.1 Update (PE 1.8) by NoJokeFNA · Pull Request #453 · retrooper/packetevents · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

1.19.1 Update (PE 1.8) #453

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

Merged
merged 5 commits into from
Aug 2, 2022
Merged

Conversation

NoJokeFNA
Copy link
Contributor
@NoJokeFNA NoJokeFNA commented Jul 23, 2022

1.19.1 Update

Additions

We only add the wrappers when we want to. But since we have announced that we will no longer add new features, they will not be added if they are not needed.

Changes

  • Update the current ChatPosition enums for modern and legacy support
  • Change the current ChatPosition handling as 1.19.1 removed some types and added new ones
  • The ClientLoginStart wrapper now also has a playerUUID field which is nullable (due to cross versions support)
  • The ClientChatCommand and ClientChatMessage wrappers now also have LastSeenMessages fields which are nullable (due to cross versions support)
  • The ServerChatMessage wrapper changes the plain ChatContent (first field) from a Component to a plain String with a limit of 256 characters
  • The ServerServerData wrapper now also has a enforceSecureChat (boolean) field which is always false on legacy versions
  • The ServerSystemChatMessage wrapper needs an overhaul to support the new ChatPosition enum
    and because 1.19.1 no longer supports overlays we need to take care of that

@NoJokeFNA NoJokeFNA marked this pull request as draft July 24, 2022 02:00
@retrooper retrooper self-assigned this Jul 27, 2022
… PlayerInfo.

Won't add the newly 1.19.1 created wrappers as this version is slowly dying
@retrooper retrooper marked this pull request as ready for review August 2, 2022 04:11
@retrooper
Copy link
Owner

Looking good now, very minimal 1.19.1 support to just get it working for most plugins. Be aware maintaining two versions is hard and one should look into updating to 2.0 slowly.

@retrooper retrooper merged commit 62afe05 into retrooper:master Aug 2, 2022
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.

2 participants
0