Skip to content

Minestom

The framework includes all the necessary dependencies. Maven Central

Version

Maven (pom.xml)

<dependency>
    <groupId>net.blockdynasty</groupId>
    <artifactId>minestom-2026.03.25-1.21.11</artifactId>  <!-- Ensure use same Minestom version Artifact. -->
    <version>1.0.1</version>
</dependency>

Gradle (build.gradle)

implementation("net.blockdynasty:minestom-2026.03.25-1.21.11:1.0.1")

Use example:

It is simple to use and can be initialized in two ways. First, by accepting a PermissionsService.class interface as a parameter; this lets you inject your permissions engine or adapt it to the current version of Minestom.

import net.blockdynasty.economy.minestom.EconomySystem;

public class MainTest {
    public static void main(String[] args) {

        /*
          The first boolean parameter specifies whether your server is in Online Mode or not.
          The second parameter is a PermissionsService implementation to handle server permissions.
        */

        EconomySystem.start(true, new PermsServiceDefault()); // The system is ready to use!
    }
}

Example to implement and Test PermissionsService.class

import net.blockdynasty.economy.minestom.commons.services.PermissionsService;

public class TestPerms implements PermissionsService {

    public boolean hasPermission(Player player, String permission){
        return true;
    }
    public boolean hasPermission(CommandSender commandSender, String permission){
        return true;
    }

}

//And now you are ready to set: EconomySystem.start(true, new TestPerms());

Additionally, here is the API for using the internal economy: api