How do I set up commands to use parameters?

Started by NorthWestTrees… on Wed, 03/04/2020 - 01:12

Topic category: Help with modding (Java Edition)

How do I set up commands to use parameters?
Wed, 03/04/2020 - 01:12

Hello, first and foremost thank you for clicking this thread :)

I am trying to set up a command called /guild "Join" "Mining"

I then want to apply a entity player NBT tag to the provided entity but we will get to that latter.

The command I have set up just holds "/guild" but I feel like I am missing some extra steps on using parameters.

Do I need to use variables, or is there some kind of special thing that has to go into the command field like "/guild <0> <1>"

Below is my event and command screens on how they are set up.

Procedure image

Command image

Last seen on 20:35, 20. Jan 2021
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
This procedure should work…
Wed, 03/04/2020 - 16:53

This procedure should work with command like this:

guild join mining

If it does not, please send a workspace and I will check.

I tried that did not work,…
Wed, 03/04/2020 - 21:07

I tried that did not work, it must be a bug then, I will open a bug report with a clean workspace when I can post again.
Thank you for taking the time to reply :)