require Player
Extension function for CommandContext that ensures the sender is a player.
If the sender is not a player, an error message is thrown.
Return
The Player instance representing the sender.
Throws
If the sender is not a player.