How can I detect the sender of the command? (Console, player, mobs, or other)

Started by dkim19375 on

Topic category: Help with modding (Java Edition)

Last seen on 22:17, 8. Sep 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I detect the sender of the command? (Console, player, mobs, or other)

Is there a way to detect if the console in running a command using procedures? If so, how? And can you do the same with players and mobs?

Some other info:

- players are Operators

- Using procedures

If this is not possible, please consider making this possible! Thanks!