Set correct version for Velocity

This commit is contained in:
Telesphoreo 2022-05-16 22:52:52 -05:00
parent 1190c612b3
commit 079ea1050e
No known key found for this signature in database
GPG Key ID: 5ACFFC4682CF849B
5 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,7 @@
plugins {
id("net.kyori.blossom") version "1.2.0"
}
group = rootProject.group
version = rootProject.version
description = "Plex-Velocity"
@ -20,6 +24,10 @@ tasks {
}
}
blossom {
replaceToken("@version@", rootProject.version)
}
publishing {
publications {
create<MavenPublication>("maven") {

View File

@ -4,6 +4,8 @@ import com.google.inject.Inject;
import com.velocitypowered.api.event.Subscribe;
import com.velocitypowered.api.event.proxy.ProxyInitializeEvent;
import com.velocitypowered.api.plugin.Plugin;
import com.velocitypowered.api.plugin.PluginDescription;
import com.velocitypowered.api.plugin.PluginManager;
import com.velocitypowered.api.plugin.annotation.DataDirectory;
import com.velocitypowered.api.proxy.ProxyServer;
import dev.plex.config.TomlConfig;
@ -30,7 +32,7 @@ import lombok.Getter;
version = "@version@",
url = "https://plex.us.org",
description = "Plex provides a new experience for freedom servers.",
authors = {"Taah"}
authors = {"Telesphoreo", "Taah"}
)
@Getter
public class Plex
@ -54,7 +56,7 @@ public class Plex
{
dataFolder.mkdir();
}
PlexLog.log("Enabling Plex v0.1");
PlexLog.log("Enabling Plex-Velocity");
}
@Subscribe

View File

@ -48,7 +48,6 @@ public abstract class PlexCommand implements SimpleCommand
plugin.getServer().getCommandManager().register(meta.build(), this);
}
protected abstract Component execute(@NotNull CommandSource source, @Nullable Player player, @NotNull String[] args);
@Override

View File

@ -10,5 +10,4 @@ public class PlexListener
{
Plex.get().getServer().getEventManager().register(Plex.get(), this);
}
}

View File

@ -1,7 +1,7 @@
#############################
# #
# Plex Velocity #
# v0.1 #
# v1.1 #
# #
#############################
@ -29,5 +29,3 @@
# The max player count will always display as +1 more than the player count
plus-one-max-count = true