Wiki 9Minecraft Wiki 9Minecraft

How Viewer Chat Commands and Arguments Are Split into Storage

How Auto Command Split Works

For a standard space-separated message like !spawn zombie 3, the mod extracts the command name and leaves the remainder together:

  • cmd: "spawn"
  • chat: "zombie 3"

If the viewer separates the values with commas, such as !spawn, zombie, 3, the mod also populates numbered argument slots (arg0, arg1, up to arg5) along with args and arg_count. Any unused argument slots are filled with empty strings.

Available NBT Storage Fields

Your .mcfunction macro commands can read the following fields for every chat event:

  • player_name and player_uuid: The Minecraft player who started the Chzzk link.
  • sender_nick and sender_id: The viewer's display name and unique ID.
  • cmd and chat: The triggered command name and the rest of the text.
  • args, arg0 through arg5, and arg_count: The comma-separated arguments and total count.
  • raw_msg and time: The full unedited message and its timestamp.
  • pay_type: The payment type used, such as CHEESE.
Join 9Minecraft News & Guides