All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.neoforged.camelot.configuration.Common Maven / Gradle / Ivy

There is a newer version: 1.0.177
Show newest version
package net.neoforged.camelot.configuration;

/**
 * Constants and commonly used objects in the bot.
 *
 * @author Curle
 */
public class Common {

    // The name of the bot.
    public static final String NAME = "Camelot";
    public static final String VERSION;
    // The name of the bot following by " v${version}" if not in dev.
    public static final String NAME_WITH_VERSION;

    static {
        final String version = Common.class.getPackage().getImplementationVersion();
        VERSION = (version == null ? "dev" : version);
        NAME_WITH_VERSION = version == null ? NAME : (NAME + " v" + version);
    }

    // The repository where development of Camelot happens.
    public static final String REPO = "https://github.com/NeoForged/Camelot";
    public static final String WEBSITE = "https://camelot.rocks/";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy