Package one.tranic.t.velocity
Class TVelocity
java.lang.Object
one.tranic.t.velocity.TVelocity
- All Implemented Interfaces:
one.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
public class TVelocity
extends Object
implements one.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisable()voidenable()one.tranic.t.base.command.source.SystemCommandSource<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player> @NotNull List<one.tranic.t.base.player.Player<com.velocitypowered.api.proxy.Player>>@NotNull List<com.velocitypowered.api.proxy.Player>@Nullable one.tranic.t.base.player.Player<com.velocitypowered.api.proxy.Player>@Nullable one.tranic.t.base.player.Player<com.velocitypowered.api.proxy.Player>static @NotNull com.velocitypowered.api.proxy.ProxyServerone.tranic.t.utils.minecraft.Platform[]static booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface one.tranic.t.base.TInterface
getAltPlayers
-
Constructor Details
-
TVelocity
public TVelocity(com.velocitypowered.api.proxy.ProxyServer proxyServer)
-
-
Method Details
-
isInitialized
public static boolean isInitialized() -
getServer
@NotNull public static @NotNull com.velocitypowered.api.proxy.ProxyServer getServer() -
enable
public void enable()- Specified by:
enablein interfaceone.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
-
disable
public void disable()- Specified by:
disablein interfaceone.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
-
getSupportedPlatforms
public one.tranic.t.utils.minecraft.Platform[] getSupportedPlatforms()- Specified by:
getSupportedPlatformsin interfaceone.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
-
getConsoleSource
public one.tranic.t.base.command.source.SystemCommandSource<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player> getConsoleSource()- Specified by:
getConsoleSourcein interfaceone.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
-
getPlayer
@Nullable public @Nullable one.tranic.t.base.player.Player<com.velocitypowered.api.proxy.Player> getPlayer(@NotNull @NotNull String name) - Specified by:
getPlayerin interfaceone.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
-
getPlayer
@Nullable public @Nullable one.tranic.t.base.player.Player<com.velocitypowered.api.proxy.Player> getPlayer(@NotNull @NotNull UUID uuid) - Specified by:
getPlayerin interfaceone.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
-
getOnlinePlayers
@NotNull public @NotNull List<one.tranic.t.base.player.Player<com.velocitypowered.api.proxy.Player>> getOnlinePlayers()- Specified by:
getOnlinePlayersin interfaceone.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
-
getPlatformOnlinePlayers
- Specified by:
getPlatformOnlinePlayersin interfaceone.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
-
getOnlinePlayersName
- Specified by:
getOnlinePlayersNamein interfaceone.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
-