добавлены скрипты eluna в докер контейнер
This commit is contained in:
@@ -24,7 +24,6 @@
|
|||||||
/src/server/scripts/Custom/*
|
/src/server/scripts/Custom/*
|
||||||
!/src/server/scripts/Custom/README.md
|
!/src/server/scripts/Custom/README.md
|
||||||
|
|
||||||
/*.override.yml
|
|
||||||
/*.override.yaml
|
/*.override.yaml
|
||||||
|
|
||||||
!.gitkeep
|
!.gitkeep
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
services:
|
||||||
|
ac-worldserver:
|
||||||
|
volumes:
|
||||||
|
- ./lua_scripts:/azerothcore/lua_scripts
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
local PLAYER_EVENT_ON_LOGIN = 3
|
||||||
|
|
||||||
|
local function OnLogin(event, player)
|
||||||
|
player:SendBroadcastMessage("Eluna greetings you")
|
||||||
|
end
|
||||||
|
|
||||||
|
RegisterPlayerEvent(PLAYER_EVENT_ON_LOGIN, OnLogin)
|
||||||
Reference in New Issue
Block a user