mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-28 02:54:17 +00:00
Set correct version for Velocity
This commit is contained in:
parent
1190c612b3
commit
079ea1050e
5 changed files with 14 additions and 8 deletions
|
@ -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") {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -10,5 +10,4 @@ public class PlexListener
|
|||
{
|
||||
Plex.get().getServer().getEventManager().register(Plex.get(), this);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#############################
|
||||
# #
|
||||
# Plex Velocity #
|
||||
# v0.1 #
|
||||
# v1.1 #
|
||||
# #
|
||||
#############################
|
||||
|
||||
|
@ -28,6 +28,4 @@
|
|||
add-player-count = 0
|
||||
|
||||
# The max player count will always display as +1 more than the player count
|
||||
plus-one-max-count = true
|
||||
|
||||
|
||||
plus-one-max-count = true
|
Loading…
Reference in a new issue