aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_server.h
AgeCommit message (Collapse)Author
2022-05-02Async environment for mods to do concurrent tasks (#11131)sfan5
2021-11-26Implemented disconnect_player (#10492)Corey Powell
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-10-05Add get_server_max_lag() (#11671)Wuzzy
2021-09-09Dynamic_Add_Media v2 (#11550)sfan5
2021-08-28Async-related script cleanupssfan5
2021-02-01Revise dynamic_add_media API to better accomodate future changessfan5
2020-06-13Server pushing media at runtime (#9961)sfan5
2017-08-17C++ modernize: Pragma once (#6264)Loïc Blot
* Migrate cpp headers to pragma once
2017-05-03Sound API: Add fading soundsBrandon
2017-04-27Allow scripts to get the client protocol version in non-debug builds. (#5649)red-001
2017-04-23Player data to Database (#5475)Loïc Blot
* Player data to Database Add player data into databases (SQLite3 & PG only) PostgreSQL & SQLite: better POO Design for databases Add --migrate-players argument to server + deprecation warning * Remove players directory if empty
2017-04-22lua: remove core.cause_error call (#5637)Loïc Blot
it was used in minimal to trigger core crash, not very useful
2017-04-07Pass clang-format on 14 trivial header files fixesLoic Blot
Also remove them from whitelist
2016-11-02Add minetest.get_server_uptime() function to Lua API (#4702)Brandon
Add minetest.get_server_uptime() function to Lua API
2015-11-06Add server side ncurses terminalest31
This adds a chat console the server owner can use for administration or to talk with players. It runs in its own thread, which makes the user interface immune to the server's lag, behaving just like a client, except timeout. As it uses the same console code as the f10 console, things like nick completion or a scroll buffer basically come for free. The terminal itself is written in a general way so that adding a client version later on is just about implementing an interface. Fatal errors are printed after the console exists and the ncurses terminal buffer gets cleaned up with endwin(), so that the error still remains visible. The server owner can chose their username their entered text will have in chat and where players can send PMs to. Once the username is secured with a password to prevent anybody to take over the server, the owner can execute admin tasks over the console. This change includes a contribution by @kahrl who has improved ncurses library detection.
2015-08-12SAPI: Track last executed mod and include in error messageskwolekr
2015-07-23Optional reconnect functionalityest31
Enable the server to request the client to reconnect. This can be done with the now extended minetest.request_shutdown([reason], [reconnect]) setting.
2014-08-23Add lua exception handling test codesapier
Catch some error situations when mod used without thinking about it
2014-04-08Cleanup client init states by bumping protocol versionsapier
Don't use TOSERVER_RECEIVED_MEDIA but TOSERVER_CLIENT_READY as indicatio for client ready Handle clients with protocol version < 23 (almost) same way as before Make client tell server about it's version Add client state to not send bogus player position updates prior init complete Add access to statistics information (peer connction time,rtt,version) Fix clients standing stalled in world while preloading item visuals (new clients only) Add get_player_information to read client specific information from lua
2014-02-03Add minetest.kick_player(name, reason)sapier
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl