Giter Site home page Giter Site logo

4drian3d / mckotlin Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 2.0 371 KB

Get the ability to run and develop Kotlin plugins on your Minecraft server or proxy

Kotlin 100.00%
kotlin minecraft-plugin paper-plugin sponge-plugin velocity-plugin java minecraft spigot

mckotlin's Introduction

MCKotlin

WorkFlow Latest Version Discord Modrinth Downloads GitHub Downloads

Get the ability to run and develop Kotlin plugins on your Minecraft server or proxy.

This plugin includes the necessary Kotlin libraries to the server to avoid including them independently in several plugins at the same time

Requirements

  • Java 8+

Compatibility

  • Velocity 3+
  • Sponge 8.1+
  • CraftBukkit/Spigot/Paper/forks 1.8+
  • BungeeCord/Waterfall

How to use

Server Admin

Simply install the latest version of the plugin on your server or proxy

Developers

Add MCKotlin as a dependency

Spigot

plugin.yml

depend: MCKotlin-Paper

Paper 1.19.4+

paper-plugin.yml

dependencies:
  server:
    MCKotlin-Paper:
      required: true

Velocity

@Plugin(
  id = "myplugin",
  dependencies = {
      @Dependency(id = "mckotlin-velocity")
  }
)
public class VelocityPlugin {}

Sponge

build.gradle

dependency('mckotlin-sponge') {
    version '1.4.0'
    loadOrder PluginDependency.LoadOrder.AFTER
    optional false
}

build.gradle.kts

dependency("mckotlin-sponge") {
  version("1.4.0")
  loadOrder(PluginDependency.LoadOrder.AFTER)
  optional(false)
}

Libraries included

  • Kotlin StdLib 1.9.21
  • Kotlin Reflect 1.9.21
  • KotlinX Coroutines

How does this plugin differ from other plugins such as Kotlin?

Unfortunately there are no plugins available that provide the necessary libraries to make kotlin plugins for environments like Velocity or Bungeecord. That was my motivation to develop this plugin that includes Kotlin-stlib 1.9.0 (created by Jetbrains, Apache 2 license)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.