aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/chat.lua
AgeCommit message (Collapse)Author
2023-02-18Say /setpassword is insecureVitra Suchovich
2022-05-29Don't allow banning in singleplayersfan5
fixes #11819
2022-05-22Add relative numbers for commands by prepending ~ (#9588)Wuzzy
* Add relative numbers for commands by prepending ~ * Some builtin code cleanup * Disallow nan and inf in minetest.string_to_area * Remove unused local variable teleportee (makes Luacheck happy) * Clean up core.string_to_pos * Make area parsing less permissive * Rewrite tests as busted tests * /time: Fix negative minutes not working Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2022-04-24Builtin: Allow to revoke unknown privilegesSmallJoker
2022-04-16Send chat error when attemping to /set a secure setting (#12193)olive
Attempting to /set a secure setting will now say that is disallowed. Previously this would shut down the server. Reading secure settings via /set is still allowed.
2022-04-01Avoid negation of comparison operator (luacheck warning)Dmitry Kostenko
2022-01-30Raise max mapgen limit constant to align with mapblock sizesfan5
2022-01-27Builtin: Sanity-check /time inputs (#11993)SmallJoker
This enforces the documented bounds for the /time command.
2021-06-30Run on_grant and on_revoke callbacks after privs change (#11387)AFCMS
Callbacks were run too early. This changes the order to call after the privs are updated.
2021-06-12Message for empty list output in /haspriv & /mods (#11149)Wuzzy
2021-06-04Add metatables to lua vectors (#11039)DS
Add backwards-compatible metatable functions for vectors.
2021-05-29Fix misleading /shutdown command syntaxWuzzy
2021-03-29Clean up various misleading and/or confusing messages and texts related to ↵Wuzzy
priv changes (#11126)
2021-03-26Translate chatcommand delay message and replace minetest with core (#11113)HybridDog
2021-03-13Chatcommands: Show the execution time if the command takes a long time (#10472)HybridDog
2021-03-08Fix misleading chat messages of /clearobjects (#10690)Wuzzy
2021-03-05Translate builtin (#10693)Wuzzy
This PR is the second attempt to translate builtin. Server-sent translation files can be added to `builtin/locale/`, whereas client-side translations depend on gettext.
2021-02-24Restructure teleport command code (#9706)HybridDog
2020-10-03Lua API: Add register_on_chatcommand to SSM and CSM (#7862)Elijah Duffy
Allows catching a chatcommand call just after the command and the parameters are parsed but before its existence is checked and before the corresponding function is run. Returning `true` from a callback function will prevent default handling of the command leaving mods to handle the command manually.
2020-10-03Chatcommand: Show help message if func returns false without messageHybridDog
#9440
2020-08-06Change `last-login` command to show player name in output (#10263)Emojigit
2020-05-23Add on_authplayer callback and 'last_login' to on_joinplayer (#9574)sorcerykid
Replace on_auth_fail callback with more versatile on_authplayer Better clarify account login process in Lua API documentation Change initial timestamp for newly registered accounts to -1
2020-05-16Error msg if trying to teleport attached player (#9824)Wuzzy
2020-05-13Document inf value in rollback commands (#9789)Zughy
2020-04-27builtin: Correctly indicate failure in /spawnentitysfan5
2020-04-26Add new command /revokeme <priv> (#9584)David Leal
2020-03-14Fix some chatcommands not returning a value (#9503)Wuzzy
2019-12-20/privs: Delimit output list of privs with commas (#9224)ANAND
2019-11-25Use a safer implementation of gsub in core.chat_format_message (#9133)ANAND
This search-and-replace implementation does not use Lua pattern-matching
2019-11-05Improve documentation around banning (#9088)sfan5
* Fix ban chatcommand description * Correct ban API documentation
2019-11-02Builtin: Improve /clearobjects message (#9084)Alistair Findlay
2019-09-29Allow grep-ing for on_grant and on_revoke (#8958)DS
Just two code comments are added.
2019-09-22Rename "private messages" to "direct messages" (#8971)Hugo Locurcio
These messages can be read by server administrators, which makes them not actually private.
2019-08-08Allow customizing chat message format (#8529)ANAND