You can do with PlayerMoveEvent, but this is likely to lag the server. Better check it like per 5 ticks.
I am trying to rewrite the minecombat to multoworld. I was able to make the gun Particle. But i cant to do checkinh