How to execute a server command from a pluginSolved

Good day, how much I'm looking for, I can't find, please tell me how you can use the console command, the essence is conditionally the player writes the test1 command and after that the command is executed to the console conditionally give playerid item value

it didn't work out in the standard, I had to write the logic from scratch) if the administration allows it, I'll upload it to the plugins, maybe someone will need it

Locked automatically