Commit Graph

617 Commits

Author SHA1 Message Date
Perttu Ahola 397bd5fc83
Split builtin.lua to multiple files 2022-05-21 16:07:28 +02:00
Perttu Ahola 6cd6c4c224
granting and revoking of all privileges at once 2022-05-21 16:07:27 +02:00
Perttu Ahola b54f7b1d3f
Fix authentication handler reporting failed password change while it isn't 2022-05-21 16:07:27 +02:00
Perttu Ahola bee8b5b5c9
Improve /grant and /revoke output, add /auth_reload 2022-05-21 16:07:26 +02:00
Perttu Ahola 79b596716f
Add 'fly' and 'fast' privileges and the underlying privileges-to-client system 2022-05-21 16:07:26 +02:00
Perttu Ahola b09dbe99c7
More documentation in doc/lua_api.txt 2022-05-21 16:07:26 +02:00
Perttu Ahola bcbfcfeb13
Allow group:groupname in ABM definition and implement minetest.hash_node_position() 2022-05-21 16:07:25 +02:00
Perttu Ahola f09a3a427e
Fix handling of missing auth.txt in the new handler 2022-05-21 16:07:25 +02:00
Perttu Ahola def7434226
Fix admin password handling in minetest.builtin_auth_handler.get_auth 2022-05-21 16:07:24 +02:00
Perttu Ahola 53ad7f2719
Improved teleport command 2022-05-21 16:07:24 +02:00
Perttu Ahola 79413a0d4e
Reimplement authentication handler in Lua; now we have 1) infinite privilege names, 2) minetest.register_authentication_handler() 2022-05-21 16:07:23 +02:00
Perttu Ahola 9045011c10
Add minetest.get_connected_players() 2022-05-21 16:07:23 +02:00
Perttu Ahola 54cc862b37
minetest.register_chatcommand(cmd, def) 2022-05-21 16:07:23 +02:00
Kahrl 0f0dec675b
on_joinplayer + on_leaveplayer + scriptapi_run_callbacks + bugfix
Add minetest.register_on_joinplayer and minetest.register_on_leaveplayer,
make adding new callbacks to scriptapi.cpp easier by adding
scriptapi_run_callbacks, also fix a minor bug with PlayerSAO <->
singleplayer mode interaction
2022-05-21 16:07:22 +02:00
Perttu Ahola 11a58333a1
Fix and extend minetest.after(time, func, param) 2022-05-21 16:07:22 +02:00
Perttu Ahola 71ea13a924
Add minetest.after(time, func) 2022-05-21 16:07:21 +02:00
Perttu Ahola 7db4d9d77e
Flatten share/ and user/ in the source and for the RUN_IN_PLACE build 2022-05-21 16:07:21 +02:00