Players Appearing in the Ground/Air

Discussion in 'Plugin Development' started by GrandmaJam, Aug 8, 2015.

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

    GrandmaJam

    Hello Bukkit!
    Players seem to be appearing in the ground/air, when they are not actually in the ground, they just appear that way to other players. (#logic) I've seen that Badlion and Kohi (popular pvp servers) have found a way to patch this.
    Does anyone know a way/method that would automatically make the player appear in it's normal location again?

    Demonstration:
    http://imgur.com/YuXU5MV
    PS: The player is not jumping.

    I've setup a /ghostfix command, however some players refuse to follow that rule and I agree, it can get annoying to type the command all the time.
     
    Last edited by a moderator: Aug 8, 2015
  2. @GrandmaJam This is an mc problem, I can't think of a way to automatically fix it. If there was an easy way to detect if a player is having this issue then it could be fixed easily but I don't think there is.
     
  3. Offline

    Eos

    You could check if their underneath a block if not then teleport them. (If there in the air for a certain amount of time)
     
  4. Offline

    kampai

    EDIT:

    This might create some server lag depending on how many players are on your server, but every few seconds you can teleport the players to their own location, though that might be a really bad way. Or what you can do is, from what I've seen usually when players are joining or teleporting the server is when the ghosting issue happens so a few seconds after a teleport you can run your ghost command or a few seconds after they login or respawn.
     
  5. Offline

    Funergy

    @GrandmaJam
    Maybe re-show the player to the client. Entity destroy packet and then showing the entity again to the client.
    I think that should fix it.
     
  6. Offline

    GrandmaJam

    Thanks for all the suggestions, I'll try them out. :)
     
Thread Status:
Not open for further replies.

Share This Page