Module: command_meta.for_each
Overview
Module
This module provides the /foreach
command.
It allows applying a command that normally targets a single player to each
online player.
Color Boxes
Example
◉ Say hello to online players.
Issue: /foreach say hello %player:name%
Commands
Command
-
Command Syntax:
/foreach <GreedyString rest>
-
Document: Execute a command targeted on single-player for each player online.
-
Can be executed by console:
true
-
Required Level Permission:
4
-
Required String Permission:
null