I've added code to only send the Welcomer disconnect message to a select group of users determined by umod group membership but now cannot figure out how to duplicate the custom icon functionality from Server.Broadcast
private void BroadcastLeft(string message, ulong playerId, params object[] args)
{
foreach (var player in players.Connected) {
if (player.BelongsToGroup("customgroup")) {
player.Message(message, null, playerId);
}
}
}
This works but I don't know what to put into or replace player.Message(message, null, playerId); so I can customize the icon. All the examples I've found were not helpful or my search fu is bad