mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-04-30 17:49:20 +02:00
14 lines
305 B
Lua
14 lines
305 B
Lua
function onSay(player, words, param)
|
|
if not player:getGroup():getAccess() then
|
|
return true
|
|
end
|
|
|
|
if player:getAccountType() < ACCOUNT_TYPE_GOD then
|
|
return false
|
|
end
|
|
|
|
Game.setGameState(GAME_STATE_NORMAL)
|
|
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Server is now open.")
|
|
return false
|
|
end
|