Filled Limiting Flying Speed (anti-crash)

Discussion in 'Plugin Requests' started by TravelerJay, Oct 21, 2019.

  1. Offline

    TravelerJay

    Minecraft version: 1.14.4

    Suggested name: AntiCrash

    What I want: I would like a plugin that teleports the player to their coordinates from one second back if they are going above a certain BPS (Blocks Per Second). How I think this would work is that it would save the players X1, Y1, Z1 (1 & 2 means nothing just to show that its a different variable) values and then the next second it would store their current X2,Y2,Z2 values. After that it would set all the stored values to positives or their absolute value to make sure there are no complications in the next step. After it has done that it would subtract the current stored values ie(X2-X1, Y2-Y1, Z2-Z1) then you would get the amount of blocks traveled in each direction X, Y, Z position. Then you would add all the results after subtracting to get your BPS (Blocks Per Second). If they BPS is above a certain number like 50 or 100 then it would teleport that player to their stored X1, Y1, Z1 values. Once that is done it would start again and loop forever. I think that explains how this plugin would work and what I would like.

    Ideas for command: No commands needed (well except an adjustable value for the max BPS in the config text file)

    Ideas for permission: No permissions are needed for this plugin

    When I'd like it by: Any time is fine with, just sometime soon
     
    Last edited: Oct 24, 2019
  2. Offline

    Gh0stKitty

  3. Offline

    TravelerJay

    I have seen that plugin but it’s not what I’m looking for. I’m looking for a plugin that limits how fast a player can fly. The one you have posted let’s you increase the default flying speed, this would not effect the flying speed of hacked clients. But thank you for the suggestion.
     
    Gh0stKitty likes this.
  4. Offline

    Gh0stKitty

    Alrighty aaa I hope you can find what you're looking for!
     
  5. Offline

    robertlit

    Hey, I will try :d
     
  6. Offline

    TravelerJay

    Thank you so much! I have been trying my self to recreate this using command blocks as I dont know how to make plugins. Good luck!
     
  7. Offline

    TravelerJay

  8. Offline

    TravelerJay

    bumpy bump
     
  9. Offline

    robertlit

    Hey, I finished will be posted tommorow :)
     
  10. Offline

    TravelerJay

    @robertlit Thank you so much, so I'm guess that it almost all works.
     
  11. Offline

    robertlit

    TravelerJay likes this.
  12. Offline

    TravelerJay

Share This Page