1899 Commits

Author SHA1 Message Date
Perttu Ahola
97f94e2aab granting and revoking of all privileges at once 2012-04-01 01:10:29 +03:00
Perttu Ahola
df75e1717f Add license of Lua in README.txt 2012-03-31 19:30:17 +03:00
Perttu Ahola
3478b59f33 Change default privileges from "build, shout" to "interact, shout" 2012-03-31 17:48:46 +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
e07570f6c9 Add server-side enforcement of the 'fast' privilege; also fix client checking 'fly' instead of 'fast' 2012-03-31 17:08:39 +03:00
Perttu Ahola
2e7b681288 Fix client.h getting included on the server build 2012-03-31 16:32:00 +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
80c7a5024c Fix doc/lua_api.txt 2012-03-31 14:27:04 +03:00
Perttu Ahola
c3392de87e initial_properties field in entity definition 2012-03-31 13:50:25 +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
Jonathan Neuschäfer
540d83fabf cmake: lua: use COMMON_CFLAGS
This fixes LUA_USE_DLOPEN having no effect.
2012-03-31 01:31:17 +03:00
Perttu Ahola
f311571b7b Install minetest_game without .git and other unnecessary things 2012-03-31 00:05:01 +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
5f7945a079 Make server ignore media files with unknown filename extensions 2012-03-30 22:49:44 +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
a612da8bca Fix the position of LuaEntityCAOs not getting updated at all 2012-03-30 13:55:08 +03:00
Perttu Ahola
4000fea0d3 Add minetest.get_connected_players() 2012-03-30 13:45:51 +03:00
Perttu Ahola
c8490bd7f8 Fix object visuals flashing brightly or disappearing when switching them at night 2012-03-30 13:44:48 +03:00
Perttu Ahola
8bfc8e770b Fix walking sound of other players (and other objects) 2012-03-30 13:34:25 +03:00
Perttu Ahola
0f0e3a6b90 ObjectRef:set_armor_groups() and ObjectRef:set_properties() - works on players too! 2012-03-30 13:34:21 +03:00
Perttu Ahola
090b33ec21 ObjectProperties 2012-03-30 12:51:51 +03:00
Perttu Ahola
fda8d069c9 minetest.register_chatcommand(cmd, def) 2012-03-30 01:45:23 +03:00
Perttu Ahola
8797058587 Raise the player fall damage threshold to a much more fun level 2012-03-29 23:32:56 +03:00
Perttu Ahola
4ddc0de613 Improve the look of fences 2012-03-29 22:59:43 +03:00
Kahrl
fb4b9476f3 [transformN image modifier 2012-03-29 22:58:01 +03:00
Perttu Ahola
9300510a80 Simple fix for camera blinking black when jumping into ceiling with current smaller collision box 2012-03-29 21:21:34 +03:00
Perttu Ahola
6a9dcfae91 Use GenericCAO in place of LuaEntityCAO and PlayerCAO 2012-03-29 19:42:42 +03:00
Perttu Ahola
c960ed9f90 Add GenericCAO and player armor groups, but don't use them yet 2012-03-29 16:10:11 +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
Kahrl
bbb2502894 added PlayerSAO and RemotePlayer, removed ServerRemotePlayer 2012-03-29 14:05:45 +03:00
Perttu Ahola
23011cb91b Rework tool_capabilities a bit (maxwear->uses, scale dig time according to leveldiff) 2012-03-29 13:35:20 +03:00
Perttu Ahola
8972618f69 Try a default day+night length of 20 minutes instead of 15 2012-03-29 11:41:41 +03:00
Perttu Ahola
e1c783567a Generate beaches 2012-03-29 03:44:37 +03:00
Perttu Ahola
069cd42079 Generate blobs of dirt and gravel in stone 2012-03-29 02:23:59 +03:00
Perttu Ahola
bb4eb5f069 Remove unnecessary debug output 2012-03-29 01:38:13 +03:00
Perttu Ahola
771c7e02e6 Area-based MapEditEvent ignore and that put to use for on_generate too 2012-03-29 01:22:08 +03:00
Perttu Ahola
5994593a0c Reduce EnvRef:set_node() time tenfold by postponing the dayNightDiff update until it is actually needed 2012-03-29 00:28:48 +03:00
Perttu Ahola
868f2594be Fix on_generate minp/maxp (was broken due to chunkymapgen) 2012-03-28 23:11:28 +03:00
Perttu Ahola
c6f1ccf309 Add EnvRef:set_node() 2012-03-28 22:50:08 +03:00
Perttu Ahola
e9909970d8 Add range option to PseudoRandom:next() 2012-03-28 22:01:23 +03:00
Perttu Ahola
a4c01db175 Add blockseed to on_generated 2012-03-28 22:01:21 +03:00
Perttu Ahola
4f9903d767 Default to having fancy trees and 3d clouds turned on 2012-03-28 14:10:54 +03:00
Perttu Ahola
0a9aee3883 Add minetest.is_singleplayer() 2012-03-28 13:22:48 +03:00
Perttu Ahola
7d89880d38 doc/lua_api.txt: minetest.get_worldpath(modname) -> minetest.get_worldpath() 2012-03-28 13:01:35 +03:00
Perttu Ahola
1a52f5273c Correctly lock mutexes when the server sends MapEditEvents (could cause memory corruption) 2012-03-28 12:51:47 +03:00
Perttu Ahola
b7f290614c No occlusion culling when free_move is on and camera is inside ground 2012-03-28 12:19:25 +03:00