This is an ELUNA script for Azerotcore, utilizing the latest Eluna Lua Engine or Lua modules. The Lua script uses webhooks to transfer information about connected characters to a specified Discord channel. It is compatible with Trinity Core, Mango, and similar cores.
- First, create a webhook on your Discord server.
- Modify the Lua script
CharactersArrival.lua
:- Replace
Replace
with your webhook URL.- Lua:
local playerJoinWebhookURL = "Replace" -- Your Discord webhook link local language = "enUS" -- Set the language to "ruRU" or "enUS" local porterAvatarURL = "Replace" -- Link to the image for your bot
- Lua:
- Replace
- Place the
CharactersArrival.lua
file in yourCore/lua_scripts
folder.
- Reload the server or use the command
.reload eluna
. - Information about characters entering the world will be automatically sent to the specified Discord channel.
Feel free to reach out for assistance or feedback!
Это скрипт ELUNA для Azerotcore, использующий новейший движок Eluna Lua Engine или модули Lua. Скрипт Lua использует вебхуки для передачи информации о подключившихся персонажах на указанный канал Discord. Он совместим с Trinity Core, Mango и другими подобными ядрами.
- Сначала создайте вебхук на своем сервере Discord.
- Измените скрипт Lua
CharactersArrival.lua
:- Замените
Replace
на ваш URL-адрес веб-перехватчика.- Lua:
local playerJoinWebhookURL = "Заменить - Replace" -- Ссылка на ваш Discord webhook local language = "ruRU" -- Установите язык на "ruRU" или "enUS" local porterAvatarURL = "Заменить - Replace" -- Ссылка на изображение для вашего бота
- Lua:
- Замените
- Поместите
CharactersArrival.lua
файл в своюCore/lua_scripts
папку.
- Перезагрузите сервер или используйте команду
.reload eluna
. - Информация о персонажах, зашедших в мир, будет автоматически передаваться на указанный канал Discord.
Не стесняйтесь обращаться за помощью или отзывами!