Adding EmojiHandler to handle an exploit. Adding sendemoji permission and checks.

I know, this is not something important, but I'm going through the new packets one by one and adding events developers can work with, patching exploits, and thought this could be a core permission.
This commit is contained in:
Patrikkk 2020-06-01 15:24:02 +02:00
parent 2254df21fd
commit f538ceb793
4 changed files with 38 additions and 2 deletions

View file

@ -65,7 +65,8 @@ namespace TShockAPI.DB
Permissions.canpartychat,
Permissions.cantalkinthird,
Permissions.canchat,
Permissions.synclocalarea));
Permissions.synclocalarea,
Permissions.sendemoji));
AddDefaultGroup("default", "guest",
string.Join(",",