Blocks Switching (DeluxMenus)

Status
This thread has been locked.

Conetic

ConeticBet
Supreme
Feedback score
3
Posts
530
Reactions
31
Resources
0
Hey MCM, I need help with a config I currently got the following code below and if they enable it the block goes green and disable it the block goes red. You can see the following code below if you code tell me how to do it that would be great to view this easier log on -> brenbuster2k.xyz so I can show you.

'0':
material: STAINED_CLAY
slot: 10
data: 5
display_name: '&a&lToken Messages'
lore:
- '&7Click to disable &aToken Messages'
hide_attributes: true
hide_enchantments: true
enchantments:
- DAMAGE_ALL;1
view_requirement:
requirements:
permission:
type: has permission
permission: essentials.warps.b
left_click_commands:
- '[close]'
- '[player] tokenmessage'
right_click_commands:
- '[close]'
- '[player] tokenmessage'
'1':
material: STAINED_HARDENED_CLAY
slot: 11
data: 14
display_name: '&c&lToken Messages'
lore:
- '&7Click to enable &cToken Messages'
hide_attributes: true
hide_enchantments: true
enchantments:
- DAMAGE_ALL;1
view_requirement:
requirements:
permission:
type: has permission
permission: essentials.warps.b
left_click_commands:
- '[close]'
- '[player] tokenmessage'
right_click_commands:
- '[close]'
- '[player] tokenmessage'
 
Status
This thread has been locked.
Top