Table of Contents

Interface ICommandSender

Namespace
Shard.Modding.SDK.Command
Assembly
Shard.Modding.SDK.dll

Something that can issue commands, receive output, and hold permissions.

public interface ICommandSender : IPermissionHolder
Inherited Members

Properties

Name

Display name of the sender (e.g. "Console").

string Name { get; }

Property Value

string

Methods

SendMessage(FormattedMessage)

Sends a client-localized message when the sender supports protocol messages.

void SendMessage(FormattedMessage message)

Parameters

message FormattedMessage

SendMessage(string)

Send a line of feedback to the sender.

void SendMessage(string message)

Parameters

message string