Skip to content
zNotChill edited this page Sep 14, 2025 · 2 revisions

Blossom implements a custom BlossomServer class to reduce Minestom boilerplate.

Initializing the class allows you to instantiate the BlossomServer and define:

  • the name (used in logger)
  • whether or not it uses Mojang auth

BlossomServer#start allows you to start the server and define:

  • the address
  • the port

Server Example

object Server : BlossomServer(auth = true) {
    override fun preLoad() {
        registerEvents()
    }

    override fun postLoad() {
        brand = "Blossom"
    }
}

Server.start(
    address = "0.0.0.0",
    port = 25565
)

Clone this wiki locally