Cricket will introduce sendings-off, award penalty runs for poor behaviour and limit bat sizes after lawmakers the MCC approved the changes.
Player offences will be measured across four levels and punishments range from giving away five runs to being dismissed temporarily or permanently.
Batsmen will also now not be run out if their bat loses contact with the ground after being grounded behind the crease.
The new laws will come into effect from October 1st, 2017.
MCC (the Marylebone Cricket Club) is the guardian of the laws and spirit of the game, and has a world cricket committee - established in 2006 - of 12 current and former top international players which made its recommendations last December.
This is the first time a new code of laws has been written since 2000.
The mode of dismissal of a bowler running out a batsman at the non-striker's end has also been changed.
Bowlers will now be able to perform the run-out "to the instant when the bowler would normally have been expected to release the ball", rather than before entering his or her delivery stride, as was the previous rule.
When would players be ejected?
Offences and punishments include:
•showing dissent at an umpire's decision
•Punishment - following an official warning, a second offence will result in five penalty runs being conceded
•throwing the ball at a player
•making deliberate physical contact with an opponent
•Punishment - five penalty runs being conceded
•intimidating an umpire
•threatening to assault another player, team official or spectator
•Punishment - five penalty runs being conceded and the removal of the offending player for a set number of overs
•threatening an umpire
•any other act of violence on the field of play
•Punishment - the removal of the offending player for the remainder of the match
"We felt the time had come to introduce sanctions for poor player behaviour and research told us that a growing number of umpires at grassroots level were leaving the game because of it," MCC head of cricket John Stephenson said.