To assign a macro to the desired button in the Minecraft game, the Keyran program is used. Pressing this button triggers the execution of the /money command, which displays the game balance. Thus, you will be able to quickly and conveniently check your balance in just one click.