Skip to content

A utility library designed to simplify plugin development with Paper and Kotlin

License

Notifications You must be signed in to change notification settings

ModLabsCC/KPaper

Repository files navigation

KPaper

KPaper is a utility library designed to simplify plugin development with Paper and Kotlin. It provides Kotlin-friendly APIs and abstractions to make Paper plugin development faster, cleaner, and more enjoyable.

Installation

repositories {
    maven("https://nexus.modlabs.cc/repository/maven-mirrors/")
}

dependencies {
    implementation("cc.modlabs:KPaper:$version")
}

Example Usage

Here's a basic example of using KPaper in a plugin:

import de.joker.kpaper.event.listen
import de.joker.kpaper.main.KPlugin
import org.bukkit.event.player.PlayerJoinEvent

class MyPlugin : KPlugin() {
    override fun startup() {
        listen<PlayerJoinEvent> {
            it.player.sendMessage("Welcome to the server, ${it.player.name}!")
        }
    }
}

Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests on the GitHub repository.

Acknowledgments

  • Paper for providing the high-performance server software.
  • Fruxz for the inspiration and libraries that helped shape KPaper.

About

A utility library designed to simplify plugin development with Paper and Kotlin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages