mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-05 14:10:31 -04:00
Implement non-player recipients (#131)
* Implement non-player recipients * Add API callback specifically for players receiving mail * Exclude sender from (mailing list) recipients * Complement test * Fixup typos in complemented test * Expand aliases at toplevel if the current expansion is at toplevel This should allow players to send mail to their own aliases * Also test on_(player_)receive callbacks * Fix oversight in test case
This commit is contained in:
parent
fcca0b7511
commit
570cf788ec
7 changed files with 185 additions and 64 deletions
1
init.lua
1
init.lua
|
@ -49,6 +49,7 @@ dofile(MP .. "/storage.lua")
|
|||
dofile(MP .. "/api.lua")
|
||||
dofile(MP .. "/gui.lua")
|
||||
dofile(MP .. "/onjoin.lua")
|
||||
dofile(MP .. "/player_recipients.lua")
|
||||
-- sub directories
|
||||
dofile(MP .. "/ui/init.lua")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue