Skip to content

Repository files navigation

ひとり (一人)

hitori - "alone" (adverb) from japanese

hitori is a server-side framework for Minecraft based on the PaperMC plugin.
The main goal of hitori is to implement reloadable modules to simplify and speed up the development process.

How it works?

The main problem with reloading in Java is removing old classes from runtime. This problem can be solved by creating new ClassLoader each time module loads, and removing old one before reloading.\

Of course, anything loaded and registered by module in runtime must be disabled/unregistered before removing classes from RAM.
This is what hitori tries to do by providing an API for registering such things.

Main features

  • Modules
  • Safe bukkit listeners and commands (via CommandAPI) registration
  • More convenient logging system for modules
  • Many utils regarding I/O, tasks scheduling with Folia support, creating YAML configurations, etc.

Usage

You can get a jar from Actions tab. hitori is built almost every commit.
Also, you can get module from Releases (if there's any).

After downloading the jar, just put it into plugins folder.

API

Note

We DO NOT include Paper API in our .pom, so you should add it by yourself.

maven
<repository>
    <id>modoru-releases</id>
    <name>modoru repository</name>
    <url>https://repository.modoru.fun/releases</url>
</repository>
<dependency>
    <groupId>su.hitori</groupId>
    <artifactId>hitori</artifactId>
    <version>1.2.1</version>
</dependency>
gradle
maven {
    name = "modoruReleases"
    url = uri("https://repository.modoru.fun/releases")
}
implementation("su.hitori:hitori:1.2.1")

Credits

justlofe - lead developer and maintainer
StreamVersus - wrote several utils
suiteark - stress tester for stability testing

About

Plugin-based framework for minecraft servers

Resources

Contributing

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages