Many MMO’s, including the big one’s have made it so you can’t use Global chats until a certain level normally around level 10-15 depending on the game. A player can still send private or party chat so they wouldn’t be completely cut off.
This won’t completely get rid of Gold Selling spam but it does help since they wouldn’t be able to make a level 1 character and just instantly spam the Global chat anymore.