How do I Give Everyone Something?
Techno3600 opened this issue ยท 11 comments
Hello,
I was wondering how I could give everyone on my server an item. Like /give @a wooden_cloud 1
or something like that?
Thanks
Techno3600
As far as I can see, /msg does support a /msg ** <text>
syntax which messages everybody on the server. However, /give doesn't seem to have this implemented currently.
You can still try one of those two options:
- Insert
give @a paper 1
into a command block, it worked fine for me and targeted every player on the server while still using Essentials-/give - Use
/minecraft:give @a paper 1
instead, but bear in mind that this command uses a different syntax for defining item meta and that it requires different permissions
/give **
would be a more consistent and useful implementation, since "all" is a valid player name (looking at you, /msg console
), but there are already ways around it. If you're having trouble with /minecraft:give
, I can offer you my help.
As a workaround currently, you can use /execute
to make use of @a
. I believe the following should work:
/execute as <player> run essentials:give @a ...