refactor: page refactoring

This commit is contained in:
orewaee 2025-11-04 18:18:46 +04:00
parent f86364ccdf
commit 4e1c04784a
29 changed files with 1499 additions and 756 deletions

296
features/chat.json Normal file
View file

@ -0,0 +1,296 @@
[
{
"id": 1,
"type": "HEADING_2",
"parent_id": null,
"order": 0,
"props": {
"number": null,
"plain_text": "Функции чата\n",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": { "top": 0, "right": 0, "bottom": 0, "left": 0 }
}
},
{
"id": 3,
"type": "UNORDERED_LIST_ITEM",
"parent_id": null,
"order": 1,
"props": {
"number": null,
"plain_text": null,
"url": null,
"media_type": null,
"margin": { "top": 16, "right": 0, "bottom": 20, "left": 0 },
"padding": { "top": 0, "right": 0, "bottom": 0, "left": 0 }
}
},
{
"id": 4,
"type": "PARAGRAPH",
"parent_id": 3,
"order": 0,
"props": {
"number": null,
"plain_text": "Настройки чата. Вы можете прописать команду <yellow>/chat</yellow> и получить доступ к различным настройкам отображения уведомлений.",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": { "top": 0, "right": 0, "bottom": 0, "left": 0 }
}
},
{
"id": 5,
"type": "MEDIA",
"parent_id": 3,
"order": 1,
"props": {
"number": null,
"plain_text": null,
"url": "https://i.postimg.cc/8zY43LGB/chat-1.jpg",
"media_type": "IMAGE",
"margin": { "top": 8, "right": 0, "bottom": 8, "left": 0 },
"padding": { "top": 0, "right": 0, "bottom": 0, "left": 0 }
}
},
{
"id": 6,
"type": "PARAGRAPH",
"parent_id": 3,
"order": 2,
"props": {
"number": null,
"plain_text": "<gray>_Настройки чата выглядят так_</gray>",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 10,
"type": "UNORDERED_LIST_ITEM",
"parent_id": null,
"order": 2,
"props": {
"number": null,
"plain_text": null,
"url": null,
"media_type": null,
"margin": null,
"padding": { "top": 0, "right": 0, "bottom": 0, "left": 0 }
}
},
{
"id": 12,
"type": "PARAGRAPH",
"parent_id": 10,
"order": 0,
"props": {
"number": null,
"plain_text": "Глобальный и локальный чаты. По умолчанию вы пишите в локальный чат (100 блоков от вас). Написать в общий чат можно, добавив <yellow>!</yellow> перед сообщением. Также вы можете переключить канал командой <yellow>/channel global</yellow> и писать в глобальный чат без использования <yellow>!</yellow>. Сменить канал обратно - <yellow>/channel local</yellow>",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 16, "left": 0 },
"padding": { "top": 0, "right": 0, "bottom": 0, "left": 0 }
}
},
{
"id": 14,
"type": "UNORDERED_LIST_ITEM",
"parent_id": null,
"order": 3,
"props": {
"number": null,
"plain_text": null,
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 16, "left": 0 },
"padding": null
}
},
{
"id": 16,
"type": "PARAGRAPH",
"parent_id": 14,
"order": 0,
"props": {
"number": null,
"plain_text": "Личные сообщения. Чтобы написать игроку в лс, вам достаточно нажать на его ник в чате или воспользоваться любой удобной командой - <yellow>/msg</yellow>, <yellow>/tell</yellow> или <yellow>/pm</yellow>, либо их сокращениями - <yellow>/m</yellow> или <yellow>/t</yellow>.",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": { "top": 0, "right": 0, "bottom": 0, "left": 0 }
}
},
{
"id": 18,
"type": "UNORDERED_LIST_ITEM",
"parent_id": null,
"order": 4,
"props": {
"number": null,
"plain_text": null,
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 16, "left": 0 },
"padding": null
}
},
{
"id": 20,
"type": "PARAGRAPH",
"parent_id": 18,
"order": 0,
"props": {
"number": null,
"plain_text": "Торговый чат. Если вы хотите прорекламировать свой клан, магазин, или любую другую внутриигровую услугу - используйте <yellow>/ad</yellow> перед сообщением.",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 21,
"type": "UNORDERED_LIST_ITEM",
"parent_id": null,
"order": 5,
"props": {
"number": null,
"plain_text": null,
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 20, "left": 0 },
"padding": null
}
},
{
"id": 22,
"type": "PARAGRAPH",
"parent_id": 21,
"order": 0,
"props": {
"number": null,
"plain_text": "Репорты. При включении <yellow>“Отображения репортов игроков”</yellow> через <yellow>/chat</yellow>, у вас откроется доступ к команде <yellow>/report</yellow>. Внутри этой команды вы можете выбрать, кому написать - админам или полиции - в зависимости от того, какая у вас проблема.",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 23,
"type": "MEDIA",
"parent_id": 21,
"order": 1,
"props": {
"number": null,
"plain_text": null,
"url": "https://i.postimg.cc/Hn2nc03D/chat-2.jpg",
"media_type": "IMAGE",
"margin": { "top": 8, "right": 0, "bottom": 8, "left": 0 },
"padding": null
}
},
{
"id": 24,
"type": "PARAGRAPH",
"parent_id": 21,
"order": 2,
"props": {
"number": null,
"plain_text": "_<gray>Подсказки, доступные в /report help</gray>_",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 25,
"type": "UNORDERED_LIST_ITEM",
"parent_id": null,
"order": 6,
"props": {
"number": null,
"plain_text": null,
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 16, "left": 0 },
"padding": null
}
},
{
"id": 26,
"type": "PARAGRAPH",
"parent_id": 25,
"order": 0,
"props": {
"number": null,
"plain_text": "Фильтры. Фильтрация необходима для ограничения банвордов в чате, а также для автоматической пересылки сообщений, связанных с торговлей, в торговый чат.",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 27,
"type": "UNORDERED_LIST_ITEM",
"parent_id": null,
"order": 7,
"props": {
"number": null,
"plain_text": null,
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 28,
"type": "PARAGRAPH",
"parent_id": 27,
"order": 0,
"props": {
"number": null,
"plain_text": "Координаты. Вы можете отправить свои координаты в любой из чатов, добавив <yellow>:loc:</yellow> в свое сообщение.",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 29,
"type": "MEDIA",
"parent_id": 27,
"order": 1,
"props": {
"number": null,
"plain_text": null,
"url": "https://i.postimg.cc/4ypj4Bfb/chat-3.jpg",
"media_type": "IMAGE",
"margin": { "top": 8, "right": 0, "bottom": 8, "left": 0 },
"padding": null
}
},
{
"id": 30,
"type": "PARAGRAPH",
"parent_id": 27,
"order": 2,
"props": {
"number": null,
"plain_text": "<gray>Отправленная геолокация выглядит так</gray>",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
}
]

1
features/clan.json Normal file

File diff suppressed because one or more lines are too long

1
features/global.json Normal file

File diff suppressed because one or more lines are too long

254
features/police.json Normal file
View file

@ -0,0 +1,254 @@
[
{
"id": 0,
"type": "HEADING_2",
"parent_id": null,
"order": 0,
"props": {
"number": null,
"plain_text": "Полиция и криминал",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 16, "left": 0 },
"padding": null
}
},
{
"id": 1,
"type": "UNORDERED_LIST_ITEM",
"parent_id": null,
"order": 1,
"props": {
"number": null,
"plain_text": null,
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 16, "left": 0 },
"padding": null
}
},
{
"id": 2,
"type": "PARAGRAPH",
"parent_id": 1,
"order": 0,
"props": {
"number": null,
"plain_text": "Полицейские имеют специальную роль, которая позволяет им надевать <yellow>наручники</yellow>, использовать <yellow>полицейскую дубинку</yellow>, а также открывает доступ к ограниченному функционалу <yellow>CoreProtect</yellow>.",
"url": null,
"media_type": null,
"margin": null,
"padding": null
}
},
{
"id": 3,
"type": "MEDIA",
"parent_id": 1,
"order": 1,
"props": {
"number": null,
"plain_text": null,
"url": "https://i.postimg.cc/yNSM0bRr/Police.png",
"media_type": "IMAGE",
"margin": { "top": 8, "right": 0, "bottom": 8, "left": 0 },
"padding": null
}
},
{
"id": 4,
"type": "PARAGRAPH",
"parent_id": 1,
"order": 2,
"props": {
"number": null,
"plain_text": "<gray>Полиция в табе</gray>",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 6,
"type": "UNORDERED_LIST_ITEM",
"parent_id": null,
"order": 2,
"props": {
"number": null,
"plain_text": null,
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 7,
"type": "PARAGRAPH",
"parent_id": 6,
"order": 0,
"props": {
"number": null,
"plain_text": "Шеф полиции. Руководит работой полиции и их внутренной структурой, может создавать тюремные камеры.",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 16, "left": 0 },
"padding": null
}
},
{
"id": 10,
"type": "UNORDERED_LIST_ITEM",
"parent_id": null,
"order": 3,
"props": {
"number": null,
"plain_text": null,
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 16, "left": 0 },
"padding": null
}
},
{
"id": 11,
"type": "PARAGRAPH",
"parent_id": 10,
"order": 0,
"props": {
"number": null,
"plain_text": "Наручники. Для того, чтобы вести за собой другого игрока, полицейскому нужно нажать <yellow>Shift+ПКМ</yellow> по игроку с поводком в руках.",
"url": null,
"media_type": null,
"margin": null,
"padding": null
}
},
{
"id": 12,
"type": "UNORDERED_LIST_ITEM",
"parent_id": null,
"order": 4,
"props": {
"number": null,
"plain_text": null,
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 16, "left": 0 },
"padding": null
}
},
{
"id": 13,
"type": "PARAGRAPH",
"parent_id": 12,
"order": 0,
"props": {
"number": null,
"plain_text": "Полицейская дубинка. Полицейский может выдать себе дубинку командой <yellow>/givebaton</yellow>. Удар по игроку такой дубинкой сильно замедлит его и снимет элитры, если они были экипированы.",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 14,
"type": "UNORDERED_LIST_ITEM",
"parent_id": null,
"order": 5,
"props": {
"number": null,
"plain_text": null,
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 16, "left": 0 },
"padding": null
}
},
{
"id": 16,
"type": "PARAGRAPH",
"parent_id": 14,
"order": 0,
"props": {
"number": null,
"plain_text": "Тюрьма. При нарушении игровых законов вы можете быть посажены в тюрьму на определенное время. Полицейскому нужно находится в <yellow>3 блоках</yellow> от игрока и ввести команду <yellow>/jail <ник> <время> <причина></yellow>. ",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 17,
"type": "PARAGRAPH",
"parent_id": 14,
"order": 1,
"props": {
"number": null,
"plain_text": "_<gray>В случае, если игрок сбежал из тюрьмы используя какие-либо баги или игровые уязвимости, полицейский может отправить его обратно в камеру используя команду</gray> <yellow>/rejail</yellow>._",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 18,
"type": "UNORDERED_LIST_ITEM",
"parent_id": null,
"order": 6,
"props": {
"number": null,
"plain_text": null,
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 19,
"type": "PARAGRAPH",
"parent_id": 18,
"order": 0,
"props": {
"number": null,
"plain_text": "Маски. Надев маску <yellow>(вырезанную тыкву)</yellow> на голову, вы можете скрыться от преследования. Она скроет ваш ник на онлайн карте и изменит его на <yellow>“Аноним”</yellow> для всех, кто нажмет по вам <yellow>ПКМ</yellow>.",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 20,
"type": "MEDIA",
"parent_id": 18,
"order": 1,
"props": {
"number": null,
"plain_text": null,
"url": "https://i.postimg.cc/Kjj9WbjY/police-2.jpg",
"media_type": "IMAGE",
"margin": { "top": 8, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 21,
"type": "PARAGRAPH",
"parent_id": 18,
"order": 2,
"props": {
"number": null,
"plain_text": "<gray>Сокрытие никнейма</gray>",
"url": null,
"media_type": null,
"margin": null,
"padding": null
}
}
]

View file

@ -0,0 +1,58 @@
[
{
"id": 0,
"type": "HEADING_2",
"parent_id": null,
"order": 0,
"props": {
"number": null,
"plain_text": "Стримерский плагин",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 16, "left": 0 },
"padding": null
}
},
{
"id": 1,
"type": "PARAGRAPH",
"parent_id": null,
"order": 1,
"props": {
"number": null,
"plain_text": "Администрация может выдать стримеру <yellow>роль</yellow>, а также привязать к нему до <yellow>2ух Twitch каналов</yellow>. В случае, если стример начнет трансляцию - все игроки получат <yellow>уведомление</yellow> в чате. Также, вовремя трансляции над стримером будет <yellow>соответствующая иконка.</yellow>",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
},
{
"id": 2,
"type": "MEDIA",
"parent_id": null,
"order": 2,
"props": {
"number": null,
"plain_text": null,
"url": "/api/assets/twitch-1.png",
"media_type": "IMAGE",
"margin": { "top": 8, "right": 0, "bottom": 8, "left": 0 },
"padding": null
}
},
{
"id": 3,
"type": "PARAGRAPH",
"parent_id": null,
"order": 3,
"props": {
"number": null,
"plain_text": "<gray>_Иконка и уведомление_</gray>",
"url": null,
"media_type": null,
"margin": { "top": 0, "right": 0, "bottom": 0, "left": 0 },
"padding": null
}
}
]