What's the default player velocity? :D

Discussion in 'Plugin Development' started by Liam Allan, Sep 20, 2011.

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

    Liam Allan

    Hey guys, Does anyone know the default player velocity?
    If so, Let me know below :D
     
  2. Try it out yourself!
    Walk normally while constantly debugging (broadcasting in the chat) data about your velocity. You understand it best that way.
     
  3. Offline

    Liam Allan

    Awesome idea my good friend :D
     
  4. Offline

    Butkicker12

    Do you need a plugin for that? I dont see it in server.prop?
     
  5. Offline

    Liam Allan

    It's how fast the player moves, Nothing to do with config :D
     
  6. Offline

    TehRandomGuy

    Just make an onPlayerMove event and just make it say the players velocity like this:
    Code:java
    1.  
    2. public void onPlayerMove(PlayerMoveEvent event){
    3. event.getPlayer().sendMessage(player.getVelocity());
    4. }
    5.  
     
  7. Offline

    Liam Allan

    Thanks :D But I got it anyway :D
     
  8. Offline

    TehRandomGuy

    I was more talking to @ButtKicker12 :p
    I thought you would have it already :p
     
  9. Offline

    Butkicker12

    No, I was talking about debuging.
     
  10. Offline

    Celeixen

    Isn't it constantly different because of walk,run and now sprint :(
     
Thread Status:
Not open for further replies.

Share This Page