Skip to content

Command Menu ​

How to Execute Commands in Menu ​

  • Main Nodes

commands Can write multiple commands

  • [command] Execute command as player (recommended)
  • [console] Execute command from console (recommended)
  • [op] Execute command as OP (not recommended)
  • [performCommand] Execute command as player (1.3.4+)(not recommended)
  • [opPerformCommand] Execute command as OP (1.3.4+)(not recommended)
yaml
command:
  index: 21
  name: '   &8[&cExecute Command&8]'
  material: ARROW
  lore:
    - "&f- &7Click to execute command"
  isEnchant: false
  custom-model-data: 0
  commands:
    - '[command] spawn'
    - '[op] spawn'
    - '[Console] say xxx'
    - '[console] say Lowercase supported since 1.2.5+, as some users forget to capitalize the first letter'
    - '[ConSole] say Case-insensitive since 1.3.1+, you can write it as [ConSole] [cnSole] freely'