How to use command parameters

Started by IAmThe2ndHuman on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to use command parameters

I'm trying to make a command which strikes a player with lightning (/smite <targets>). Just like the Essentials plugin. But I couldn't get the parameter to work. How do I get it to work?

Command screen:

command screen

Procedure screen:

Procedure screen

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If I understood it correctly…
Sat, 05/09/2020 - 08:11

If I understood it correctly you have to remove the <targets> in the command

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yep U need to remove …
Wed, 05/12/2021 - 14:03

Yep U need to remove <Targets> thingy the parameter chances with the "space" U press to input another parameter like;

/say(space) <Text>

also U make the execute run like //execute

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
U'l need to meke execute…
Wed, 05/12/2021 - 14:04

U'l need to meke execute with no "/" then It will work I think ;/