Stop Entity Collisions

Discussion in 'Plugin Development' started by dark navi, Jun 13, 2012.

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

    dark navi

    Hey guys, we're having some issues with players being hidden, but still blocking block placement and projectiles. The only way we have been able to overcome this is by compiling our own version of Bukkit with altered code to allow the server to set if a player collides with entities.

    The issue with this is that it isn't official, so updates will break it.

    My question is, as of right now, is there anyway to disable all entity collisions on a player?
     
  2. cancel its move event, because its caused clientside, there are also mods that prevent it
     
  3. Offline

    dark navi

    Cancel the move event? That will stop players from moving. I want players to be able to fly around the world, just not interact with anything.
     
  4. Offline

    ZeusAllMighty11

    If the people are invisible, why aren't they in a list? And if they are, just do a check so if a player is in a list, cancel block placement.
     
  5. Offline

    Malikk

    Do you mean that the players that are invisible need to be stopped from placing blocks? or do you mean that players that are invisible are stopping other players from placing blocks where they are standing?
     
  6. Offline

    dark navi

    The second one. Players can also block arrows while invisible.
     
  7. Offline

    Malikk

    Well, If the block place event is thrown and then cancelled, you could uncancel it, but likely it's never fired, so I'm not sure this can be fixed with a plugin.
     
  8. Offline

    LucasEmanuel

    What hes trying to say is that their server needs a noclip plugin, that allows certain players to be in a certain no collide state. I.e. arrows can pass right throu them and players can place blocks even if the noclip player is standing right where the other player is placing a block.
     
  9. Offline

    dark navi

    Like I said, the only we we have overcome this is with a CraftBukkit mod. :/
     
  10. Offline

    imjake9

    I'm not sure exactly how it does it, but VanishNoPacket manages to completely hide a player. You might want to check that one out.
     
Thread Status:
Not open for further replies.

Share This Page