public class JComponentManager
extends java.lang.Object
Constructor and Description |
---|
JComponentManager() |
Modifier and Type | Method and Description |
---|---|
static net.md_5.bungee.api.chat.BaseComponent[] |
formatComponents(java.lang.String message)
Get the final basecomponent from a message.
|
static net.md_5.bungee.api.chat.BaseComponent[] |
formatComponents(java.lang.String message,
org.bukkit.entity.Player p)
Get the final basecomponent from a message.
|
static net.md_5.bungee.api.chat.BaseComponent[] |
formatComponents(java.lang.String message,
java.util.UUID p)
Get the final basecomponent from a message.
|
public static net.md_5.bungee.api.chat.BaseComponent[] formatComponents(java.lang.String message)
message
- The string messagepublic static net.md_5.bungee.api.chat.BaseComponent[] formatComponents(java.lang.String message, org.bukkit.entity.Player p)
message
- The string messagep
- The player to translate PAPI for.public static net.md_5.bungee.api.chat.BaseComponent[] formatComponents(java.lang.String message, java.util.UUID p)
message
- The string messagep
- The player to translate PAPI for.