@file:ScriptInfo(
name = "Hello Allay",
description = "Test kotlin script for Allay.",
authors = ["Cdm2883"],
)
import org.allaymc.api.eventbus.event.player.PlayerJoinEvent
println("Hello world from Kotlin Scripting!")
Server.getInstance().eventBus.registerListenerFor(PlayerJoinEvent::class.java) { event ->
println("Hello my friend ${event.player.displayName}!")
}
generated from Cdm2883/gradle-multi-module-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
MineBuilders/allaymc-kts-host
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Load Kotlin Scripts in Allay!
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published