Minestom Payments is a quick and easy library to hook in with your webstore. Currently supports Tebex and CraftingStore, with Agora and MineStoreCMS planned.
https://repo.expx.dev/javadoc/releases/dev/expx/minestom/Payments/{version}
<repositories>
<repository>
<id>cams-utils-releases</id>
<url>https://repo.expx.dev/releases</url>
</repository>
</repositories>
<dependency>
<groupId>dev.expx.minestom</groupId>
<artifactId>Payments</artifactId>
<version>1.2.3</version>
</dependency>
import net.minestom.server.MinecraftServer;
import dev.expx.payments.PaymentHandler;
import dev.expx.payments.StoreType;
public static void main(String[] args) {
MinecraftServer server = MinecraftServer.init();
PaymentHandler.init(StoreType.TEBEX_STORE, Path.of("store"));
server.start("0.0.0.0", 25565)
}
Contributions are always welcome!
Open an issue/pr :)