mt-mods / beerchat

beerchat mod for minetest
GNU Lesser General Public License v3.0
9 stars 7 forks source link

Refactor player muting #92

Closed S-S-X closed 1 year ago

S-S-X commented 1 year ago

Functionality to mute player has been causing small issues and require workarounds with event ecosystem.

Muting should probably be integrated into events instead of having dedicated API function to do checking and actually triggering events from there. For convenience , old direct API function of course can stay.

Doing so should also allow moving mute commands and handling away from core functionality so that muting is completely implemented in its own isolated plugin.