Skip to content

vansencool/CommandUtils

Repository files navigation

CommandUtils

A streamlined, customizable command framework for easy and efficient command creation

How to install it?

Gradle

repositories {
    maven { url 'https://jitpack.io' }
}
dependencies {
    implementation 'com.github.vansencool:CommandUtils:1.3.0'
}

Maven

<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>
<dependency>
    <groupId>com.github.vansencool</groupId>
    <artifactId>CommandUtils</artifactId>
    <version>1.3.0</version>
</dependency>

How to use it?

First off, you'll need to give CommandAPI an instance of your lifecycle event, either your plugin

package com.example.myplugin;

import dev.vansen.commandutils.api.CommandAPI;
import org.bukkit.plugin.java.JavaPlugin;

public final class MyPlugin extends JavaPlugin {

    @Override
    public void onEnable() {
        CommandAPI.set(this);
        // CommandAPI.set(this.getLifecycleManager());
    }
}

After you've done that, you can visit https://vansen.gitbook.io/commandutils/ on how to use it!

About

A streamlined, customizable command framework for easy and efficient command creation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages