#can someone help?
1 messages · Page 1 of 1 (latest)
https://wiki.helpch.at/helpchat-plugins/deluxemenus/options-and-configurations/requirements#string-equals-ignore-case
Make sure the requirement type is one listed here, try using type: 'string equals ignorecase'
Oh 🤔 What are you trying to do?
just a toggle for team pvp
menu_title: 'Teams'
size: 27
open_command:
- test
register_command: true
items:
team_pvp_enabled:
material: DIAMOND_SWORD
display_name: 'BFF00&lTEAM PVP'
slot: 11
priority: 1
lore:
- "&7Description"
- ""
- "&6Information:"
- "&fWant to disable team pvp?"
- "&fDisable it by clicking here."
- ""
- "BFF00♦ &fStatus: BFF00Enabled"
- ""
- "&#FF0000✘ &l&nCLICK&r &#FF0000to Disable!"
view_requirement:
requirements:
team_pvp_enabled:
type: 'string equals ignorecase'
input: '%betterteams_pvp%'
output: 'true'
left_click_commands:
- '[player] team pvp'
- '[refresh]'
team_pvp_disabled:
material: NETHERITE_SWORD
display_name: '&#FF0000&lTEAM PVP'
slot: 11
priority: 2
lore:
- "&7Description"
- ""
- "&6Information:"
- "&fWant to enable team pvp?"
- "&fEnable it by clicking here."
- ""
- "&#ff0000♦ &fStatus: &#ff0000Disabled"
- ""
- "BFF00✔ &l&nCLICK&r BFF00to Enable!"
view_requirement:
requirements:
team_pvp_disabled:
type: 'string equals ignorecase'
input: '%betterteams_pvp%'
output: 'false'
left_click_commands:
- '[player] team pvp'
- '[refresh]'
Looks fine, is it that delay that's happening sometimes when you click?
could it be because server is hosted on my pc