#problem deluxemenu problem PlaceholderAPI.

1 messages · Page 1 of 1 (latest)

weak fable
#

The problem is that the icon does not update, I don't understand why so, can someone help?

#

`menu_title: "Выживание"
open_command: survival
size: 27

items:
1survival_online:
material: totem_of_undying
slot: 10
priority: 0
update: true
hide-attributes: true
display_name: "§bВыживание #1 &7[%bungee_1survival%/700]"
lore:
- "&fСтатус: §aОнлайн"
- "§a• Нажмите, чтобы играть"
view_requirement:
requirements:
server_status:
type: string equals
input: "%pinger_online_127.0.0.1:20007%"
output: "&aOnline"
maintenance:
type: string equals
input: "%maintenance_server_1survival%"
output: "&cdisabled"
left_click_commands:
- "[connect] 1survival"
- "[message] Подключение к серверу"
- "[close]"

1survival_offline:
material: totem_of_undying
slot: 10
priority: 1
update: true
hide-attributes: true
display_name: "§bВыживание #1 &7[%bungee_1survival%/700]"
lore:
- ""
- "&fСтатус: §4Офлайн"
- ""
- "§4• Сервер выключен"
view_requirement:
requirements:
server_status:
type: string equals
input: "%pinger_online_127.0.0.1:20007%"
output: "&cOffline"
left_click_commands:
- "[message] Сервер выключен"
- "[close]"

1survival_maintenance:
material: totem_of_undying
slot: 10
priority: 2
update: true
hide-attributes: true
display_name: "§bВыживание #1 &7[%bungee_1survival%/700]"
lore:
- ""
- "&fСтатус: §6Тех. работы"
- ""
- "§6• Сервер включен"
view_requirement:
requirements:
server_status:
type: string equals
input: "%pinger_online_127.0.0.1:20007%"
output: "&aOnline"
maintenance:
type: string equals
input: "%maintenance_server_1survival%"
output: "&aenabled"
left_click_requirement:
requirements:
lobby:
type: has permission
permission: admin.teh
deny_commands:
- "[message] [GalacticNexus] Вы не имете доступ войты на сервер, когда он в Тех. работах"
left_click_commands:
- "[connect] 1survival"
- "[message] Покдлючение к серверу Тех. работ"
- "[close]"`

#

And it also doesn't work when the server is on

grave kayak
#

Из-за приоритета

weak fable
#

@grave kayak Убрать его? или что?

grave kayak
#

Плагин работает в завимости от приоритета, то есть показывается то, что выше приоритетом. Вопрос в другом, проверяешь ты находясь в опке или без?

weak fable
#

Can you tell me why I am not thrown by the link - Можете подсказать почему меня не перекидывает по ссылке

eternal condor
#

?paste

foggy mesaBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
HelpChat Paste - How To Use

weak fable
foggy mesaBOT
#
Valid Config!

nob316, I checked your config and, it's valid!

+ Correctly Formatted```
eternal condor
#

🤨 fix the menu

weak fable
#

Thank you

eternal condor
# weak fable Thank you
open_command: 
register_command: false
slot: 5
size: 27
items:
  '1':
    material: PAPER
    display_name: '&a[Click Here]'
    lore:
    - '&7Click to join our Discord!'
    right_click_commands:
    - open_url: 'https://discord.com/channels/1211794082305802330/1211810831474499594'```
weak fable
#

Thank you

eternal condor
#

🙂 👍

weak fable
#

😀

#

No, it still doesn't work for some reason

eternal condor
#

what does it show when you click on it

#

oh

#

i forgot slot:

eternal condor
weak fable
eternal condor
#

update the menu

weak fable
weak fable
eternal condor
#

wait

#

its not correctly formatted

weak fable
#

Ok

#

Good luck to you, I'll be waiting

eternal condor
#
open_command: 
register_command: false
size: 27
items:
  '1':
    material: PAPER
    slot: 5
    display_name: '&a[Click Here]'
    lore:
    - '&7Click to join our Discord!'
    right_click_commands:
    - open_url: 'https://discord.com/channels/1211794082305802330/1211810831474499594'```
#

@weak fable 👆

weak fable
#

ok, Thank you

eternal condor
#

👍

weak fable
#

Perhaps I did the wrong

right_click_commands:
- open_url:

eternal condor
#

ah shit, didnt notice that

weak fable
#

It's okay

eternal condor
#

theres no such action like open url

#

what you're trying to do

weak fable
#

Is it possible to make it so that when the player clicks on an object, it would be thrown into discord?

eternal condor
#

i dont think so you can open links directly from items, though you can make it display the link in chat

weak fable
#

You can do that, but I can't put it in a word like - /broadcast {"text":"[MESSAGE] ","extra":[{"text":"Discord","color":"aqua","clickEvent":{"action":"open_url","value":"https://discord.com/channels/1211794082305802330/1211810831474499594"}}]}

eternal condor
#

no, not broadcast

#

it would send the message to every player

weak fable
#

Oh, not that, now

eternal condor
#

OR

[console] tellraw @p {"text":"Discord","color":"aqua","clickEvent":{"action":"open_url","value":"https://discord.com/channels/1211794082305802330/1211810831474499594"}}'```
weak fable
#

I'll check it now

#

Now everything works, thank you, good luck to you!

eternal condor
#

😀 👍