aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_util.h
AgeCommit message (Collapse)Author
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-10-26SAPI: Move core.get_us_time() to Util modulekwolekr
2015-10-14Refactor loggingShadowNinja
- Add warning log level - Change debug_log_level setting to enumeration string - Map Irrlicht log events to MT log events - Encapsulate log_* functions and global variables into a class, Logger - Unify dstream with standard logging mechanism - Unify core.debug() with standard core.log() script API
2015-05-16Add core.get_dir_listShadowNinja
2015-05-16Add core.request_insecure_environment()ShadowNinja
2015-05-16Add core.mkdirShadowNinja
2014-09-20Add compression APIShadowNinja
2014-05-08Use "core" namespace internallyShadowNinja
2014-05-07Organize builtin into subdirectoriesShadowNinja
2013-12-18Add 'minetest.write_json'ShadowNinja
2013-11-29Fix modstore/favourites hang by adding asynchronous lua job supportsapier
2013-09-10Allow non-string arguments for minetest.is_yes()PilzAdam
2013-09-10Add Settings interface for LuaPilzAdam
2013-09-02Add minetest.parse_json, engine.parse_jsonKahrl
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl