A rail operator is urging passengers to be more considerate of staff after receiving horrid abuse.