Add on_authplayer callback and 'last_login' to on_joinplayer (#9574)
authorsorcerykid <rkrause@inbox.com>
Sat, 23 May 2020 11:24:06 +0000 (06:24 -0500)
committerSmallJoker <mk939@ymail.com>
Sat, 23 May 2020 11:25:29 +0000 (13:25 +0200)
commit15ba75e4cf1d1b8ceaa9d8ce33dcfdd7dbe80741
tree482763407643cd776af9bd2c79e241969bbc644f
parent037422fdba9a47bd538480988fbf8aad67d66c85
Add on_authplayer callback and 'last_login' to on_joinplayer (#9574)

    Replace on_auth_fail callback with more versatile on_authplayer
    Better clarify account login process in Lua API documentation
    Change initial timestamp for newly registered accounts to -1
builtin/game/auth.lua
builtin/game/chat.lua
builtin/game/deprecated.lua
builtin/game/register.lua
doc/lua_api.txt
src/network/serverpackethandler.cpp
src/script/cpp_api/s_player.cpp
src/script/cpp_api/s_player.h
src/script/cpp_api/s_server.cpp
src/script/cpp_api/s_server.h