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

@ -468,6 +468,9 @@ namespace TShockAPI
[Description("Player can resync themselves with server state.")]
public static readonly string synclocalarea = "tshock.synclocalarea";
[Description("Player can send emotes.")]
public static readonly string sendemoji = "tshock.sendemoji";
#endregion
/// <summary>
/// Lists all commands associated with a given permission