Class BungeeWrap

java.lang.Object
net.md_5.bungee.api.plugin.Command
one.tranic.t.bungee.command.warp.BungeeWrap
All Implemented Interfaces:
net.md_5.bungee.api.plugin.TabExecutor

@Deprecated public class BungeeWrap extends net.md_5.bungee.api.plugin.Command implements net.md_5.bungee.api.plugin.TabExecutor
Deprecated.
BungeeCord is considered outdated. It is recommended to use more modern proxies such as Velocity.

Developing plugins on modern platforms like Paper and Velocity is easier and provides better support and features.

The BungeeWrap class acts as an adapter to integrate a generic Command tailored for BungeeSource into the BungeeCord command system. This allows the use of a platform-agnostic command structure within the BungeeCord environment.

The class extends the BungeeCord-specific Command class and implements the TabExecutor interface, enabling both command execution and tab completion functionalities.

  • Constructor Summary

    Constructors
    Constructor
    Description
    BungeeWrap(one.tranic.t.base.command.simple.SimpleCommand<BungeeSource> command)
    Deprecated.
    BungeeCord is considered outdated.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(net.md_5.bungee.api.CommandSender sender, String[] args)
    Deprecated.
     
    onTabComplete(net.md_5.bungee.api.CommandSender sender, String[] args)
    Deprecated.
     

    Methods inherited from class net.md_5.bungee.api.plugin.Command

    canEqual, equals, getAliases, getName, getPermission, getPermissionMessage, hashCode, hasPermission, setPermissionMessage, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BungeeWrap

      @Deprecated public BungeeWrap(one.tranic.t.base.command.simple.SimpleCommand<BungeeSource> command)
      Deprecated.
      BungeeCord is considered outdated. It is recommended to use more modern proxies such as Velocity.

      Developing plugins on modern platforms like Paper and Velocity is easier and provides better support and features.

  • Method Details

    • execute

      public void execute(net.md_5.bungee.api.CommandSender sender, String[] args)
      Deprecated.
      Specified by:
      execute in class net.md_5.bungee.api.plugin.Command
    • onTabComplete

      public Iterable<String> onTabComplete(net.md_5.bungee.api.CommandSender sender, String[] args)
      Deprecated.
      Specified by:
      onTabComplete in interface net.md_5.bungee.api.plugin.TabExecutor