NukkitHub
PluginsDiscover
Indexing Guide
Plugins
Indexing Guide Settings
ExamplePlugin

ExamplePlugin

Prebuilt SDKs for publishing metrics to faststats.dev

12

Links

Report issues View source

Creators

faststats-dev
faststats-devOwner
dependabot[bot]
dependabot[bot]Member
LuggaPugga
LuggaPuggaMember
NonSwag
NonSwagMember
redkeysh
redkeyshMember
renovate[bot]
renovate[bot]Member

Details

Licensed MIT
Published 2 years ago
Description

FastStats Java

Documentation: https://docs.faststats.dev/java

Building

Run Gradle from the repository root. The library modules use the standard Java lifecycle, while deployable example plugins and mods use the packaging task expected by their platform.

Libraries

Use build for the reusable FastStats libraries:

./gradlew :core:build
./gradlew :config:build
./gradlew :bukkit:build
./gradlew :bungeecord:build
./gradlew :hytale:build
./gradlew :minestom:build
./gradlew :nukkit:build
./gradlew :sponge:build
./gradlew :velocity:build

Library jars are written to each module's build/libs directory. Fabric and NeoForge compatibility artifacts are published under stable Maven artifact IDs with Minecraft range suffixes:

dev.faststats.metrics:fabric:<sdk-version>+mc26.1-26.2
dev.faststats.metrics:neoforge:<sdk-version>+mc26.1-26.2

Use checkPlatformCompat to compile all Fabric and NeoForge compatibility modules.

Bukkit, BungeeCord, Hytale, Minestom, Nukkit, Sponge, and Velocity examples

These examples use Shadow so FastStats is bundled into the deployable plugin or server jar. Build the shadowJar task directly when you want the artifact to install or run:

./gradlew :bukkit:example-plugin:shadowJar
./gradlew :bungeecord:example-plugin:shadowJar
./gradlew :hytale:example-plugin:shadowJar
./gradlew :minestom:example-server:shadowJar
./gradlew :nukkit:example-plugin:shadowJar
./gradlew :sponge:example-plugin:shadowJar
./gradlew :velocity:example-plugin:shadowJar

Use the *-all.jar file from the example module's build/libs directory.

Fabric example mod

Fabric mods should be packaged by Fabric Loom, not Shadow. Build the mod jar with:

./gradlew :fabric:example-mod:jar

Use fabric/example-mod/build/libs/example-mod-<version>.jar. Do not use a Shadow *-all.jar for Fabric; it can bundle Minecraft and loader internals into the mod.

Building everything

To compile and test all modules with the standard lifecycle, run:

./gradlew build

For deployable example artifacts, run the platform-specific commands above after build or instead of it.

Platform compatibility checks

Compile all published platform compatibility modules with:

./gradlew checkPlatformCompat

Nukkit-MOT

Nukkit-MOT ServerDocumentation

Products

Plugins

Resources

Report issuesSource Code

Community

DiscordGitHub

This project is a derivative work based on AllayMC's open-source project AllayHub and is open-sourced under the AGPL license at MemoriesOfTime/NukkitHub.

NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.