Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
/ Minix Public archive

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

License

Notifications You must be signed in to change notification settings

DaRacci/Minix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
DaRacci
Dec 14, 2022
72bdcd3 Β· Dec 14, 2022
Oct 6, 2022
Dec 14, 2022
Dec 8, 2022
Apr 4, 2022
Oct 8, 2022
Nov 12, 2022
Oct 8, 2022
Dec 14, 2022
Feb 12, 2022
Nov 4, 2022
Nov 28, 2022
Jul 11, 2022
Dec 14, 2022
Feb 12, 2022
Feb 12, 2022
Oct 1, 2022
Oct 7, 2022

Repository files navigation

IMG

Minix

NOTE: Minix is undergoing a large scale refactor and with release 5.0.0 there will be many many breaking changes.

GitHub Workflow Status Maven metadata URL

CodeFactor Grade Maintainability Lines Code Climate issues

Servers Players

Minix is library written for purpur based plugins, providing full integration with KotlinX Coroutines for easy Async integration with the Bukkit API.

Plugin Information

  • Supports 1.19.2

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
                }
            }
        ]
    }
]

Plans

  • Support for plain spigot by disabling some functionality.

🀝 Contributing

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

πŸ“ License

Copyright Β© 2021-2022 Racci
This project is licensed.

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.