Skip to content

@pumpkin-plugins/docs API / commands / CommandArgumentSpec

Type Alias: CommandArgumentSpec ​

CommandArgumentSpec = { max?: number; min?: number; name: string; type: "integer"; } | { max?: number; min?: number; name: string; type: "double"; } | { name: string; type: "item"; } | { name: string; type: "players"; } | { mode: "single-word" | "quotable" | "greedy"; name: string; type: "string"; }

Defined in: tools/docs/src/commands.ts:54

An argument supported by the shared command helpers.

Pumpkin Plugins documentation