Provides Kotlin libs and some features for building Kotlin plugins

Related tags

Kotlin KotlinPlugin
Overview

Kotlin Plugin

Provides Kotlin libs and some features for building awesome Kotlin plugins.

Can be used instead of CreeperFace's KotlinLib (don't use together!)

Included Libraries

Kotlin

Java

How to use in your plugin

Add this dependency to your plugin.yml file (required):

depend:
  - KotlinLib

Add a library dependency to your project using the examples bellow (recommended).

Make your plugin class extend KotlinPluginBase (optional).

Note: We haven't published to the maven central yet, but the snapshots are available at Sonatype OSS snapshots repository.

Gradle (Kotlin DSL)

repositories {
    maven(url="https://oss.sonatype.org/content/repositories/snapshots/")
}

dependencies {
    implementation("org.powernukkit:powernukkit:1.5.1.0-PN")
    implementation("org.powernukkit.plugins:kotlin-plugin-lib:1.5.31+0.1.0+2021.10.5-SNAPSHOT")
}

Gradle (Groovy DSL)

repositories {
    maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}

dependencies {
    implementation 'org.powernukkit:powernukkit:1.5.1.0-PN'
    implementation 'org.powernukkit.plugins:kotlin-plugin-lib:1.5.31+0.1.0+2021.10.5-SNAPSHOT'
}

Maven

<repositories>
    <repository>
        <id>sonatype-oss-snapshotsid>
        <url>https://oss.sonatype.org/content/repositories/snapshots/url>
    repository>
repositories>

<dependencies>
    <dependency>
        <groupId>org.powernukkitgroupId>
        <artifactId>powernukkitartifactId>
        <version>1.5.1.0-PNversion>
    dependency>
    <dependency>
        <groupId>org.powernukkit.pluginsgroupId>
        <artifactId>kotlin-plugin-libartifactId>
        <version>1.5.31+0.1.0+2021.10.5-SNAPSHOTversion>
    dependency>
dependencies>

Cloning and importing

  1. Just do a normal git clone https://github.com/PowerNukkit/KotlinPlugin.git (or the URL of your own git repository)
  2. Import the build.gradle.kts file with your IDE, it should do the rest by itself

Running

  1. Just do a normal git clone https://github.com/PowerNukkit/KotlinPlugin.git (or the URL of your own git repository)
  2. cd KotlinPlugin (or the name of your project)
  3. ./gradlew run

Debugging

  1. Import the project into your IDE
  2. Make your IDE run the debug gradle task in debug mode

Debuging using IntelliJ IDEA

Import the project and do this:

You might also like...
A Template for a Github Actions Pipeline for building and publishing Gradle-JVM Applications

github-actions-cd-template-jvm A Template for a Github Actions Pipeline for building and publishing Gradle-JVM Applications It build a executable shad

LifecycleMvp 1.2 0.0 Kotlin  is MVP architecture implementation with Android Architecture Components and Kotlin language features
LifecycleMvp 1.2 0.0 Kotlin is MVP architecture implementation with Android Architecture Components and Kotlin language features

MinSDK 14+ Download Gradle Add to project level build.gradle allprojects { repositories { ... maven { url 'https://jitpack.io' }

Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.
Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.

Codename One - Cross Platform Native Apps with Java or Kotlin Codename One is a mobile first cross platform environment for Java and Kotlin developers

An experimental tool for building console UI in Kotlin using the Jetpack Compose compiler/runtime

An experimental tool for building console UI in Kotlin using the Jetpack Compose compiler/runtime

A sample project that helps to start building a Mobile Kotlin Multiplatform application
A sample project that helps to start building a Mobile Kotlin Multiplatform application

Mobile Kotlin multiplatform project template A sample project that helps to start building a Mobile Kotlin Multiplatform application. It establishes a

A small DSL to make building a conversation in Bukkit easy.

Konversation Konversation provides a simple builder to construct chains of prompts to be used in the conversation API present in Bukkit. Bukkit only p

Name of your app is an android app that allows building a todo list
Name of your app is an android app that allows building a todo list

Project 1 - SimpleToDo Name of your app is an android app that allows building a todo list and basic todo items management functionality including add

A library for building Java only Zygisk/Riru modules.

A library for building Java only Zygisk/Riru modules.

Enable and customize hidden features on Android 12.
Enable and customize hidden features on Android 12.

Android 12 Extensions This is a Magisk + Xposed module that adds customization and enables hidden features on Android 12. It also includes a configura

Owner
The Nukkit you know but Powerful!
null
This library provides common speech features for ASR including MFCCs and filterbank energies for Android and iOS.

Kotlin Speech Features Quick Links ?? Introduction This library is a complete port of python_speech_features in pure Kotlin available for Android and

Merlyn Mind 13 Oct 7, 2022
A library provides some useful kotlin extension functions

ktext ?? A library provides some useful kotlin extension functions. Including in your project Gradle Add below codes to your root build.gradle file (n

热心市民苏苏仔 76 Oct 26, 2022
Com.hhvvg.anytext - An application provides features to modify any TextView in any other applications

AnyText What's this This application provides features to modify any TextView in

null 6 Dec 2, 2022
A somewhat copy past of Jetbrain's code from the kotlin plugin repo to make it humanly possible to test Intellij IDEA kotlin plugins that work on kotlin

A somewhat copy past of Jetbrain's code from the kotlin plugin repo to make it humanly possible to test Intellij IDEA kotlin plugins that work on kotlin

common sense OSS 0 Jan 20, 2022
A react-like kotlin library to create an inventory ui easily in paper plugins

A react-like kotlin library to create an inventory ui easily in paper plugins

R2turnTrue 6 Aug 23, 2022
A collection of plugins for Aliucord.

Aliucord Plugins collection Plugins for Aliucord Download Download from here AttachmentUtils Adds a context menu to attachments. Gnuify Appends "GNU/"

Xinto 65 Dec 14, 2022
BungeePluginManagerPlus - Dynamically manage your BungeeCord plugins

BungeePluginManagerPlus A plugin for BungeeCord / Waterfall that allows you to m

null 4 Jun 29, 2022
Create an application with Kotlin/JVM and Kotlin/JS, and explore features around code sharing, serialization, server- and client

Practical Kotlin Multiplatform on the Web 본 저장소는 코틀린 멀티플랫폼 기반 웹 프로그래밍 워크숍(강좌)을 위해 작성된 템플릿 프로젝트가 있는 곳입니다. 워크숍 과정에서 코틀린 멀티플랫폼을 기반으로 프론트엔드(front-end)는 Ko

SpringRunner 14 Nov 5, 2022
Create an application with Kotlin/JVM and Kotlin/JS, and explore features around code sharing, serialization, server- and client

Building a Full Stack Web App with Kotlin Multiplatform 본 저장소는 INFCON 2022에서 코틀린 멀티플랫폼 기반 웹 프로그래밍 핸즈온랩을 위해 작성된 템플릿 프로젝트가 있는 곳입니다. 핸즈온 과정에서 코틀린 멀티플랫폼을

Arawn Park 19 Sep 8, 2022
Bego Chat is chat application in Kotlin and Firebase with the following features: last seen , user status like typing ,online and last seen with MVVM pattern and clean architecture

Compose ChatApp(Bego Chat) Bego Chat is Compose chat application in Kotlin and Firebase with the following features: sending all file types and abilit

Ahmed EL Bagory 5 Dec 20, 2022