public class UltraChatAPI
extends java.lang.Object
Constructor and Description |
---|
UltraChatAPI() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getActiveHooks()
Get the current active hooks.
|
AddonManager |
getAddonManager()
Get the addon manager.
|
int |
getChatCount()
Get the number of formats
|
java.util.ArrayList<java.lang.String> |
getChatFormatJson(java.lang.String number)
Get a format's json.
|
ChatType |
getChatType()
Get the current chat type.
|
java.lang.String |
getDefaultFormat()
Get the default format.
|
java.lang.String |
getFormat(java.lang.String number)
Get a chat format.
|
java.lang.String |
getFormattingType()
Get the current formatting type.
|
java.lang.String |
getOpFormat()
Get the op format.
|
java.lang.String |
getPermission(java.lang.String number)
Get the permission of a chat group.
|
java.lang.String |
getPlayerColor(org.bukkit.entity.Player player)
Get a player's color.
|
ChatChannel |
getPlayerCurrentChannel(java.util.UUID player)
Get the current channel of a player.
|
PlayerFormatting |
getPlayerFormatting(org.bukkit.entity.Player p)
Grab the player's formatting.
|
java.util.ArrayList<java.lang.String> |
getSwearWords()
Get the swear word list.
|
boolean |
isComponents()
If components are enabled.
|
boolean |
legitDefaultChannel(java.lang.String chan)
See if default channel exists.
|
void |
setChatFormatJson(java.util.ArrayList<java.lang.String> json,
java.lang.String number)
Set a format's json.
|
void |
setPlayerColor(org.bukkit.entity.Player player,
java.lang.String color)
Set a player's color.
|
void |
setSwearWords(java.util.ArrayList<java.lang.String> words)
Set the swear word list.
|
void |
setType(ChatType cm)
Set the chat mode.
|
public java.util.ArrayList<java.lang.String> getChatFormatJson(java.lang.String number)
number
- public void setChatFormatJson(java.util.ArrayList<java.lang.String> json, java.lang.String number)
json
- number
- public ChatChannel getPlayerCurrentChannel(java.util.UUID player)
player
- The uuid of the player you want to get.public AddonManager getAddonManager()
public ChatType getChatType()
public void setType(ChatType cm)
cm
- The chat managerpublic PlayerFormatting getPlayerFormatting(org.bukkit.entity.Player p)
p
- The player.public java.lang.String getFormat(java.lang.String number)
number
- public java.lang.String getOpFormat()
public java.lang.String getDefaultFormat()
public java.lang.String getPermission(java.lang.String number)
number
- public int getChatCount()
public java.lang.String getPlayerColor(org.bukkit.entity.Player player)
player
- public void setPlayerColor(org.bukkit.entity.Player player, java.lang.String color)
player
- color
- public java.util.ArrayList<java.lang.String> getSwearWords()
public void setSwearWords(java.util.ArrayList<java.lang.String> words)
words
- public boolean isComponents()
public java.lang.String getFormattingType()
public boolean legitDefaultChannel(java.lang.String chan)
chan
- - The channel in the config.public java.util.Set<java.lang.String> getActiveHooks()