Minix

Minix

Plugin

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.

Server LibraryManagementOptimizationUtility

109 downloads
4 followers
Createda year ago
Updateda year ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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

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-2023 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.

External resources



Project members

Racci

Owner


Technical information

Project ID