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 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:
      enable in interface one.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
    • disable

      public void disable()
      Specified by:
      disable in interface one.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:
      getSupportedPlatforms in interface one.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:
      getConsoleSource in interface one.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:
      getPlayer in interface one.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:
      getPlayer in interface one.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:
      getOnlinePlayers in interface one.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
    • getPlatformOnlinePlayers

      @NotNull public @NotNull List<com.velocitypowered.api.proxy.Player> getPlatformOnlinePlayers()
      Specified by:
      getPlatformOnlinePlayers in interface one.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>
    • getOnlinePlayersName

      @NotNull public @NotNull List<String> getOnlinePlayersName()
      Specified by:
      getOnlinePlayersName in interface one.tranic.t.base.TInterface<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.Player>