A man has been banned from attending football matches for three years after he was found in possession of a knuckle duster.