]> git.lizzy.rs Git - minetest.git/blobdiff - src/script/lua_api/l_server.h
Add server side ncurses terminal
[minetest.git] / src / script / lua_api / l_server.h
index e14bef043a8a1005d065036808894b9f4a413bf8..06a5ddc24d23a66e229864f0d1722c770d20b314 100644 (file)
@@ -46,6 +46,9 @@ class ModApiServer : public ModApiBase {
        // the returned list is sorted alphabetically for you
        static int l_get_modnames(lua_State *L);
 
+       // print(text)
+       static int l_print(lua_State *L);
+
        // chat_send_all(text)
        static int l_chat_send_all(lua_State *L);
 
@@ -88,6 +91,12 @@ class ModApiServer : public ModApiBase {
        // notify_authentication_modified(name)
        static int l_notify_authentication_modified(lua_State *L);
 
+       // get_last_run_mod()
+       static int l_get_last_run_mod(lua_State *L);
+
+       // set_last_run_mod(modname)
+       static int l_set_last_run_mod(lua_State *L);
+
 #ifndef NDEBUG
        //  cause_error(type_of_error)
        static int l_cause_error(lua_State *L);