mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 17:17:37 +00:00
Set correct version for Velocity
This commit is contained in:
parent
1190c612b3
commit
079ea1050e
@ -1,3 +1,7 @@
|
|||||||
|
plugins {
|
||||||
|
id("net.kyori.blossom") version "1.2.0"
|
||||||
|
}
|
||||||
|
|
||||||
group = rootProject.group
|
group = rootProject.group
|
||||||
version = rootProject.version
|
version = rootProject.version
|
||||||
description = "Plex-Velocity"
|
description = "Plex-Velocity"
|
||||||
@ -20,6 +24,10 @@ tasks {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
blossom {
|
||||||
|
replaceToken("@version@", rootProject.version)
|
||||||
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
create<MavenPublication>("maven") {
|
create<MavenPublication>("maven") {
|
||||||
|
@ -4,6 +4,8 @@ import com.google.inject.Inject;
|
|||||||
import com.velocitypowered.api.event.Subscribe;
|
import com.velocitypowered.api.event.Subscribe;
|
||||||
import com.velocitypowered.api.event.proxy.ProxyInitializeEvent;
|
import com.velocitypowered.api.event.proxy.ProxyInitializeEvent;
|
||||||
import com.velocitypowered.api.plugin.Plugin;
|
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.plugin.annotation.DataDirectory;
|
||||||
import com.velocitypowered.api.proxy.ProxyServer;
|
import com.velocitypowered.api.proxy.ProxyServer;
|
||||||
import dev.plex.config.TomlConfig;
|
import dev.plex.config.TomlConfig;
|
||||||
@ -30,7 +32,7 @@ import lombok.Getter;
|
|||||||
version = "@version@",
|
version = "@version@",
|
||||||
url = "https://plex.us.org",
|
url = "https://plex.us.org",
|
||||||
description = "Plex provides a new experience for freedom servers.",
|
description = "Plex provides a new experience for freedom servers.",
|
||||||
authors = {"Taah"}
|
authors = {"Telesphoreo", "Taah"}
|
||||||
)
|
)
|
||||||
@Getter
|
@Getter
|
||||||
public class Plex
|
public class Plex
|
||||||
@ -54,7 +56,7 @@ public class Plex
|
|||||||
{
|
{
|
||||||
dataFolder.mkdir();
|
dataFolder.mkdir();
|
||||||
}
|
}
|
||||||
PlexLog.log("Enabling Plex v0.1");
|
PlexLog.log("Enabling Plex-Velocity");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
|
@ -48,7 +48,6 @@ public abstract class PlexCommand implements SimpleCommand
|
|||||||
plugin.getServer().getCommandManager().register(meta.build(), this);
|
plugin.getServer().getCommandManager().register(meta.build(), this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
protected abstract Component execute(@NotNull CommandSource source, @Nullable Player player, @NotNull String[] args);
|
protected abstract Component execute(@NotNull CommandSource source, @Nullable Player player, @NotNull String[] args);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -10,5 +10,4 @@ public class PlexListener
|
|||||||
{
|
{
|
||||||
Plex.get().getServer().getEventManager().register(Plex.get(), this);
|
Plex.get().getServer().getEventManager().register(Plex.get(), this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#############################
|
#############################
|
||||||
# #
|
# #
|
||||||
# Plex Velocity #
|
# Plex Velocity #
|
||||||
# v0.1 #
|
# v1.1 #
|
||||||
# #
|
# #
|
||||||
#############################
|
#############################
|
||||||
|
|
||||||
@ -28,6 +28,4 @@
|
|||||||
add-player-count = 0
|
add-player-count = 0
|
||||||
|
|
||||||
# The max player count will always display as +1 more than the player count
|
# 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 New Issue
Block a user