Executing a command on another player

Started by Tom45 on Wed, 07/03/2019 - 11:29

Topic category: Help with modding

Last seen on 16:58, 2. Nov 2019
Joined Jun 2018
User points:

User statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • Tracker tickets:
  • Mods of the week:
Executing a command on another player
Wed, 07/03/2019 - 11:29

Hello I’ve been making some commands however I haven’t been able to work out how to target other players. For example, if I use /speed it will give speed to the player that executes the command. I would like to be able to target a different player for example /speed <player>, but I do not know how to do this. Any help is appreciated.

Thanks

0Upvote this forum topic
Last seen on 12:19, 15. Feb 2020
Joined Mar 2019
User points:

User statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • Tracker tickets:
  • Mods of the week:
I'm sure the target selector…
Thu, 07/04/2019 - 07:48

I'm sure the target selector isn't added to MCreator.

0Upvote this forum topic
Last seen on 12:19, 15. Feb 2020
Joined Mar 2019
User points:

User statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • Tracker tickets:
  • Mods of the week:
I want that function because…
Thu, 07/04/2019 - 07:51

I want that function because I'm making a short version of /gamemode, and in Minecraft I can use the target selector to change game mode of a player.

0Upvote this forum topic