adding a player hook feature to ddnet game with advanced configurations