aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/chat.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Run on_grant and on_revoke callbacks after privs change (#11387)AFCMS2021-06-301-3/+3
| | | Callbacks were run too early. This changes the order to call after the privs are updated.
* Message for empty list output in /haspriv & /mods (#11149)Wuzzy2021-06-121-4/+14
|
* Add metatables to lua vectors (#11039)DS2021-06-041-4/+4
| | | Add backwards-compatible metatable functions for vectors.
* Fix misleading /shutdown command syntaxWuzzy2021-05-291-8/+42
|
* Clean up various misleading and/or confusing messages and texts related to ↵Wuzzy2021-03-291-24/+78
| | | | priv changes (#11126)
* Translate chatcommand delay message and replace minetest with core (#11113)HybridDog2021-03-261-6/+7
|
* Chatcommands: Show the execution time if the command takes a long time (#10472)HybridDog2021-03-131-2/+18
|
* Fix misleading chat messages of /clearobjects (#10690)Wuzzy2021-03-081-3/+5
|
* Translate builtin (#10693)Wuzzy2021-03-051-252/+295
| | | | | 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.
* Restructure teleport command code (#9706)HybridDog2021-02-241-92/+82
|
* Lua API: Add register_on_chatcommand to SSM and CSM (#7862)Elijah Duffy2020-10-031-0/+5
| | | | | | | 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.
* Chatcommand: Show help message if func returns false without messageHybridDog2020-10-031-2/+11
| | | #9440
* Change `last-login` command to show player name in output (#10263)Emojigit2020-08-061-2/+2
|
* Add on_authplayer callback and 'last_login' to on_joinplayer (#9574)sorcerykid2020-05-231-1/+1
| | | | | | 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
* Error msg if trying to teleport attached player (#9824)Wuzzy2020-05-161-0/+12
|
* Document inf value in rollback commands (#9789)Zughy2020-05-131-2/+2
|
* builtin: Correctly indicate failure in /spawnentitysfan52020-04-271-2/+3
|
* Add new command /revokeme <priv> (#9584)David Leal2020-04-261-42/+61
|
* Fix some chatcommands not returning a value (#9503)Wuzzy2020-03-141-0/+3
|
* /privs: Delimit output list of privs with commas (#9224)ANAND2019-12-201-1/+1
|
* Use a safer implementation of gsub in core.chat_format_message (#9133)ANAND2019-11-251-8/+22
| | | This search-and-replace implementation does not use Lua pattern-matching
* Improve documentation around banning (#9088)sfan52019-11-051-4/+4
| | | | | * Fix ban chatcommand description * Correct ban API documentation
* Builtin: Improve /clearobjects message (#9084)Alistair Findlay2019-11-021-2/+2
|
* Allow grep-ing for on_grant and on_revoke (#8958)DS2019-09-291-0/+2
| | | Just two code comments are added.
* Rename "private messages" to "direct messages" (#8971)Hugo Locurcio2019-09-221-3/+3
| | | | These messages can be read by server administrators, which makes them not actually private.
* Allow customizing chat message format (#8529)ANAND2019-08-081-0/+1086