Quartzlib

A set of tools to develop plugins using the Bukkit API
Alternatives To Quartzlib
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Glowstone1,752
a month ago62otherJava
A fast, customizable and compatible open source server for Minecraft: Java Edition
Essentials1,577
a day ago159gpl-3.0Java
The modern Essentials suite for Spigot and Paper.
Minecraftdev1,150
3 days ago199mitKotlin
Plugin for IntelliJ IDEA that gives special support for Minecraft modding projects.
Viaversion933
a day ago41gpl-3.0Java
Allows the connection of newer clients to older server versions for Minecraft servers.
Skript790
13 hours ago454gpl-3.0Java
Skript is a Bukkit plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone to program a plugin for them.
Slimefun4738
14 hours ago103gpl-3.0Java
Slimefun 4 - A unique Spigot/Paper plugin that looks and feels like a modpack. We've been giving you backpacks, jetpacks, reactors and much more since 2013.
Floodgate454
3 days ago31mitJava
Hybrid mode plugin to allow for connections from Geyser to join online mode servers.
Towny411
11 hours ago104otherJava
Towny Advanced Minecraft plugin for Bukkit/Spigot.
Vault407
8 months ago3lgpl-3.0Java
Vault of common APIs for Bukkit Plugins
Helper381954 months ago13January 05, 202219mitJava
A collection of utilities and extended APIs to support the rapid and easy development of Bukkit plugins.
Alternatives To Quartzlib
Select To Compare


Alternative Project Comparisons
Readme

QuartzLib

Helper library for Bukkit plugins development.

(Formerly known as zLib)

How to use this library in your plugin?

If you are using Maven to build your plugin, follow these simple steps. Other builds methods are not supported (but you can use them of course).
Currently, QuartzLib requires Java 8 or later and Bukkit 1.15 or later.

I'm starting a new plugin

Either create a plugin as usual and add the QuartzLib as explained below, or use the plugin bootstrap generator and answer “yes” when the tool asks if you want to use QuartzLib.

I want to add QuartzLib to an existing project

  1. Add our Maven repository to your pom.xml file.

        <repository>
            <id>QuartzLib</id>
            <url>https://maven.zcraft.fr/QuartzLib</url>
        </repository>
    
  2. Add QuartzLib as a dependency.

        <dependency>
            <groupId>fr.zcraft</groupId>
            <artifactId>quartzlib</artifactId>
            <version>0.0.3</version>
        </dependency>
    
  3. Add the shading plugin to the build. Replace YOUR.OWN.PACKAGE with your own package.

         <build>
             ...
             <plugins>
                 ...
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-shade-plugin</artifactId>
                     <version>2.4</version>
                     <configuration>
                         <artifactSet>
                             <includes>
                                 <include>fr.zcraft:quartzlib</include>
                             </includes>
                         </artifactSet>
                         <relocations>
                             <relocation>
                                 <pattern>fr.zcraft.quartzlib</pattern>
                                 <shadedPattern>YOUR.OWN.PACKAGE</shadedPattern>
                             </relocation>
                         </relocations>
                     </configuration>
                     <executions>
                         <execution>
                             <phase>package</phase>
                             <goals>
                                 <goal>shade</goal>
                             </goals>
                         </execution>
                     </executions>
                 </plugin>
                 ...
             </plugins>
             ...
         </build>
    
  4. Build your project as usual, as example with the following command from your working directory, or using an integrated tool from your IDE.

    mvn clean install
    

You should also update your code, so your main class extends QuartzPlugin instead of JavaPlugin. No other changes are required. This will allow you to use directly some useful methods to load your plugin's components.
Check out the wiki for more information.

Popular Bukkit Projects
Popular Plugin Projects
Popular Games Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Plugin
Gui
Minecraft
I18n
Bukkit
Multi Threading
Minecraft Server
Configuration Management