join all cmdparams into one string for a command

Started by eggnirmoll on Fri, 06/04/2021 - 16:08

Topic category: Help with modding (Java Edition)

Last seen on 14:07, 31. Jul 2021
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
join all cmdparams into one string for a command
Fri, 06/04/2021 - 16:08

so i wanted to make a command similar to /say but i don't know how to join the arguments into a single string

my command is supposed to be for example if you do /announce i like grapes, in the chat it does "[-] i like grapes", any help?

Last seen on 14:07, 31. Jul 2021
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
what am i supposed to do…
Sat, 06/05/2021 - 11:33

what am i supposed to do with this