Programming give item?

am
5

How can I program a #give command? (In Minecraft) So that it is not shown in the console that someone is using this command. Example:

#give "item id / name" number

I'm still in code so I don't know how to program it

no I want # and not /

Dr

There's the event "AsyncPlayerChatEvent" (or something like that).

It will be what you are looking for

am

Don't know what you mean Can you explain it to me in more detail? I'm new to code

Dr

https://paste.ofcode.org/VED2jLkucLeKX5AhGP3pM

Take this code and you will have a similar feeling to real commands.

am

What does this code do? That every normal command is also executed with #?

Dr

Wrong… That you can make your own commands with #.

But should you actually be able to read it out quite easily…