MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / SystemMessage

Method SystemMessage

server/player/player.go:214–216  ·  view source on GitHub ↗

SystemMessage sends a system message (unsigned) to the player

(msg text.TextComponent)

Source from the content-addressed store, hash-verified

212
213// SystemMessage sends a system message (unsigned) to the player
214func (p *Player) SystemMessage(msg text.TextComponent) error {
215 return p.WritePacket(&play.SystemChatMessage{Content: msg})
216}
217
218// sendCommandGraph sends the command graph to the player
219func (p *Player) sendCommandGraph() error {

Callers

nothing calls this directly

Calls 1

WritePacketMethod · 0.80

Tested by

no test coverage detected