Class BungeeText

java.lang.Object
de.rexlcloud.proxy.bungee.BungeeText

public final class BungeeText extends Object
Adventure text for BungeeCord. Its own chat API reads the component as JSON; Adventure's BungeeCord platform is not used because it does not work with Adventure 5, which the cloud uses.
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.md_5.bungee.api.chat.BaseComponent[]
    of(net.kyori.adventure.text.Component component)
     
    static void
    send(net.md_5.bungee.api.CommandSender receiver, net.kyori.adventure.text.Component message)
    Sends a chat message to a player or the console.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • of

      public static net.md_5.bungee.api.chat.BaseComponent[] of(net.kyori.adventure.text.Component component)
      Returns:
      the component as BungeeCord chat components
    • send

      public static void send(net.md_5.bungee.api.CommandSender receiver, net.kyori.adventure.text.Component message)
      Sends a chat message to a player or the console.