Skip to content

LeonidMem/BukkitInFabricM

Repository files navigation

BukkitInFabricM

BukkitInFabricM is utility mod that allows you to create Bukkit plugins in Fabric mods (I hope it's obvious that you need any connection with Bukkit in Fabric or vice versa for successful work of this mod).

It is recommended to use Toki wrapper rather than other existing solution in case if you only need mixins in Bukkit. Also, this mod was not tested on such solutions, but it probably works fine.

See also:

  • Toki — Paper fork with mixins supports
  • Toki installer — mixins supports wrapper for any existing cores like Purple, Pufferfish, etc. and also any Minecraft versions

My other repositories:

  • FastNBT — as fast as possible Bukkit library to work with NBT.
  • ORMM — light-weight ORM library to work with SQLite and MySQL.

Supported versions:

  • 1.14 — 1.19.4 requires BukkitInFabricM 0.1.1
  • 1.20+ requires BukkitInFabricM 0.1.2
  • But Fabric loader >= 0.11.0

Importing

repositories {
  maven { url 'https://mvn.smashup.ru/releases' }
}

dependencies {
  implementation 'ru.leonidm:BukkitInFabricM:0.1.2'
}

Usage

  1. Import this mod in build.gradle and add it in mods directory of your server.
  2. Update depends in mod.json like {"depends":{"bukkitinfabricm":">=0.1.2"}}.
  3. Create main class for the plugin that should extend JavaPlugin class just like in Bukkit.
  4. Create plugin.yml that must be included in the output JAR just like in Bukkit.
  5. ???
  6. Profit!

FAQ:

  • Q: Where are configs of such plugins are stored?

    A: In the directory ./mods/{pluginName}.

  • Q: Are dependencies supported?

    A: Yes! Such plugins can depend on usual ones and even vice versa.

About

Create Bukkit plugins in Fabric mods

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages