server check for player attack