Skip to content

Paperhive 0.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Nov 19:12

The first release of Paperhive: many Paper servers in one JVM.

Downloads

  • paperhive-0.1.0.jar: the host. Put it in an empty folder and run java -jar paperhive-0.1.0.jar; it writes a
    paperhive.yml to edit. Needs Java 21 (Java 25 if the hive runs a Velocity proxy).
  • paperhive-velocity-0.1.0.jar: the Velocity plugin, for a proxy running outside the hive. A proxy inside
    the hive (Software: velocitymc) gets it automatically.

Plugin developers: everything is on https://maven.abdullahcxd.org/releases as org.abdullahcxd.paperhive:*:0.1.0,
plus the Gradle plugin. See Getting started.

What's in it

  • Server instances in one JVM, each with its own class loader, folder, console, logs and System.exit, started,
    stopped and restarted from one console.
  • One config (paperhive.yml): servers, ports, roots, plugins, arguments, autostart, crash restarts, per-server
    Software and Version.
  • Paper and Velocity in the same hive; the proxy registers the hive's servers by itself.
  • Hive API: servers, events, messaging (channels, request/reply services), shared data and namespaced keys.
  • Hive plugins: one jar with a host half and a server half (HiveBukkitPlugin), with hive-aware Bukkit events
    (PlayerJoinHiveEvent, PlayerLeaveHiveEvent, ...) and utilities (on(...), ItemBuilder, Cooldowns,
    getConfig(), ...).
  • Shared plugins, memory and crash watching, leak checks when a server stops.
  • Gradle plugin that sets up a Hive plugin project and runs it in a dev hive.

Documentation: https://paperhive.abdullahcxd.org


Note

This release includes AI-generated content: parts of the code, tests, documentation and artwork were written with
the help of an AI assistant and reviewed by the maintainer.