'How to see and send commands to minecraft server without typing them

I have a tlauncher (cracked Mincraft) player, and I play on cracked minecraft servers.

I put a request here is because what I want to do is, to earn money players sell blaze rods by click on the gui which is opened when we type /shop command.

Now what I want is to get the line of code which my tlauncher player sends to the server when I click on the sell blaze rod button, and then I want to send that command to server without opening the GUI.

So what I want to know is "what is going on the backend". I have no idea of what to do here. I am a python developer but I have a basic Idea of java, I don't know anything in minecraft java development.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source