Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.
RedMagic edited this page May 22, 2024 · 1 revision

Inside the spigot API there is a base system to send messages inside of console. I wanted to make it quicker to do this.

Info

A info message is a message that can be used to send information. (See below)

sendLog("Hello")

Are are also able to send multiple message by sending a list. (See below)

sendLog(listOf("line1", "line2"))

Warning

A warning message is a message that should be used to send messages when something went wrong but it didn't break anything. (See below)

sendWarning("Warning")

As same a normal message you can send a list to. (See below)

sendWarning(listOf("Warning1", "Warning2"))

Error

A errir message should only be send if something went wrong and the plugin won't run without. (See below)

sendError("Error")

And again you can send it as a list

sendError(listOf("Error1", "Error2"))
Clone this wiki locally