menu-config #23

Merged
cuqmbr merged 3 commits from menu-config into develop 2025-07-24 16:37:32 +00:00
6 changed files with 70 additions and 54 deletions

View File

@ -34,7 +34,7 @@ General:
# These settings are optional as a database file is generated by default, or you can set up MySQL database connections. # These settings are optional as a database file is generated by default, or you can set up MySQL database connections.
Database: Database:
MySQL: true MySQL: false
database: 'minecraft_db' database: 'minecraft_db'
prefix: 'ij_' prefix: 'ij_'
host: 127.0.0.1 host: 127.0.0.1

View File

@ -19,9 +19,9 @@ items:
slot: 4 slot: 4
itemflags: always-give, overwrite, self-drops, death-drops itemflags: always-give, overwrite, self-drops, death-drops
triggers: join, respawn triggers: join, respawn
name: 'Menu' commands-sound: BLOCK_CHEST_OPEN
name: '&#6F8F2C&lМеню сервера'
lore: lore:
- 'lore 1' - '&7Нажмите, чтобы открыть главное меню.'
- '<blue>MiniMessage?'
interact: interact:
- 'player: menu' - 'player: menu'

View File

@ -11,7 +11,3 @@ commands:
command: links command: links
inventory: links inventory: links
permission: "zmenu.links" permission: "zmenu.links"
basic_command:
command: basic_command
inventory: basic_inventory
permission: "zmenu.basic"

View File

@ -1,55 +1,61 @@
size: 27 size: 27
name: "Main Menu > Links" name: "<color:#6F8F2C><bold>Меню</bold></color> > <color:#6F8F2C><bold>Ссылки</bold></color>"
items: items:
website: website:
slot: 10 slot: 10
item: item:
material: green_wool url: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTUwMTU0NzBlMjg2ZTRlZDc3YTAzODc2Y2JiZmQ3YjNkMzU4YTYwNjA2YjQ0NmQyYzRiYzhkOGU5YzM3M2VlOSJ9fX0=
name: "Website" name: "<color:#4EA38F><bold>Сайт</bold></color>"
lore: lore:
# - "" - "<grey>Кликните, чтобы получить ссылку в чате.</grey>"
- "Click to receive link to copy in chat." - "<grey>https://bebrashield.net</grey>"
actions: actions:
- type: sound
sound: ENTITY_EXPERIENCE_ORB_PICKUP
- type: message - type: message
messages: messages:
- "<click:OPEN_URL:https://bebrashield.net>Website: https://bebrashield.net</click>" - "<click:OPEN_URL:https://bebrashield.net><color:#EA8A46><bold>Сайт:</bold></color> <grey>https://bebrashield.net</grey></click>"
- type: close - type: close
discord: discord:
slot: 12 slot: 12
item: item:
material: purple_wool url: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzM5ZWU3MTU0OTc5YjNmODc3MzVhMWM4YWMwODc4MTRiNzkyOGQwNTc2YTI2OTViYTAxZWQ2MTYzMTk0MjA0NSJ9fX0=
name: "Discord" name: "<color:#6558F4><bold>Discord</bold></color>"
lore: lore:
# - "" - "<grey>Кликните, чтобы получить ссылку в чате.</grey>"
- "Click to receive link to copy in chat." - "<grey>https://discord.gg/xsyy7d8RfG</grey>"
actions: actions:
- type: sound
sound: ENTITY_EXPERIENCE_ORB_PICKUP
- type: message - type: message
messages: messages:
- "<click:OPEN_URL:https://discord.gg/xsyy7d8RfG>Discord: https://discord.gg/xsyy7d8RfG</click>" - "<click:OPEN_URL:https://discord.gg/xsyy7d8RfG><color:#EA8A46><bold>Discord:</bold></color> <grey>https://discord.gg/xsyy7d8RfG</grey></click>"
- type: close - type: close
telegram: telegram:
slot: 14 slot: 14
item: item:
material: light_blue_wool url: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDNkMjVkNTVjYWVkZmQ3MGVlN2YzYTgwNmFmMDAyNWYxNTNkNGJmMzRmNDFlNmVmZDQ0ZWM4ZmU3NDE5OGYzNSJ9fX0=
name: "Telegram" name: "<color:#0E93E0><bold>Telegram</bold></color>"
lore: lore:
# - "" - "<grey>Кликните, чтобы получить ссылку в чате.</grey>"
- "Click to receive link to copy in chat." - "<grey>https://t.me/+h28WP38F2_RjZjg6</grey>"
actions: actions:
- type: sound
sound: ENTITY_EXPERIENCE_ORB_PICKUP
- type: message - type: message
messages: messages:
- "<click:OPEN_URL:https://t.me/+h28WP38F2_RjZjg6>Telegram: https://t.me/+h28WP38F2_RjZjg6</click>" - "<click:OPEN_URL:https://t.me/+h28WP38F2_RjZjg6><color:#EA8A46><bold>Telegram:</bold></color> <grey>https://t.me/+h28WP38F2_RjZjg6</grey></click>"
- type: close - type: close
close: back:
slot: 16 slot: 16
item: item:
material: barrier material: arrow
name: "Back" name: "<color:#EA8A46><bold>Назад</bold></color>"
actions: actions:
- type: inventory - type: sound
inventory: main sound: ENTITY_EXPERIENCE_ORB_PICKUP
- type: back

View File

@ -1,16 +1,17 @@
size: 27 size: 27
name: "Main Menu" name: "<color:#6F8F2C><bold>Меню</bold></color>"
items: items:
servers: servers:
slot: 10 slot: 10
item: item:
material: paper material: paper
name: "Server Selection" name: "<color:#EA8A46><bold>Выбор сервера</bold></color>"
# lore: lore:
# - "" - "<grey>Список серверов с описанием и быстрым подключением.</grey>"
# - "&eMy first button with &fzMenu"
actions: actions:
- type: sound
sound: ENTITY_EXPERIENCE_ORB_PICKUP
- type: inventory - type: inventory
inventory: servers inventory: servers
@ -18,32 +19,42 @@ items:
slot: 12 slot: 12
item: item:
material: chain material: chain
name: "Links" name: "<color:#EA8A46><bold>Ссылки</bold></color>"
# lore: lore:
# - "" - "<grey>Ресурсы Бебрашилда.</grey>"
# - "&eMy first button with &fzMenu"
actions: actions:
- type: sound
sound: ENTITY_EXPERIENCE_ORB_PICKUP
- type: inventory - type: inventory
inventory: links inventory: links
donate: donate:
slot: 14 slot: 14
item: item:
material: raw_gold material: diamond
name: "Donate" name: "<color:#EA8A46><bold>Поддержать</bold></color>"
lore: lore:
- "Donate to support the server." - "<grey>Поддержите монетой, если нравится играть на сервере.</grey>"
- "Click to receive link to copy in chat." - ""
- "<grey>Все пожертвования сначала будут использованы на улучшение срвера,</grey>"
- "<grey>а уже потом на колу и чипсы разработчикам.</grey>"
- ""
- "<grey>Кликните, чтобы получить ссылку в чате.</grey>"
- "<grey>https://bebrashield.net/donate</grey>"
actions: actions:
- type: sound
sound: ENTITY_EXPERIENCE_ORB_PICKUP
- type: message - type: message
messages: messages:
- "<click:OPEN_URL:https://bebrashield.net/donate>Donate: https://bebrashield.net/donate</click>" - "<click:OPEN_URL:https://bebrashield.net/donate><color:#EA8A46><bold>Способы поддержки:</bold></color> <grey>https://bebrashield.net/donate</grey></click>"
- type: close - type: close
close: close:
slot: 16 slot: 16
item: item:
material: barrier material: barrier
name: "Close" name: "<color:#EA8A46><bold>Закрыть</bold></color>"
actions: actions:
- type: sound
sound: ENTITY_EXPERIENCE_ORB_PICKUP
- type: close - type: close

View File

@ -1,23 +1,26 @@
size: 27 size: 27
name: "Main Menu > Server Selection" name: "<color:#6F8F2C><bold>Меню</bold></color> > <color:#6F8F2C><bold>Выбор сервера</bold></color>"
items: items:
servers: servers:
slot: 10 slot: 10
item: item:
material: creeper_head material: creeper_head
name: "Survival" name: "<color:#EA8A46><bold>Выживание</bold></color>"
# lore: lore:
# - "" - "<grey>Классический опыт игры с косметическими модификациями.</grey>"
# - "&eMy first button with &fzMenu"
actions: actions:
- type: sound
sound: ENTITY_EXPERIENCE_ORB_PICKUP
- type: connect - type: connect
inventory: survival server: survival
close: back:
slot: 16 slot: 16
item: item:
material: barrier material: arrow
name: "Back" name: "<color:#EA8A46><bold>Назад</bold></color>"
actions: actions:
- type: sound
sound: ENTITY_EXPERIENCE_ORB_PICKUP
- type: back - type: back