28 Commits

Author SHA1 Message Date
BlockMen
7df737a666 Fix crash when teleporting near unknown node 2014-04-11 21:38:16 +02:00
ShadowNinja
bf37cbf242 Remove "Server -!- " prefix from player messages 2014-02-27 00:00:22 -05:00
sapier
23c7c86bad Add minetest.kick_player(name, reason) 2014-02-03 17:33:59 -05:00
ShadowNinja
1b1e315a6a Rollback fixes and get_node_actions 2013-11-27 18:13:06 -05:00
PilzAdam
bce94e4448 Replace print()s with minetest.log() in builtin 2013-11-17 12:11:44 +01:00
PilzAdam
0070180dc4 Make sure that coordinates passed to /teleport are actual numbers 2013-07-08 13:33:14 +02:00
sapier
2dceda8890 Move scriptapi to separate folder (by sapier)
On the lua side, notably minetest.env:<function>(<args>) should now
be replaced by minetest.<function>(<args>).
The old way is and will stay supported for a long time.

Also:
Update and clean up lua_api.txt (by celeron55)
Move EnvRef to lua and remove add_rat and add_firefly (by kahrl)
Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
2013-05-25 00:51:02 +02:00
ShadowNinja
e88d39e0bb Add option to not prepend "Server -!- " to messages sent with minetest.chat_send_player() 2013-04-23 09:47:08 +03:00
ShadowNinja
bfa620c497 Add private messaging with /msg 2013-04-05 15:25:59 +02:00
0gb.us
4321d6bd01 Don't grant priveleges to non-existent players.
When accidentally misspelling a name, privileges are sometimes granted to non-existent players, leaving them with the extra privileges, but without the default privileges, if they ever join the server. This corrects that by disallowing /grant from working with invalid players. For completeness, it does the same for /revoke.
2013-03-30 21:50:07 -04:00
DannyDark
1003c71299 Log /grant and /revoke command usage 2012-11-30 22:12:21 +02:00
Anthony
0306947694 Fix server crash on /clearpassword
According to #253, using `/clearpassword` without an argument causes the server to crash from an assertion failure. I've resubmitted matttpt's patch as a pull request to aid in merging.
2012-11-20 16:45:30 +01:00
Matthew I
d812f4de81 Move chat commands to Lua and remove servercommand.{cpp,h}
Commands moved:
 /me
 /status
 /time
 /shutdown
 /ban
 /clearobjects
2012-08-12 16:45:58 +03:00
Perttu Ahola
dcfd402697 Make the rollback system VERY FUCKING GOD DAMN POWERFUL 2012-07-27 13:24:28 +03:00
Perttu Ahola
ec37061ad3 Don't track liquids for rollback because of too much log 2012-07-27 02:46:54 +03:00
Perttu Ahola
3303470fbc Experimental-ish rollback functionality 2012-07-27 02:27:18 +03:00
Perttu Ahola
992f5e5bdf Move /give, /giveme, /spawnentity and /pulverize to builtin/chatcommands.lua 2012-07-23 17:43:08 +03:00
Matthew I
64359d9cd8 Add "/mods" command to list mods to client 2012-07-22 13:36:10 +03:00
Calinou
6bb059ec5c Message cleanups (consistency) and prevent /me when not allowed to shout 2012-07-21 02:27:58 +03:00
Perttu Ahola
e48d1b54bc Fix /setpassword and /clearpassword 2012-06-16 23:35:11 +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
0d6499dcf8 Add basic_privs privilege 2012-04-09 18:57:41 +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