aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/chat.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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