ShadowNinja
150c8bb108
Rollback fixes and get_node_actions
2022-05-21 16:11:21 +02:00
PilzAdam
207a6dff9f
Replace print()s with minetest.log() in builtin
2022-05-21 16:11:18 +02:00
PilzAdam
65702a45bb
Make sure that coordinates passed to /teleport are actual numbers
2022-05-21 16:10:41 +02:00
sapier
85ae766dcb
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)
2022-05-21 16:10:34 +02:00
ShadowNinja
98bf5d2d81
Add option to not prepend "Server -!- " to messages sent with minetest.chat_send_player()
2022-05-21 16:10:32 +02:00
ShadowNinja
308902af73
Add private messaging with /msg
2022-05-21 16:10:31 +02:00
0gb.us
11f86d1def
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.
2022-05-21 16:10:29 +02:00
DannyDark
0fabe42737
Log /grant and /revoke command usage
2022-05-21 16:10:20 +02:00
Anthony
a0f937099e
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.
2022-05-21 16:10:19 +02:00
Matthew I
a70919257c
Move chat commands to Lua and remove servercommand.{cpp,h}
...
Commands moved:
/me
/status
/time
/shutdown
/ban
/clearobjects
2022-05-21 16:07:50 +02:00
Perttu Ahola
02416dc628
Make the rollback system VERY FUCKING GOD DAMN POWERFUL
2022-05-21 16:07:49 +02:00
Perttu Ahola
ebe1842d0b
Don't track liquids for rollback because of too much log
2022-05-21 16:07:49 +02:00
Perttu Ahola
5fbf87d54d
Experimental-ish rollback functionality
2022-05-21 16:07:48 +02:00
Perttu Ahola
66a549d9ea
Move /give, /giveme, /spawnentity and /pulverize to builtin/chatcommands.lua
2022-05-21 16:07:44 +02:00
Matthew I
9a002ec0b7
Add "/mods" command to list mods to client
2022-05-21 16:07:43 +02:00
Calinou
64a2c71b95
Message cleanups (consistency) and prevent /me when not allowed to shout
2022-05-21 16:07:41 +02:00
Perttu Ahola
299ce58169
Fix /setpassword and /clearpassword
2022-05-21 16:07:41 +02:00
Perttu Ahola
235ac5dae5
Take out the "Privileges of foo are hidden from you." response of /privs
2022-05-21 16:07:34 +02:00
Perttu Ahola
e50d7926d6
Fix executing register_chatcommand-defined commands even in the middle of a chat line
2022-05-21 16:07:33 +02:00
Perttu Ahola
e7654568ed
basic_privs to allow granting/revoking interact_extra too
2022-05-21 16:07:33 +02:00
Perttu Ahola
2f0ed0382e
Support static_spawnpoint setting
2022-05-21 16:07:32 +02:00
Perttu Ahola
3f3c06761a
Add basic_privs privilege
2022-05-21 16:07:32 +02:00
Perttu Ahola
e0acbf54dd
Remplement and improve /setting in Lua, now called /set
2022-05-21 16:07:29 +02:00
Perttu Ahola
aefc412901
Don't allow /granting unknown privileges
2022-05-21 16:07:28 +02:00
Perttu Ahola
397bd5fc83
Split builtin.lua to multiple files
2022-05-21 16:07:28 +02:00