/tellraw player names in all capital letters

I am using tellraw to display that "@p has won the game.":

/tellraw @a [{"selector":"@p","bold":true,"italic":true,"color":"dark_purple"},{"text":" HAS WON THE GAME!"}]

The output:

drayson129 HAS WON THE GAME!

My question is can you make the output in full caps?:

DRAYSON129 HAS WON THE GAME!


Solution 1:

There is currently no way to modify the actual text of a JSON text element. All you can do is change its color and other formatting.

One possible option would be a resource pack that replaces all lowercase letters with uppercase ones. Obviously, this would make it impossible to have lowercase letters anywhere in the game, unless you replaced another set of characters with lowercase letters and used those instead (i.e., replace £ with a and so on).