menu_title: '&cPunish menu'
open_command: punish
size: 9
open_requirement:
requirements:
permission:
type: has permission
permission: menu.open.punish
deny_commands:
- '[message] You dont have permission to open menu: punish'
items:
'1':
material: barrier
slot: 0
display_name: '&cMute a player'
lore: - '&aYou will be prompted to type the player name'
- '&ato mute after selecting this option'
left_click_commands: - '
[player
] mute <Type the name of the player you want to mute>'
- '
[close
]'
right_click_commands: - '
[player
] mute <Type the name of the player you want to mute>'
- '
[close
]'
'2':
material: barrier
slot: 4
display_name: '&aKick a player'
lore: - '&aYou will be prompted to type the player name'
- '&ato kick after selecting this option'
left_click_commands: - '
[player
] kick <Type the name of the player you want to kick>'
- '
[close
]'
right_click_commands: - '
[player
] kick <Type the name of the player you want to kick>'
- '
[close
]'
'3':
material: barrier
slot: 8
display_name: '&aBan a player'
lore: - '&aYou will be prompted to type the player name'
- '&ato ban by clicking here'
left_click_commands: - '
[player
] ban <Type the name of the player you want to ban>'
- '
[close
]'
right_click_commands: - '
[player
] ban <Type the name of the player you want to ban>'
- '
[close
]'