Skip to content

A streamlined API tailored for PaperMC, providing powerful utilities and extensions to accelerate server development and fuel innovation.

License

Notifications You must be signed in to change notification settings

ConaxGames/cLibraries

Repository files navigation

cLibraries

A Bukkit/PaperMC plugin development framework.

Installation

Maven
<dependency>
    <groupId>com.conaxgames</groupId>
    <artifactId>clibraries</artifactId>
    <version>1.2.2</version>
    <scope>compile</scope>
</dependency>
Gradle
dependencies {
    implementation 'com.conaxgames:clibraries:1.2.2'
}

Shade the library into your plugin to avoid conflicts.

Usage

public class YourPlugin extends JavaPlugin {
    
    @Override
    public void onEnable() {
        new LibraryPlugin().onEnable(
            this, 
            "§2", 
            "§7", 
            "pluginname", 
            "pluginname.permission"
        );
    }
    
    @Override
    public void onDisable() {
        LibraryPlugin.getInstance().onDisable();
    }
}

Access the library instance anywhere using LibraryPlugin.getInstance().

Supported APIs

License

MIT License

About

A streamlined API tailored for PaperMC, providing powerful utilities and extensions to accelerate server development and fuel innovation.

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages