addToSentMessageHistory

fun addToSentMessageHistory(index: Int = -1, message: String)

Adds a message to the player's chat history. This allows the message to show up for the player when pressing the up/down keys while in the chat gui

Parameters

index

the index to insert the message

message

the message to add to chat history

Sources

Link copied to clipboard