Documentation ¶
Index ¶
- func Broadcast(msg string, cmt mt.ChatMsgType)
- func BroadcastMsg(sender, text string)
- func Broadcastf(cmt mt.ChatMsgType, format string, a ...any)
- func ChatCmds() []string
- func HandleCmd(c *minetest.Client, msg string)
- func Log(str string)
- func RegisterChatCmd(name string, f func(c *minetest.Client, args []string))
- func SendMsg(c *minetest.Client, msg string, cmt mt.ChatMsgType)
- func SendMsgf(c *minetest.Client, cmt mt.ChatMsgType, format string, a ...any)
- func SetPrefix(str string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Broadcast ¶
func Broadcast(msg string, cmt mt.ChatMsgType)
func BroadcastMsg ¶
func BroadcastMsg(sender, text string)
func Broadcastf ¶
func Broadcastf(cmt mt.ChatMsgType, format string, a ...any)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.