Giter Site home page Giter Site logo

hartl3y94 / minix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from daracci/minix

0.0 0.0 0.0 40.61 MB

Spigot Library for quick, easy and performance friendly plugins. Written in Kotlin and using Coroutines and ASYNC methods

License: GNU General Public License v3.0

Shell 0.19% Java 3.00% Kotlin 96.81%

minix's Introduction

IMG

Minix

GitHub branch checks state Maven metadata URL

Codacy grade Codacy coverage Lines Code Climate issues

Modrinth Game Versions Servers Players

Minix is the most advanced and performant framework to build plugins on!
With full in depth support for kotlin coroutines and many useful utilities and quality of life features for developers.
Minix makes developing performant, non-blocking code easy and concise.

Minix is currently in a state of heavy development for the upcoming 5.0.0 release, all features are subject to change and may not be fully documented.

Coming from version 4.x.x to 5.0.0 will require a lot of code changes, please be aware of this before starting development before the release of version 5.0.0.

Docs

*The docs can be found here

Plugin Information

Minix is a standalone plugin, so it can provide all of its features, this means you will have to install it on the server with your plugin, to depend on Minix add it as a dependency in your plugin.yml:

depend:
  - Minix

Getting started:

repositories {
        maven("https://repo.racci.dev/releases/")
}
dependencies {
    compileOnly("dev.racci:Minix:tag")
}

Replace tag with a release tag, eg 1.0.0.

Features

Plugin Updater

Using the minix-updater is very easy however it does need to be configured. Using the format below you can easily configure the updater. Note that when using more than one provider only the first one will be used unless it fails multiple times. In this case it will traverse down the list and if none of them work, disable that updater.

When an update is found and is downloaded, a backup will be created of the current state and placed in plugins/Minix/MinixUpdater

Format

plugin-updaters=[
    {
        channels=[release]  # What release channels to update to options: [release, alpha, beta, snapshot]
        ignored=[]          # Any folders which should be ignored when backing up for an update
        name=Minix          # The name of the plugin this must be the same as what is in the `/plugins` output
        update-mode=UPDATE  # How to update the plugin options: [UPDATE, CHECK, DISABLED]
        providers=[
            {
                AlwaysUpdateProvider {
                    downloadUrl=api.example.com/download/
                    fileName=file.jar
                    releaseType=RELEASE
                }
            },
            {
                BukkitUpdateProvider {
                    projectID=12345
                    apiKey=12345 # Optional
                }
            },
            {
                GithubUpdateProvider {
                    projectOwner=DaRacci
                    projectRepo=Minix
                    userAgent=AGENT # Optional
                    jarSearchRegex=.*\.jar$ # Optional
                    md5SearchRegex=.*\.md5$ # Optional
                }
            },
            {
                JenkinsUpdateProvider {
                    host=jenkins.example.com
                    job=Minix
                    token=12345 # Optional
                    artifactSearchRegex=.*\.jar$ # Optional
                }
            },
            {
                SpigotUpdateProvider {
                    projectID=12345
                    fileName=file.jar # Optional
                }
            }
        ]
    }
]

๐Ÿค Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

๐Ÿ“ License

Copyright ยฉ 2021-2023 Racci
This project is licensed.

FOSSA Status

Special Thanks To

JetBrains, creators of the IntelliJ IDEA, supports Minix with one of their Open Source Licenses. IntelliJ IDEA is the recommended IDE for working with Minix or any Java / Kotlin project.

minix's People

Contributors

daracci avatar dependabot[bot] avatar renovate-bot avatar

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.