Skip to content

playerEntity.setVelocity() issues #11

Open

Description

@L4BORG

playerEntity.setVelocity(knockback);

I would like to point out the fact that packets sent because of "setVelocity()" will have no effects whatsoever on hacked clients that have antiknockback, like nothing happened (tested with Wurst).

And some plugins such as NCP have no "antiknockback" check.

Maybe add warning about this or something... there isn't much that can be done about this, except maybe check if player really moved etc but that would prob. be too expensive (PlayerMoveEvent or task every few ticks).

Just a thought :)

Activity

  1. Techcable commented on Feb 15, 2016

    @Techcable
    Member

    I could teleport them if they get too far in (like how teleport mode does) 😄
    This would require calculating distance and whatnot, but it should work well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions