How do I Give Everyone Something?
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 1into 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 1instead, but bear in mind that this command uses a different syntax for defining item meta and that it requires different permissions
Maybe /give all should be a new thing implement in the next version?
/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.
But is it possible the developers of this plugin could add this feature?
probably the quiest way is to use the kit options where all playeres or a group
Okay, but I'm asking how I could pitch this idea to the developers.
It's been labelled enhancement, so the feature request has been noted.
Awesome!
Is this feature still able to be implemented?
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 ...
This can easily be done with the vanilla give command on its own, and if you want a more essentials-like format, using what md mentioned above. Someone could feel free to PR this, but I feel like anyone who needs to give everyone an item is already using vanilla commands for this.