Solved Questions on PlayerMoveEvent

Discussion in 'Plugin Development' started by RcExtract, Feb 14, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    RcExtract

    Will a PlayerMoveEvent be fired when a player was knocked backwards due to being hit? Also, if a player is continuously walking, will the PlayerMoveEvent be fired every ticks?
     
  2. Offline

    Zombie_Striker

    @RcExtract
    PlayerMoveEvent is triggered when a player moves in any direction for any reason. Yes, it will fire when a player gets knockeback, and it will trigger every time they walk.
     
  3. Offline

    Protophite

  4. Offline

    Zombie_Striker

    @Protophite
    Not entirely. If the player changed their location after one tick (1/20th of a second), then the event triggers. It will only trigger after one tick. This means the max amount of times it can trigger is 20 per second.
     
Thread Status:
Not open for further replies.

Share This Page