-
Notifications
You must be signed in to change notification settings - Fork 0
Server
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
object Server : BlossomServer(auth = true) {
override fun preLoad() {
registerEvents()
}
override fun postLoad() {
brand = "Blossom"
}
}
Server.start(
address = "0.0.0.0",
port = 25565
)