General Script API
  • Overview
  • Introdution
  • Standard
    • Chat
    • Reflection
  • Events
    • Introdution
    • Base Events
    • Player Events
Powered by GitBook
On this page
  • Chat.broadcast(content, permission)
  • Chat.broadcastMessage(content)
  • Chat.send(content, uuid)
  1. Standard

Chat

Chat.broadcast(content, permission)

Calls Bukkit.broadcast(message, permission)

arg (String) content The content to broadcast

arg (String) permission The permission to receive broadcasting message

Chat.broadcastMessage(content)

Calls Bukkit.broadcastMessage(content)

arg (String) content The content to broadcast

Chat.send(content, uuid)

Send message to a player

arg (String) content The content to send

arg (String) uuid The player's UUID

throws java.lang.NullPointerException when player not found or not online

PreviousIntrodutionNextReflection

Last updated 1 year ago