297 Commits

Author SHA1 Message Date
Perttu Ahola
414c84df64 Check whether node is known before reading definition in __builtin:item:on_step() 2012-07-21 16:36:14 +03:00
Calinou
6bb059ec5c Message cleanups (consistency) and prevent /me when not allowed to shout 2012-07-21 02:27:58 +03:00
darkrose
70eb75cb29 Handle nil placer as it might occur when using minetest.env:place_node. (Uberi) 2012-07-21 02:27:46 +03:00
Perttu Ahola
e48d1b54bc Fix /setpassword and /clearpassword 2012-06-16 23:35:11 +03:00
Perttu Ahola
1bf95a078a Remove tiles and special_tiles from node definition prototype because otherwise the old names can't be used 2012-06-16 18:02:26 +03:00
Perttu Ahola
fc3ebc5509 Update field names to non-deprecated ones in node definition prototype 2012-06-16 17:05:21 +03:00
Perttu Ahola
3946557a18 Node placement client-side prediction 2012-06-10 12:46:48 +03:00
Perttu Ahola
5aaf703021 Don't deprecate minetest.register_on_placenode and minetest.register_on_dignode 2012-06-08 01:51:23 +03:00
Perttu Ahola
a1304d4c88 Add minetest.serialize() and minetest.deserialize() 2012-06-07 00:05:00 +03:00
Perttu Ahola
d27ed7becb place_node, dig_node and punch_node; an in-game tester tool; remove old code 2012-06-05 23:10:07 +03:00
darkrose
c68300df20 Add can_dig callback 2012-06-03 22:31:02 +03:00
Perttu Ahola
2b6e1d9378 Add ObjRef:is_player() and modify ObjRef:get_player_name() to always return a string to aid better inter-object compatibility of code that assumes objects to be players 2012-06-03 22:31:01 +03:00
Perttu Ahola
55ae48ff63 Implement locked chest; add after_place_node and after_dig_node node callbacks 2012-06-03 22:31:01 +03:00
Perttu Ahola
242091e336 on_metadata_inventory_{move,offer,take} 2012-06-03 22:31:01 +03:00
Perttu Ahola
09c48e831d Random node metadata things 2012-06-03 22:31:00 +03:00
Perttu Ahola
bb6ee5d0b2 Attempt to begin to implement chests and furnace in Lua (with problems) 2012-06-03 22:31:00 +03:00
Perttu Ahola
95610290ec Take out the "Privileges of foo are hidden from you." response of /privs 2012-05-19 12:42:55 +03:00
Perttu Ahola
1f97b2641d Fix executing register_chatcommand-defined commands even in the middle of a chat line 2012-04-13 17:20:48 +03:00
Perttu Ahola
0062d3eb0e basic_privs to allow granting/revoking interact_extra too 2012-04-10 00:41:28 +03:00
Perttu Ahola
c8ac53f271 Support static_spawnpoint setting 2012-04-09 23:32:13 +03:00
Perttu Ahola
eeb87ed9a2 Allow redefining minetest.item_place and the like 2012-04-09 21:14:16 +03:00
Perttu Ahola
0d6499dcf8 Add basic_privs privilege 2012-04-09 18:57:41 +03:00
Perttu Ahola
d1f338cb7e Improve doc/lua_api.txt and add minetest.get_item_group(name, group) 2012-04-09 12:36:25 +03:00
Perttu Ahola
fa737f5dda Fix unable to join server first time with a password 2012-04-09 11:24:35 +03:00
Perttu Ahola
d070ceeda3 minetest.get_node_group(name, group) 2012-04-08 18:39:55 +03:00
Perttu Ahola
d0caa6aa1f Fix super-small size of regular item entities 2012-04-04 22:57:29 +03:00
Perttu Ahola
624b33cdb5 Fix dropped nodeitem visuals 2012-04-04 13:16:09 +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
694b981c14 Remplement and improve /setting in Lua, now called /set 2012-04-01 13:08:52 +03:00
Perttu Ahola
361b62fa3a Don't allow /granting unknown privileges 2012-04-01 12:45:38 +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