Server-side Axiom world editor integration for Minestom. Maintained by Smolder.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
GhostRider584 65ab900ae6
Some checks failed
Verify Axiom / verify (push) Has been cancelled
chore(release): prepare Axiom 0.0.8
Refresh zstd-jni (1.5.7-24), slf4j (2.0.20) and logback (1.6.5), move the
demo server onto the version catalog, drop its unused fullbright dimension,
and add `./gradlew :demo-server:run` to boot it locally.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 04:46:35 -10:00
.forgejo/workflows build: prepare Axiom 0.0.6 and explicit verified Maven publication 2026-09-16 00:28:09 -10:00
buildSrc build: establish SmolderOSS verification and publication target 2026-09-07 17:15:25 -10:00
demo-server chore(release): prepare Axiom 0.0.8 2026-10-22 04:46:35 -10:00
docs feat(editor): support host-owned durable annotations 2026-09-14 04:56:21 -10:00
gradle chore(release): prepare Axiom 0.0.8 2026-10-22 04:46:35 -10:00
src fix(editor): avoid instance/chunk deadlocks in scheduled edits 2026-10-19 19:57:26 -10:00
.gitignore chore(release): prepare Axiom 0.0.8 2026-10-22 04:46:35 -10:00
build.gradle.kts fix(editor): scope block data and navigation to their instances 2026-09-07 15:18:38 -10:00
gradle.properties chore(release): prepare Axiom 0.0.8 2026-10-22 04:46:35 -10:00
gradlew build: update gradle wrapper 2026-05-20 22:19:09 -10:00
gradlew.bat build: update gradle wrapper 2026-05-20 22:19:09 -10:00
LICENSE.txt added license 2025-09-28 08:01:48 -10:00
README.md chore(release): prepare Axiom 0.0.8 2026-10-22 04:46:35 -10:00
settings.gradle.kts build: establish SmolderOSS verification and publication target 2026-09-07 17:15:25 -10:00

Axiom for Minestom

Java Minestom Version License: MIT

A server-side integration library that enables Minestom servers to work seamlessly with the Axiom mod.

Overview

Axiom is a powerful client-side mod that provides advanced world editing tools, 3D annotations, region markers, and building capabilities.

This library implements the server-side protocol and functionality needed to support Axiom clients on Minestom servers.

This development branch targets Axiom API 10 and the exact Minecraft protocol/data version of the linked Minestom build. It replaces the pre-tunnel handshake; it is not yet published as 0.0.5. See owned-world editing and protocol limits before enabling it on valuable map data. Wire/unit checks are not a substitute for client acceptance.

Quick Start

1. Add Dependency

repositories {
    maven("https://git.neo.smolder.fr/api/packages/SmolderOSS/maven")
}

dependencies {
    implementation("fr.ghostrider584:axiom-minestom:0.0.8")
}

2. Initialize Axiom

import fr.ghostrider584.axiom.AxiomMinestom;

public class MyServer {
    public static void main(String[] args) {
        var server = MinecraftServer.init();
        
        // Initialize Axiom support
        AxiomMinestom.initialize();
        
        // Your server setup...
        server.start("0.0.0.0", 25565);
    }
}

3. Configure Permissions (Optional)

import fr.ghostrider584.axiom.restrictions.AxiomPermissions;

// Set custom permission logic
AxiomPermissions.setPermissionPredicate((player, permission) -> {
    // Your permission logic here
    if (player instanceof PermissionPlayer permissionPlayer) {
        return permissionPlayer.hasPermission(permission.getPermissionNode());
    }
    return false;
});

Events

Listen to Axiom-specific events:

eventNode.addListener(AxiomSpawnEntityEvent.class, event -> {
    Player player = event.getPlayer();
    Entity entity = event.spawnedEntity();
    
    if (entity.getEntityType() == EntityType.PIG) {
        event.setCancelled(true);
    }
});

Demo Server

Check out the included demo server in demo-server/ for an example implementation. Start it on localhost:25565 with ./gradlew :demo-server:run.

Contributing

Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.

License

This project is licensed under the MIT License.