denariigames / ServerBroadcastMessage

Send server-generated message to specific player, players near specific player, or player's guild.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server Broadcast Message

ServerBroadcastMessage

Addon for MMORPG Kit to send server-generated message to specific player, players near specific player or guild of specific player.

There is no UI or config, all usage is done via code. Example usage from BasePlayerCharacterEntity:

#if UNITY_EDITOR || UNITY_SERVER
BaseGameNetworkManager.Singleton.ServerBroadcastMessage(this.Title, $"You have been killed by {attackerCharacter.Title}.", BroadcastTo.PlayerOnly);
#endif

About

Send server-generated message to specific player, players near specific player, or player's guild.


Languages

Language:C# 100.0%