mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2026-01-04 15:41:38 +00:00
@@ -61,7 +61,7 @@ artifacts {
|
||||
|
||||
tasks {
|
||||
shadowJar {
|
||||
archiveFileName = "${rootProject.name}-${rootProject.properties["project_version"]}-community-bukkit.jar"
|
||||
archiveFileName = "${rootProject.name}-bukkit-plugin-${rootProject.properties["project_version"]}.jar"
|
||||
destinationDirectory.set(file("$rootDir/target"))
|
||||
relocate("net.kyori", "net.momirealms.craftengine.libraries")
|
||||
relocate("net.momirealms.sparrow.nbt", "net.momirealms.craftengine.libraries.nbt")
|
||||
|
||||
@@ -19,8 +19,6 @@ public class BukkitCraftEnginePlugin extends JavaPlugin {
|
||||
@Override
|
||||
public void onEnable() {
|
||||
this.plugin.onPluginEnable();
|
||||
this.plugin.logger().warn("You're using the CraftEngine Community Edition.");
|
||||
this.plugin.logger().warn("Please consider purchasing the premium version to support CraftEngine's development.");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -152,7 +152,7 @@ tasks {
|
||||
manifest {
|
||||
attributes["paperweight-mappings-namespace"] = "mojang"
|
||||
}
|
||||
archiveFileName = "${rootProject.name}-${rootProject.properties["project_version"]}-community-paper.jar"
|
||||
archiveFileName = "${rootProject.name}-paper-plugin-${rootProject.properties["project_version"]}.jar"
|
||||
destinationDirectory.set(file("$rootDir/target"))
|
||||
relocate("net.kyori", "net.momirealms.craftengine.libraries")
|
||||
relocate("net.momirealms.sparrow.nbt", "net.momirealms.craftengine.libraries.nbt")
|
||||
|
||||
@@ -18,8 +18,6 @@ public final class PaperCraftEnginePlugin extends JavaPlugin {
|
||||
@Override
|
||||
public void onEnable() {
|
||||
this.bootstrap.plugin.onPluginEnable();
|
||||
this.bootstrap.plugin.logger().warn("You're using the CraftEngine Community Edition.");
|
||||
this.bootstrap.plugin.logger().warn("Please consider purchasing the premium version to support CraftEngine's development.");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user