events for player and borders