HybridDog
88b052cbea
Chatcommands: Show the execution time if the command takes a long time ( #10472 )
2021-03-13 11:18:25 +01:00
Wuzzy
c48bbfd067
Fix misleading chat messages of /clearobjects ( #10690 )
2021-03-08 20:27:32 +01:00
Wuzzy
cafad6ac03
Translate builtin ( #10693 )
...
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-03-05 16:29:48 +01:00
HybridDog
92f4c68c0c
Restructure teleport command code ( #9706 )
2021-02-24 11:46:39 +01:00
Elijah Duffy
7d3641021b
Lua API: Add register_on_chatcommand to SSM and CSM ( #7862 )
...
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-03 17:38:08 +01:00
HybridDog
4b423ee9b1
Chatcommand: Show help message if func returns false without message
...
#9440
2020-10-03 17:33:43 +01:00
Emojigit
abfea69e5f
Change last-login
command to show player name in output ( #10263 )
2020-08-06 19:30:41 +02:00
sorcerykid
15ba75e4cf
Add on_authplayer callback and 'last_login' to on_joinplayer ( #9574 )
...
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-23 13:25:29 +02:00
Wuzzy
ab745685c7
Error msg if trying to teleport attached player ( #9824 )
2020-05-16 21:41:41 +02:00
Zughy
4e997e9d04
Document inf value in rollback commands ( #9789 )
2020-05-13 13:56:26 +02:00
sfan5
d3f50f216f
builtin: Correctly indicate failure in /spawnentity
2020-04-27 06:58:34 +02:00
David Leal
2fe4641c1e
Add new command /revokeme <priv> ( #9584 )
2020-04-26 21:15:05 +02:00
Wuzzy
1441281809
Fix some chatcommands not returning a value ( #9503 )
2020-03-14 15:01:22 +01:00
ANAND
ec3224dce2
/privs: Delimit output list of privs with commas ( #9224 )
2019-12-20 19:15:40 +01:00
ANAND
4b6bff46e1
Use a safer implementation of gsub in core.chat_format_message ( #9133 )
...
This search-and-replace implementation does not use Lua pattern-matching
2019-11-25 20:03:34 +01:00
sfan5
15a030ec9f
Improve documentation around banning ( #9088 )
...
* Fix ban chatcommand description
* Correct ban API documentation
2019-11-05 19:24:51 +01:00
Alistair Findlay
5f835a72b2
Builtin: Improve /clearobjects message ( #9084 )
2019-11-02 19:28:55 +01:00
DS
16865a5bf6
Allow grep-ing for on_grant and on_revoke ( #8958 )
...
Just two code comments are added.
2019-09-29 13:40:15 +02:00
Hugo Locurcio
d364b6d0a6
Rename "private messages" to "direct messages" ( #8971 )
...
These messages can be read by server administrators, which makes them
not actually private.
2019-09-22 21:48:36 +01:00
ANAND
d1c27c7e80
Allow customizing chat message format ( #8529 )
2019-08-08 17:04:46 +01:00