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

[Feature]: Module to block bedrock protocol clients #5

Open
Atomic69420 opened this issue Apr 19, 2024 · 1 comment
Open

[Feature]: Module to block bedrock protocol clients #5

Atomic69420 opened this issue Apr 19, 2024 · 1 comment
Labels

Comments

@Atomic69420
Copy link

Is your feature request related to a problem? Please describe.

None

Describe the solution you'd like

So basically it would be great to have a module to stop bedrock protocol clients from joining your server aka a anti bot module since bots can cause a lot of harm despite the modules like anti spam the anticheat currently has.

Describe alternatives you've considered

No response

Additional context

Although bots are very similar to normal players they seem to have different properties compared to normal players for example bots have no knockback but it seems bots will not get through to actually spawning within the game so it is recommended to stop bots within the login packet itself. The data within the login packet that can be used to describe a bot is they by default have a DeviceModel as PrismarineJS but this can be edited they also have a titleId as 2047319603 which is the nintendo switch titleId and can also be changed but it is not as easy as changing the DeviceModel located in the skin data also adding this as a flag can cause issues by kicking normal nintendo switch players so it isn't advised. But overall if you do have a robust way to detect a bedrock protocol client it would be helpful to server owners since bedrock protocol are the best way to use the exploits within bds and cause harm to a server that a normal player couldn't usually do. For reference on what bedrock protocol changes within the login packet you can look at https://github.com/PrismarineJS/bedrock-protocol/blob/master/src/handshake/login.js

@Yushu2606
Copy link
Collaborator

it seems to break support for third-party clients and some projects like chatcraft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants