Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Creating plugin

whoisamyy edited this page Dec 29, 2023 · 6 revisions

Plugin

Introduction

A plugin is a way of interacting with data sent to the server. It can be used to implement your own request processing logic, or for simple logging.


Creation

First, you need to create the project and import last version of plugin.

  • If you are using gradle

    •   implementation("io.github.whoisamyy:core:0.0.4-release")
  • If you are using maven

    •   <dependency>
            <groupId>io.github.whoisamyy</groupId>
            <artifactId>core</artifactId>
            <version>0.0.4-release</version>
        </dependency>

Compiling

For gradle:

  • gradle jar

For maven:

  • mvn jar

Importing plugin

Step 1

This step is extremely easy. It is enough just to transfer the plugin file to core/plugins and run the kernel (core.jar).

Step 2

Make sure that your plugin has been downloaded by checking the log for the presence of the package name of your plugin. If there is one, it means that the plugin has been loaded.

Step 3

Enjoy because it somehow works (without critical bugs)

Clone this wiki locally