29 Commits

Author SHA1 Message Date
ShadowNinja
a2bbc1d306 Revert "Add backtrace to error function"
This reverts commit 5b518ed2feff28c9bf21ad940c1b211b72d71bd1.

This caused duplicate tracebacks and tracebacks when unwanted.
It also ignored the level argument to error() and didn't pass the message (or level) to debug.traceback().
Use xpcall() or lua_pcall()'s errorhandler argument instead.
2014-04-24 18:27:25 -04:00
Novatux
0a96131bf4 Add forceloading 2014-01-11 17:54:00 +01:00
sapier
ac1cf4445c Add backtrace to error function 2013-09-04 12:19:26 +02:00
ShadowNinja
de5f1f9b42 Add vector helpers 2013-07-07 01:49:11 -04:00
kwolekr
2b512c6182 Add voxelarea.lua helper to builtin 2013-06-28 11:07:45 -04:00
Sfan5
3b2ff97905 Add a Way of checking for specific Feature with Lua Adds minetest.get_feature() and minetest.has_feature() 2013-05-01 15:06:01 +02:00
Ilya Zhuravlev
592087a73b Set numeric locale for Lua 2013-02-18 13:58:55 +04:00
PilzAdam
c892f18215 Move falling to builtin 2012-10-31 19:06:11 +01:00
Perttu Ahola
1b2ae34ed4 Detached inventory callbacks and reworked node metadata callbacks 2012-07-25 02:36:54 +03:00
Perttu Ahola
a1304d4c88 Add minetest.serialize() and minetest.deserialize() 2012-06-07 00:05:00 +03:00
Perttu Ahola
c8ac53f271 Support static_spawnpoint setting 2012-04-09 23:32:13 +03:00
Perttu Ahola
2fd0828881 Implement dropped items as LuaEntities; leave the old ones as is for compatibility 2012-04-01 16:06:01 +03:00
Perttu Ahola
c258746b4e Split builtin.lua to multiple files 2012-04-01 12:38:19 +03:00
Perttu Ahola
97f94e2aab granting and revoking of all privileges at once 2012-04-01 01:10:29 +03:00
Perttu Ahola
1189d035fd Fix authentication handler reporting failed password change while it isn't 2012-03-31 17:41:04 +03:00
Perttu Ahola
eab8ecd2f7 Improve /grant and /revoke output, add /auth_reload 2012-03-31 17:26:44 +03:00
Perttu Ahola
0abf89eb12 Add 'fly' and 'fast' privileges and the underlying privileges-to-client system 2012-03-31 16:25:02 +03:00
Perttu Ahola
f21491185e More documentation in doc/lua_api.txt 2012-03-31 13:08:17 +03:00
Perttu Ahola
61990555a8 Allow group:groupname in ABM definition and implement minetest.hash_node_position() 2012-03-31 12:30:11 +03:00
Perttu Ahola
5f57b76ee3 Fix handling of missing auth.txt in the new handler 2012-03-30 23:12:01 +03:00
Perttu Ahola
6b7d37c309 Fix admin password handling in minetest.builtin_auth_handler.get_auth 2012-03-30 21:25:54 +03:00
Perttu Ahola
17d398ed69 Improved teleport command 2012-03-30 20:54:57 +03:00
Perttu Ahola
e6a7e89b85 Reimplement authentication handler in Lua; now we have 1) infinite privilege names, 2) minetest.register_authentication_handler() 2012-03-30 18:42:18 +03:00
Perttu Ahola
4000fea0d3 Add minetest.get_connected_players() 2012-03-30 13:45:51 +03:00
Perttu Ahola
fda8d069c9 minetest.register_chatcommand(cmd, def) 2012-03-30 01:45:23 +03:00
Kahrl
2272917253 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
2012-03-29 14:27:09 +03:00
Perttu Ahola
f4d02a8459 Fix and extend minetest.after(time, func, param) 2012-03-27 08:17:42 +03:00
Perttu Ahola
0b73397203 Add minetest.after(time, func) 2012-03-27 00:37:31 +03:00
Perttu Ahola
9d706a0632 Flatten share/ and user/ in the source and for the RUN_IN_PLACE build 2012-03-20 00:08:00 +02:00