Advanced Chat
Fabric-мод, добавляющий в игру кучу полезных функций для многопользовательского чата.
- Загрузчики
- Fabric
- Скачиваний на Modrinth
- 19,5 тыс.
- Подписчиков на Modrinth
- 58
- версий
- 15
- Обновлён
- 15 сентября 202615 сент.
- Опубликован
- в 2022
Коротко о моде
Ставится только на сервер; игрокам ставить не нужно
AdvancedChat
Fabric-мод, добавляющий в игру кучу полезных функций для многопользовательского чата.
Возможности
Каналы чата на основе данных
Позволяет добавлять различные каналы, в которых игроки могут общаться (например, по измерениям, локальные, для персонала).
Эти каналы полностью настраиваются.
С помощью предикатов можно точно управлять тем, какие игроки получат сообщение.
Кроме того, можно использовать плейсхолдеры для настройки префикса и текста на actionbar канала.
Игнорирование игроков
Позволяет игрокам игнорировать других. Сообщения из чата от игнорируемых игроков не будут им показываться.
Также игроки не смогут отправлять личные сообщения тем, кто их игнорирует — в чате появится ошибка.
Socialspy
Поскольку этот мод добавляет новые способы личного общения, он также включает socialspy для персонала с разными режимами.
Эти режимы позволяют выбрать, за каким типом сообщений вы хотите «следить», так как все сразу может быть слишком навязчиво.
Фильтр текста
Позволяет фильтровать определённый текст, полученный от клиента: сообщения чата, команды, таблички и книги.
Основан на фильтре vanilla realms, поэтому будет работать и с другими модами, которые его используют.
Примечание: если не установлен styled-chat, сообщения фильтруются на клиенте. Это нужно для валидации.
В этом случае, если мод перенаправляет сообщения чата в системные сообщения, они НЕ будут отфильтрованы!
Поддержка модов
Этот мод имеет встроенную поддержку нескольких других модов.
Например, игроки в vanish будут учитываться при отправке сообщений и отображении получателей.
Он добавляет новый плейсхолдер, который могут использовать моды, переопределяющие чат, вроде styled-chat: %advancedchat:channelprefix%
Команды, права и конфигурация
Команды
/advancedchat save | reload— Сохраняет / Перезагружает файл конфигурации и все каналы чата.`/chat ` — Позволяет переключаться между доступными вам каналами чата.
`/chat ` — Позволяет отправить сообщение в указанный канал без переключения.
`/reply | /r ` — Отправляет личное сообщение последнему игроку, которому вы писали.
`/ignore | /unignore ` — Игнорирует / Перестаёт игнорировать указанного игрока.
/socialspy all | channel | private | none— Позволяет управлять тем, какие сообщения слежки вы хотите получать.
Права
advancedchat.command.reload— Право на использование команды reload.advancedchat.command.socialspy— Право на использование команды socialspy.advancedchat.bypass.ignore— Право обходить игнорирование.- Любое право, добавленное каналами чата на основе данных.
Конфигурация
Файл конфигурации находится по пути /config/advancedchat.json
{
"comment": "Before changing anything, see https://github.com/Wesley1808/AdvancedChat#configuration",
// Decides if channels should display action bars.
"actionbar": true,
// Ticks between action bar updates. Very high values may cause the actionbar to lag behind in certain situations.
"actionbarRefreshRate": 40,
// If set to false, advancedchat will cancel ServerMessageEvents.CHAT_MESSAGE if the message was sent through a chat channel.
// This may help prevent some mods like discord-bridges sending (private) channel messages in a public discord channel.
"alwaysTriggerMessageEvent": false,
// Text to display when hovering over a channel prefix. By default, it shows the names of everyone that received the chat message.
// This excludes players who are either vanished or in spectator.
"hoverText": "<dark_aqua>Receivers: <dark_gray>[${receivers}]</dark_gray>",
"receiver": "<green>${player}</green>",
"selfPrefix": "<dark_gray>[<aqua>Self</aqua>]</dark_gray> ",
// Command feedback messages.
"messages": {
"switchedChannels": "<dark_aqua>Chat Mode -> <green>${channel}",
"switchedSocialSpy": "<dark_aqua>Spy Mode -> <green>${mode}",
"ignored": "<red>${player} is ignoring you.",
"ignoredPlayer": "<dark_aqua>You are now ignoring <green>${player}",
"unignoredPlayer": "<dark_aqua>You are no longer ignoring <green>${player}",
"cannotIgnoreSelf": "<red>You cannot ignore yourself!",
"alreadyIgnored": "<red>You are already ignoring ${player}!",
"notAlreadyIgnored": "<red>You aren't ignoring ${player}!",
"channelNotFound": "<red>Unable to find a channel with name '${name}'!"
},
// Socialspy related configuration.
"socialSpy": {
// If enabled, logs private messages in the server logs.
"logPrivateMessages": false,
// Decides how socialspy messages should be formatted.
"prefix": "<dark_gray>[<aqua>Spy</aqua>]</dark_gray> ",
"privateMessage": "<dark_gray>[</dark_gray>${source} <gray>→</gray> ${target}<dark_gray>]</dark_gray> <gray>${message}",
"channelMessage": "${channel}${sender} <dark_gray>»</dark_gray> ${message}"
},
// Text filter configuration.
"filter": {
// Enables the text filter.
// This is based on the vanilla realms filter, so besides messages this will also work on signs, books, etc.
"enabled": false,
// By default, messages will only be sent as filtered to a client if they have text filtering enabled.
// Setting this to true will make it filter messages regardless of the client's settings.
"forceTextFiltering": false,
// If enabled, logs whenever a message gets filtered in the server logs.
"logFilteredMessages": true,
// All the words that should be filtered.
"filteredWords": [
"bad-word",
"bad-word-2"
]
},
// Sound configuration for when a player receives a private message.
// There is also one of these for when a player receives a message from a channel.
"privateMessageSound": {
// Decides if it should play sounds for these messages.
"enabled": false,
// The identifier of the sound event.
"sound": "minecraft:block.note_block.bell",
// The volume and pitch of the sound event.
"volume": 0.5,
"pitch": 0.6
},
// An array of chat channels.
// This is where you can add, remove and modify chat channels players can use.
"channels": [
{
// The name of the channel. This is used to identify them, so don't create multiple channels with the same name.
"name": "world",
// Allows you to disable the channel without removing it entirely.
"enabled": true,
// Flag to determine if a channel is only used by staff members. Mostly used for vanish support.
"isStaff": false,
// Permission required to join this channel. Without this permission, you also won't be able to see messages in this channel.
"permission": "advancedchat.channel.world",
// The optional actionbar text and channel prefixes to display to players inside the channel.
// Both of these support placeholders.
"actionbar": "<dark_aqua>Chat Mode: <green>%world:name%",
"prefix": "<dark_gray>[<aqua>%world:name%</aqua>] ",
// An optional minecraft (JSON) predicate, that allows you to control exactly who gets to view each message.
// Supports any predicate registered through the Predicate API (https://github.com/Patbox/PredicateAPI/blob/master/BUILTIN.md).
"canSee": {
// Vanilla distance predicate except it compares the worlds aswell.
"type": "advancedchat:distance",
"value": {
// Excludes players further than 256 blocks away from the sender horizontally.
"horizontal": {
"min": 0.0,
"max": 256.0
}
}
}
}
]
}
Переведи описания модов для Minecraft с английского на русский для каталога модов.Частые вопросы
Как установить Advanced Chat?
Установите Fabric под свою версию Minecraft, скачайте Advanced Chat под ту же версию и загрузчик, положите файл в папку mods и запустите игру с профилем загрузчика.
Для каких версий Minecraft есть Advanced Chat?
У Advanced Chat есть сборки для Minecraft 1.19.3–1.21.1, 1.21.3–26.3.
Нужен ли Advanced Chat на сервере?
Ставится только на сервер; игрокам ставить не нужно