Skip to content

How do I broadcast a message to the server with a plugin #2994

Answered by sgkoishi
Mooshay105 asked this question in Q&A
Discussion options

You must be logged in to vote

Try TShockAPI.Utils.Instance.Broadcast(args.Parameters[0]);.
Command args will be split, so it might be better to check if args.Parameters.Count > 0 before [0]

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Mooshay105
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants