From bbdad37e40e24976fd41de6aeb625ba966bdeb9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Tue, 6 Oct 2026 15:40:23 +0500 Subject: [PATCH] NPC Enchanter card: hint how to place and remove the NPC Co-Authored-By: Claude Sonnet 5.5 --- changelog.d/20261006-npc-enchanter-placement-hint.md | 7 +++++++ src/i18n/locales/de.ts | 2 ++ src/i18n/locales/en.ts | 2 ++ src/i18n/locales/es.ts | 2 ++ src/i18n/locales/fr.ts | 2 ++ src/i18n/locales/ru.ts | 2 ++ src/i18n/locales/zh.ts | 2 ++ src/screens/ModulesPage.tsx | 6 ++++++ 8 files changed, 25 insertions(+) create mode 100644 changelog.d/20261006-npc-enchanter-placement-hint.md diff --git a/changelog.d/20261006-npc-enchanter-placement-hint.md b/changelog.d/20261006-npc-enchanter-placement-hint.md new file mode 100644 index 0000000..8210ab8 --- /dev/null +++ b/changelog.d/20261006-npc-enchanter-placement-hint.md @@ -0,0 +1,7 @@ +--- +area: manager +type: added +audience: admins +title: The NPC Enchanter card explains how to place and remove the NPC +--- +The card now shows the two commands: `.npc add 601015` where you stand, and `.npc delete` on the targeted NPC. diff --git a/src/i18n/locales/de.ts b/src/i18n/locales/de.ts index 601b472..04d0f8f 100644 --- a/src/i18n/locales/de.ts +++ b/src/i18n/locales/de.ts @@ -752,6 +752,8 @@ const de: Partial> = { "err.bot_modules_conflict.title": "Zwei Bot-Module sind aktiviert", "err.bot_modules_conflict.message": "Deaktiviere CoA Companions oder SQUID Playerbots unter Module vor dem Serverstart.", "mod.ahbot.setup": "Modul und Verkäufer aktivieren. Der Server legt beim ersten Start selbst einen Auktionscharakter an (Konto AHBOT), eine GUID ist nicht nötig. Ein Charakter bietet in den Auktionshäusern beider Fraktionen an. Der CoA-Filter nutzt Beute-, Händler- und Berufstabellen; Stufengrenzen gelten zusätzlich. Erfordert einen Serverbuild mit CoA-Auktionsfilter und automatischem Auktionscharakter.", + "mod.enchanter.add": "Verzauberer platzieren: Stellt euch an die gewünschte Stelle und gebt .npc add 601015 ein", + "mod.enchanter.remove": "Verzauberer entfernen: Ziel auf den NPC setzen und .npc delete eingeben", "mod.ahbot.allSettings": "Alle Auktionseinstellungen", "mod.title": "Module", "mod.intro": "Zusatzfunktionen, die im Server eingebaut sind. Schalte die gewünschten ein oder aus, öffne ihre GitHub-Seite oder ändere ihre Einstellungen.", diff --git a/src/i18n/locales/en.ts b/src/i18n/locales/en.ts index 649ae90..31bc0ac 100644 --- a/src/i18n/locales/en.ts +++ b/src/i18n/locales/en.ts @@ -771,6 +771,8 @@ const en = { "mod.ahbot.noTypes": "All types are disabled. The seller has no types to choose for new listings.", "mod.noSettings": "There are no additional settings. Use the module switch above.", "mod.ahbot.setup": "Turn on the module and the seller. The server creates its own auction character (account AHBOT) the first time it starts, so no GUID is needed. One character lists in both factions' auction houses. The CoA filter selects items from loot tables, vendors and professions; level restrictions also apply. Requires a server build with the CoA auction filter and the automatic auction character.", + "mod.enchanter.add": "Place the enchanter: stand where you want him and enter .npc add 601015", + "mod.enchanter.remove": "Remove the enchanter: target him and enter .npc delete", "mod.ahbot.allSettings": "All settings", "err.bot_modules_conflict.title": "Two bot modules are enabled", "err.bot_modules_conflict.message": "Disable CoA Companions or SQUID Playerbots in Modules before starting the server.", diff --git a/src/i18n/locales/es.ts b/src/i18n/locales/es.ts index 0ed2bd0..d362df5 100644 --- a/src/i18n/locales/es.ts +++ b/src/i18n/locales/es.ts @@ -752,6 +752,8 @@ const es: Partial> = { "err.bot_modules_conflict.title": "Hay dos módulos de bots activos", "err.bot_modules_conflict.message": "Desactiva CoA Companions o SQUID Playerbots en Módulos antes de iniciar el servidor.", "mod.ahbot.setup": "Activa el módulo y el vendedor. El servidor crea por sí mismo un personaje de subastas (cuenta AHBOT) en el primer arranque, no hace falta GUID. Un solo personaje publica en las casas de subastas de ambas facciones. El filtro CoA usa botín, vendedores y profesiones; los límites de nivel se aplican además. Requiere un servidor con filtro de subastas CoA y personaje de subastas automático.", + "mod.enchanter.add": "Colocar al encantador: ponte donde quieras y escribe .npc add 601015", + "mod.enchanter.remove": "Quitar al encantador: selecciona al PNJ y escribe .npc delete", "mod.ahbot.allSettings": "Todos los ajustes de subastas", "mod.title": "Módulos", "mod.intro": "Funciones adicionales integradas en el servidor. Activa o desactiva las que quieras, abre su página de GitHub o cambia sus ajustes.", diff --git a/src/i18n/locales/fr.ts b/src/i18n/locales/fr.ts index c482495..5ab460b 100644 --- a/src/i18n/locales/fr.ts +++ b/src/i18n/locales/fr.ts @@ -752,6 +752,8 @@ const fr: Partial> = { "err.bot_modules_conflict.title": "Deux modules de bots sont activés", "err.bot_modules_conflict.message": "Désactivez CoA Companions ou SQUID Playerbots dans Modules avant de démarrer le serveur.", "mod.ahbot.setup": "Activez le module et le vendeur. Le serveur crée lui-même un personnage d’enchères (compte AHBOT) au premier démarrage, aucun GUID n’est nécessaire. Un seul personnage met en vente dans les hôtels des ventes des deux factions. Le filtre CoA utilise le butin, les vendeurs et les métiers ; les limites de niveau s’ajoutent. Nécessite un serveur avec le filtre d’enchères CoA et le personnage d’enchères automatique.", + "mod.enchanter.add": "Placer l’enchanteur : placez-vous à l’endroit voulu et saisissez .npc add 601015", + "mod.enchanter.remove": "Retirer l’enchanteur : ciblez le PNJ et saisissez .npc delete", "mod.ahbot.allSettings": "Tous les réglages d’enchères", "mod.title": "Modules", "mod.intro": "Fonctions supplémentaires intégrées au serveur. Activez ou désactivez celles que vous voulez, ouvrez leur page GitHub ou modifiez leurs réglages.", diff --git a/src/i18n/locales/ru.ts b/src/i18n/locales/ru.ts index 6a16861..b5c88fd 100644 --- a/src/i18n/locales/ru.ts +++ b/src/i18n/locales/ru.ts @@ -769,6 +769,8 @@ const ru: Partial> = { "mod.ahbot.noTypes": "Все типы отключены. Продавцу не из чего выбирать новые лоты.", "mod.noSettings": "Дополнительных настроек нет. Используйте переключатель модуля выше.", "mod.ahbot.setup": "Включите модуль и продавца. Сервер сам создаст персонажа аукциона (аккаунт AHBOT) при первом запуске, GUID вводить не нужно. Один персонаж выставляет лоты в аукционах обеих фракций. Фильтр CoA оставляет предметы из таблиц добычи, торговцев и профессий; ограничения уровней действуют дополнительно. Нужна сборка сервера с фильтром аукциона CoA и автоматическим персонажем аукциона.", + "mod.enchanter.add": "Разместить НПС зачарователя: встаньте в нужное место и введите команду .npc add 601015", + "mod.enchanter.remove": "Удалить НПС зачарователя: возьмите НПС в цель и введите команду .npc delete", "mod.ahbot.allSettings": "Все настройки", "err.bot_modules_conflict.title": "Включены две системы ботов", "err.bot_modules_conflict.message": "Выключите CoA Companions или SQUID Playerbots в разделе «Модули» перед запуском сервера.", diff --git a/src/i18n/locales/zh.ts b/src/i18n/locales/zh.ts index 0e39bb5..a34c295 100644 --- a/src/i18n/locales/zh.ts +++ b/src/i18n/locales/zh.ts @@ -752,6 +752,8 @@ const zh = { "err.bot_modules_conflict.title": "已启用两个机器人模块", "err.bot_modules_conflict.message": "启动服务器前,请在模块中关闭CoA Companions或SQUID Playerbots。", "mod.ahbot.setup": "启用模块和卖家即可。服务器首次启动时会自动创建拍卖角色(账号AHBOT),无需填写GUID。一个角色即可在双方阵营的拍卖行上架。CoA筛选使用掉落、商人和专业物品表,等级限制另行生效。需要包含CoA拍卖筛选和自动拍卖角色的服务器版本。", + "mod.enchanter.add": "放置附魔师NPC:站在想要的位置,输入 .npc add 601015", + "mod.enchanter.remove": "删除附魔师NPC:选中该NPC,输入 .npc delete", "mod.ahbot.allSettings": "所有拍卖设置", "mod.title": "模块管理", "mod.intro": "服务器内置的可选扩展特性。可按需开关、访问其 GitHub 页面或调整独立参数。", diff --git a/src/screens/ModulesPage.tsx b/src/screens/ModulesPage.tsx index cce23bc..55a9c29 100644 --- a/src/screens/ModulesPage.tsx +++ b/src/screens/ModulesPage.tsx @@ -261,6 +261,12 @@ function ModuleSettings({ serverId, module, onSaved }: { serverId: string; modul return (
{items === null && !error && } + {module.id === "npc-enchanter" && ( +
+

{t("mod.enchanter.add")}

+

{t("mod.enchanter.remove")}

+
+ )} {module.id === "ah-bot" && (

{t("mod.ahbot.setup")}