diff --git a/docs/allclasses-frame.html b/docs/allclasses-frame.html index cea14aa..66ee849 100644 --- a/docs/allclasses-frame.html +++ b/docs/allclasses-frame.html @@ -2,9 +2,9 @@ - + All Classes - + @@ -12,31 +12,45 @@

All Classes

diff --git a/docs/allclasses-noframe.html b/docs/allclasses-noframe.html index 96160d8..55c67b4 100644 --- a/docs/allclasses-noframe.html +++ b/docs/allclasses-noframe.html @@ -2,9 +2,9 @@ - + All Classes - + @@ -12,31 +12,45 @@

All Classes

diff --git a/docs/constant-values.html b/docs/constant-values.html index db29562..b8d8737 100644 --- a/docs/constant-values.html +++ b/docs/constant-values.html @@ -2,9 +2,9 @@ - + Constant Field Values - + @@ -72,35 +72,6 @@

Constant Field Values

Contents

- -
-
- - -

me.ryandw11.*

-
diff --git a/docs/deprecated-list.html b/docs/deprecated-list.html index 1b234e4..91841cf 100644 --- a/docs/deprecated-list.html +++ b/docs/deprecated-list.html @@ -2,9 +2,9 @@ - + Deprecated List - + @@ -72,38 +72,6 @@

Deprecated API

Contents

-
-
-
- - -
diff --git a/docs/help-doc.html b/docs/help-doc.html index 18f361d..c30373a 100644 --- a/docs/help-doc.html +++ b/docs/help-doc.html @@ -2,9 +2,9 @@ - + API Help - + diff --git a/docs/index-files/index-1.html b/docs/index-files/index-1.html index 90ed7cc..7f74d89 100644 --- a/docs/index-files/index-1.html +++ b/docs/index-files/index-1.html @@ -2,9 +2,9 @@ - + A-Index - + @@ -69,29 +69,33 @@
-
A B C D E G H I J L M N O P R S T U V W  +
A B C D F G I J L M N O P R S T U V W 

A

-
addCustomChart(Metrics.CustomChart) - Method in class me.ryandw11.ultrachat.util.Metrics
-
-
Adds a custom chart.
-
-
AdvancedBanMute - Class in me.ryandw11.ultrachat.pluginhooks
+
addAddon(PlaceholderAddon) - Method in class me.ryandw11.ultrachat.api.managers.AddonManager
 
-
AdvancedBanMute() - Constructor for class me.ryandw11.ultrachat.pluginhooks.AdvancedBanMute
-
 
-
AdvancedBarChart(String, Callable<Map<String, int[]>>) - Constructor for class me.ryandw11.ultrachat.util.Metrics.AdvancedBarChart
+
addBaseComponent(BaseComponent[]) - Method in class me.ryandw11.ultrachat.api.MessageBuilder
-
Class constructor.
+
Add a base component to the message
-
AdvancedPie(String, Callable<Map<String, Integer>>) - Constructor for class me.ryandw11.ultrachat.util.Metrics.AdvancedPie
+
addJSON(JSONChatBuilder) - Method in class me.ryandw11.ultrachat.api.MessageBuilder
-
Class constructor.
+
Add a JSONChatBuilder to the message
+
+
AddonManager - Class in me.ryandw11.ultrachat.api.managers
+
 
+
AddonManager() - Constructor for class me.ryandw11.ultrachat.api.managers.AddonManager
+
 
+
addonManager - Variable in class me.ryandw11.ultrachat.UltraChat
+
 
+
addString(String) - Method in class me.ryandw11.ultrachat.api.MessageBuilder
+
+
Add a string to the message
-A B C D E G H I J L M N O P R S T U V W 
+A B C D F G I J L M N O P R S T U V W 
diff --git a/docs/index-files/index-10.html b/docs/index-files/index-10.html index b3ef46a..aaf0f52 100644 --- a/docs/index-files/index-10.html +++ b/docs/index-files/index-10.html @@ -2,9 +2,9 @@ - -L-Index - + +M-Index + @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -69,15 +69,23 @@
-
A B C D E G H I J L M N O P R S T U V W  +
A B C D F G I J L M N O P R S T U V W 

B

-
B_STATS_VERSION - Static variable in class me.ryandw11.ultrachat.util.Metrics
+
build() - Method in class me.ryandw11.ultrachat.api.channels.ChannelBuilder
+
+
Build the channel
+
+
build() - Method in class me.ryandw11.ultrachat.api.JSONChatBuilder
+
+
Build the JSONChatMessage
+
+
build() - Method in class me.ryandw11.ultrachat.api.MessageBuilder
 
-A B C D E G H I J L M N O P R S T U V W 
+A B C D F G I J L M N O P R S T U V W 
diff --git a/docs/index-files/index-3.html b/docs/index-files/index-3.html index de2fbbf..f535883 100644 --- a/docs/index-files/index-3.html +++ b/docs/index-files/index-3.html @@ -2,9 +2,9 @@ - + C-Index - + @@ -69,17 +69,51 @@
-
A B C D E G H I J L M N O P R S T U V W  +
A B C D F G I J L M N O P R S T U V W 

C

channel - Variable in class me.ryandw11.ultrachat.UltraChat
 
+
ChannelBuilder - Class in me.ryandw11.ultrachat.api.channels
+
+
A Builder to make a channel.
+
+
ChannelBuilder(String) - Constructor for class me.ryandw11.ultrachat.api.channels.ChannelBuilder
+
+
The Builder to create a channel.
+
+
ChannelCmd - Class in me.ryandw11.ultrachat.commands
+
 
+
ChannelCmd() - Constructor for class me.ryandw11.ultrachat.commands.ChannelCmd
+
 
channelEnabled - Variable in class me.ryandw11.ultrachat.UltraChat
 
+
channelExists(ChatChannel) - Method in class me.ryandw11.ultrachat.api.managers.ChannelManager
+
+
If a given channel exists (In this instance if it is save in the files)
+
+
channelExists(String) - Method in class me.ryandw11.ultrachat.api.managers.ChannelManager
+
+
If a given channel exists based upon the name.
+
channelfile - Variable in class me.ryandw11.ultrachat.UltraChat
 
+
ChannelJSON - Class in me.ryandw11.ultrachat.formatting
+
+
Handles channels with components enabled.
+
+
ChannelJSON() - Constructor for class me.ryandw11.ultrachat.formatting.ChannelJSON
+
 
+
ChannelManager - Class in me.ryandw11.ultrachat.api.managers
+
 
+
ChannelManager() - Constructor for class me.ryandw11.ultrachat.api.managers.ChannelManager
+
 
+
ChannelProperties - Class in me.ryandw11.ultrachat.api.events.properties
+
 
+
ChannelProperties(boolean, String) - Constructor for class me.ryandw11.ultrachat.api.events.properties.ChannelProperties
+
 
Channels - Class in me.ryandw11.ultrachat.formatting
Channels without any kind of json involved.
@@ -88,24 +122,32 @@
 
chat - Variable in class me.ryandw11.ultrachat.UltraChat
 
-
Chat_Json - Class in me.ryandw11.ultrachat.formatting
-
-
If JSON is enabled.
-
-
Chat_Json() - Constructor for class me.ryandw11.ultrachat.formatting.Chat_Json
+
ChatChannel - Class in me.ryandw11.ultrachat.api.channels
 
-
ChatMode - Enum in me.ryandw11.ultrachat.api
+
ChatChannel(ChannelBuilder) - Constructor for class me.ryandw11.ultrachat.api.channels.ChatChannel
+
+
For internal use only.
+
+
ChatCommand - Class in me.ryandw11.ultrachat.commands
+
 
+
ChatCommand() - Constructor for class me.ryandw11.ultrachat.commands.ChatCommand
+
 
+
ChatProperties - Interface in me.ryandw11.ultrachat.api.events.properties
 
chatStop - Variable in class me.ryandw11.ultrachat.UltraChat
 
+
ChatType - Enum in me.ryandw11.ultrachat.api
+
 
color - Variable in class me.ryandw11.ultrachat.formatting.PlayerFormatting
 
-
createChannel(String, String, String, boolean, String, ArrayList<String>) - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
-
-
Create a channel.
-
+
color - Variable in class me.ryandw11.ultrachat.formatting.UUIDFormating
+
 
+
CommandTabCompleter - Class in me.ryandw11.ultrachat.commands
+
 
+
CommandTabCompleter() - Constructor for class me.ryandw11.ultrachat.commands.CommandTabCompleter
+
 
-A B C D E G H I J L M N O P R S T U V W 
+A B C D F G I J L M N O P R S T U V W 
diff --git a/docs/index-files/index-4.html b/docs/index-files/index-4.html index c68aca9..1dcb47c 100644 --- a/docs/index-files/index-4.html +++ b/docs/index-files/index-4.html @@ -2,9 +2,9 @@ - + D-Index - + @@ -69,7 +69,7 @@
-
A B C D E G H I J L M N O P R S T U V W  +
A B C D F G I J L M N O P R S T U V W 

D

@@ -80,12 +80,12 @@
 
defaultChannel - Variable in class me.ryandw11.ultrachat.UltraChat
 
-
DrilldownPie(String, Callable<Map<String, Map<String, Integer>>>) - Constructor for class me.ryandw11.ultrachat.util.Metrics.DrilldownPie
+
delete() - Method in class me.ryandw11.ultrachat.api.channels.ChatChannel
-
Class constructor.
+
Delete the channel
-A B C D E G H I J L M N O P R S T U V W 
+A B C D F G I J L M N O P R S T U V W 
diff --git a/docs/index-files/index-5.html b/docs/index-files/index-5.html index 5d4a25a..533b280 100644 --- a/docs/index-files/index-5.html +++ b/docs/index-files/index-5.html @@ -2,9 +2,9 @@ - -E-Index - + +F-Index + @@ -12,7 +12,7 @@ @@ -69,21 +69,37 @@
-
A B C D E G H I J L M N O P R S T U V W  +
A B C D F G I J L M N O P R S T U V W 

G

+
getActiveFormat() - Method in class me.ryandw11.ultrachat.formatting.UUIDFormating
+
+
Get the active format for a player.
+
getActiveHooks() - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
Get the current active hooks.
-
getChannelJson(String) - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
+
getAddonManager() - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
-
Get a channel's json.
+
Get the addon manager.
-
getChartData() - Method in class me.ryandw11.ultrachat.util.Metrics.DrilldownPie
+
getAddons() - Method in class me.ryandw11.ultrachat.api.managers.AddonManager
 
+
getAllPlayersInChannel(ChatChannel) - Method in class me.ryandw11.ultrachat.api.managers.ChannelManager
+
+
Get all players in a channel online or offline.
+
+
getAppliableTabCompleters(String, ArrayList<String>) - Method in class me.ryandw11.ultrachat.commands.CommandTabCompleter
+
 
+
getChannel() - Method in class me.ryandw11.ultrachat.api.events.properties.ChannelProperties
+
 
+
getChannelByName(String) - Method in class me.ryandw11.ultrachat.api.managers.ChannelManager
+
+
Get a channel via its name
+
getChatCount() - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
Get the number of formats
@@ -92,19 +108,29 @@
Get a format's json.
+
getChatType() - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
+
+
Get the current chat type.
+
getColor() - Method in class me.ryandw11.ultrachat.formatting.PlayerFormatting
 
+
getColor() - Method in class me.ryandw11.ultrachat.formatting.UUIDFormating
+
 
getColorFromCode(String) - Static method in class me.ryandw11.ultrachat.api.Util
 
getColorGUI() - Method in class me.ryandw11.ultrachat.UltraChat
Get the ColorGUI class for the right version.
+
getCustomFormat(int) - Method in class me.ryandw11.ultrachat.formatting.PlayerFormatting
+
 
+
getCustomFormat(int) - Method in class me.ryandw11.ultrachat.formatting.UUIDFormating
+
 
getDefault() - Method in enum me.ryandw11.ultrachat.api.Lang
Get the default value of the path.
-
getDefaultChannel() - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
+
getDefaultChannel() - Method in class me.ryandw11.ultrachat.api.managers.ChannelManager
Get the servers default channel.
@@ -114,6 +140,12 @@
getDefaultFormat() - Method in class me.ryandw11.ultrachat.formatting.PlayerFormatting
 
+
getDefaultFormat() - Method in class me.ryandw11.ultrachat.formatting.UUIDFormating
+
 
+
getFormat() - Method in class me.ryandw11.ultrachat.api.channels.ChannelBuilder
+
 
+
getFormat() - Method in class me.ryandw11.ultrachat.api.channels.ChatChannel
+
 
getFormat(String) - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
Get a chat format.
@@ -124,22 +156,20 @@
getGlobal() - Method in class me.ryandw11.ultrachat.formatting.PlayerFormatting
 
-
getHandlerList() - Static method in class me.ryandw11.ultrachat.api.GlobalChatEvent
+
getGlobal() - Method in class me.ryandw11.ultrachat.formatting.UUIDFormating
 
-
getHandlerList() - Static method in class me.ryandw11.ultrachat.api.JsonChatEvent
+
getHandlerList() - Static method in class me.ryandw11.ultrachat.api.events.StaffChatEvent
 
-
getHandlerList() - Static method in class me.ryandw11.ultrachat.api.WorldChatEvent
+
getHandlerList() - Static method in class me.ryandw11.ultrachat.api.events.UltraChatEvent
 
-
getHandlers() - Method in class me.ryandw11.ultrachat.api.GlobalChatEvent
+
getHandlers() - Method in class me.ryandw11.ultrachat.api.events.StaffChatEvent
 
-
getHandlers() - Method in class me.ryandw11.ultrachat.api.JsonChatEvent
+
getHandlers() - Method in class me.ryandw11.ultrachat.api.events.UltraChatEvent
 
-
getHandlers() - Method in class me.ryandw11.ultrachat.api.WorldChatEvent
+
getJson() - Method in class me.ryandw11.ultrachat.api.channels.ChannelBuilder
+
 
+
getJson() - Method in class me.ryandw11.ultrachat.api.channels.ChatChannel
 
-
getInstance() - Static method in class me.ryandw11.ultrachat.api.UltraChatAPI
-
-
Deprecated. 
-
getLang() - Method in class me.ryandw11.ultrachat.UltraChat
 
getLangFile() - Method in class me.ryandw11.ultrachat.UltraChat
@@ -148,92 +178,110 @@
getLocal() - Method in class me.ryandw11.ultrachat.formatting.PlayerFormatting
 
-
getMessage() - Method in class me.ryandw11.ultrachat.api.GlobalChatEvent
+
getLocal() - Method in class me.ryandw11.ultrachat.formatting.UUIDFormating
 
-
getMessage() - Method in class me.ryandw11.ultrachat.api.JsonChatEvent
+
getMessage() - Method in class me.ryandw11.ultrachat.api.events.StaffChatEvent
 
-
getMessage() - Method in class me.ryandw11.ultrachat.api.WorldChatEvent
+
getMessage() - Method in class me.ryandw11.ultrachat.api.events.UltraChatEvent
+
 
+
getName() - Method in class me.ryandw11.ultrachat.api.channels.ChatChannel
+
 
+
getName() - Method in interface me.ryandw11.ultrachat.api.placeholders.PlaceholderAddon
 
-
getMode() - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
-
-
Get the current chat mode.
-
-
getMsg(String, ChatColor, Player) - Method in class me.ryandw11.ultrachat.api.JSON
-
-
Format the chat.
-
getNearbyPlayers(Player) - Method in class me.ryandw11.ultrachat.formatting.Range
 
+
getOfflinePlayer() - Method in class me.ryandw11.ultrachat.formatting.UUIDFormating
+
 
getOpFormat() - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
Get the op format.
getOpFormat() - Method in class me.ryandw11.ultrachat.formatting.PlayerFormatting
 
+
getOpFormat() - Method in class me.ryandw11.ultrachat.formatting.UUIDFormating
+
 
getPath() - Method in enum me.ryandw11.ultrachat.api.Lang
Get the path to the string.
+
getPermission() - Method in class me.ryandw11.ultrachat.api.channels.ChatChannel
+
 
getPermission(String) - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
Get the permission of a chat group.
-
getPlayer() - Method in class me.ryandw11.ultrachat.api.GlobalChatEvent
+
getPlayer() - Method in class me.ryandw11.ultrachat.api.events.StaffChatEvent
+
+
Get the player
+
+
getPlayer() - Method in class me.ryandw11.ultrachat.api.events.UltraChatEvent
 
-
getPlayer() - Method in class me.ryandw11.ultrachat.api.JsonChatEvent
-
 
-
getPlayer() - Method in class me.ryandw11.ultrachat.api.WorldChatEvent
-
 
-
getPlayerChannel(Player) - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
+
getPlayerChannel(Player) - Method in class me.ryandw11.ultrachat.api.managers.ChannelManager
Grab the player's current channel.
+
getPlayerChannel(UUID) - Method in class me.ryandw11.ultrachat.api.managers.ChannelManager
+
+
Grab an offline player's current channel.
+
getPlayerColor(Player) - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
Get a player's color.
+
getPlayerCurrentChannel(UUID) - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
+
+
Get the current channel of a player.
+
getPlayerFormatting(Player) - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
Grab the player's formatting.
-
getPlugin() - Static method in class me.ryandw11.ultrachat.api.UltraChatAPI
+
getPlayersInChannel(ChatChannel) - Method in class me.ryandw11.ultrachat.api.managers.ChannelManager
-
Grab the plugin.
-
-
getPluginData() - Method in class me.ryandw11.ultrachat.util.Metrics
-
-
Gets the plugin specific data.
+
Get all online players in a given channel.
+
getPrefix() - Method in class me.ryandw11.ultrachat.api.channels.ChatChannel
+
 
getPrefix() - Method in class me.ryandw11.ultrachat.formatting.PlayerFormatting
 
-
getRecipients() - Method in class me.ryandw11.ultrachat.api.JsonChatEvent
-
-
Grab the recipients.
-
-
getRecipients() - Method in class me.ryandw11.ultrachat.api.WorldChatEvent
+
getPrefix() - Method in class me.ryandw11.ultrachat.formatting.UUIDFormating
+
 
+
getProperties() - Method in class me.ryandw11.ultrachat.api.events.UltraChatEvent
+
+
Get the properties.
+
+
getRecipients() - Method in class me.ryandw11.ultrachat.api.events.UltraChatEvent
Grab the recipients.
+
getString(UUID) - Method in interface me.ryandw11.ultrachat.api.placeholders.PlaceholderAddon
+
 
getSuffix() - Method in class me.ryandw11.ultrachat.formatting.PlayerFormatting
 
+
getSuffix() - Method in class me.ryandw11.ultrachat.formatting.UUIDFormating
+
 
getSwearWords() - Method in class me.ryandw11.ultrachat.api.UltraChatAPI
Get the swear word list.
+
getType() - Method in class me.ryandw11.ultrachat.api.events.properties.RangeProperties
+
+
Get the Range mode in use.
+
+
getType() - Method in class me.ryandw11.ultrachat.api.events.UltraChatEvent
+
+
Get the type of the chat used.
+
getWorld() - Method in class me.ryandw11.ultrachat.formatting.PlayerFormatting
 
-
globalChat(GlobalChatEvent) - Method in class me.ryandw11.ultrachat.pluginhooks.AdvancedBanMute
+
getWorld() - Method in class me.ryandw11.ultrachat.formatting.UUIDFormating
 
-
globalChat(GlobalChatEvent) - Method in class me.ryandw11.ultrachat.pluginhooks.EssentialsMute
+
Global - Class in me.ryandw11.ultrachat.commands
 
-
GlobalChatEvent - Class in me.ryandw11.ultrachat.api
-
-
Event class
-
-
GlobalChatEvent(Player, String) - Constructor for class me.ryandw11.ultrachat.api.GlobalChatEvent
+
Global() - Constructor for class me.ryandw11.ultrachat.commands.Global
 
-A B C D E G H I J L M N O P R S T U V W 
+A B C D F G I J L M N O P R S T U V W 
diff --git a/docs/index-files/index-7.html b/docs/index-files/index-7.html index 61faa8d..dcc46a2 100644 --- a/docs/index-files/index-7.html +++ b/docs/index-files/index-7.html @@ -2,9 +2,9 @@ - -H-Index - + +I-Index + @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -128,8 +128,8 @@ extends org.bukkit.plugin.java.JavaPlugin
Main Class
Version:
-
2.3 - Updated for 1.13. +
2.4 + Updated for 1.14. (Very few API methods here)
Author:
Ryandw11
@@ -153,53 +153,61 @@ extends org.bukkit.plugin.java.JavaPlugin Field and Description +
AddonManager +addonManager  + + org.bukkit.configuration.file.FileConfiguration channel  - + java.lang.Boolean channelEnabled  - + java.io.File channelfile  - + net.milkbowl.vault.chat.Chat chat  - + java.lang.Boolean chatStop  - + org.bukkit.configuration.file.FileConfiguration data  - + java.io.File datafile  - + java.lang.String defaultChannel  - + java.lang.Boolean JSON  - + static org.bukkit.configuration.file.YamlConfiguration LANG  - + static java.io.File LANG_FILE  - -ChatMode + +ChatType md  + +PlaceHolderAPIHook +papi  + net.milkbowl.vault.permission.Permission perms  @@ -425,7 +433,7 @@ extends org.bukkit.plugin.java.JavaPlugin @@ -455,6 +463,15 @@ extends org.bukkit.plugin.java.JavaPlugin
public java.util.ArrayList<java.util.UUID> spytoggle
+
+ + + @@ -512,12 +529,21 @@ extends org.bukkit.plugin.java.JavaPlugin -
    +
    • LANG_FILE

      public static java.io.File LANG_FILE
    + + + +
diff --git a/docs/me/ryandw11/ultrachat/api/ChatType.html b/docs/me/ryandw11/ultrachat/api/ChatType.html new file mode 100644 index 0000000..86504b3 --- /dev/null +++ b/docs/me/ryandw11/ultrachat/api/ChatType.html @@ -0,0 +1,353 @@ + + + + + +ChatType + + + + + + + + + + + + +
+
me.ryandw11.ultrachat.api
+

Enum ChatType

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • java.lang.Enum<ChatType>
    • +
    • +
        +
      • me.ryandw11.ultrachat.api.ChatType
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<ChatType>
    +
    +
    +
    +
    public enum ChatType
    +extends java.lang.Enum<ChatType>
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      CHANNEL 
      NORMAL 
      RANGE 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static ChatTypevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static ChatType[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        NORMAL

        +
        public static final ChatType NORMAL
        +
      • +
      + + + +
        +
      • +

        CHANNEL

        +
        public static final ChatType CHANNEL
        +
      • +
      + + + +
        +
      • +

        RANGE

        +
        public static final ChatType RANGE
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ChatType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ChatType c : ChatType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ChatType valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/me/ryandw11/ultrachat/api/JSONChatBuilder.html b/docs/me/ryandw11/ultrachat/api/JSONChatBuilder.html new file mode 100644 index 0000000..1a60f3b --- /dev/null +++ b/docs/me/ryandw11/ultrachat/api/JSONChatBuilder.html @@ -0,0 +1,401 @@ + + + + + +JSONChatBuilder + + + + + + + + + + + + +
+
me.ryandw11.ultrachat.api
+

Class JSONChatBuilder

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • me.ryandw11.ultrachat.api.JSONChatBuilder
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class JSONChatBuilder
    +extends java.lang.Object
    +
    API to standardize JSONChatBuilding +

    To be used with the MessageBuilder MessageBuilder

    +
    +
    Since:
    +
    2.4
    +
    Author:
    +
    Ryandw11
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        JSONChatBuilder

        +
        public JSONChatBuilder(java.lang.String displayMessage)
        +
        Create a JSON Message
        +
        +
        Parameters:
        +
        displayMessage - The base string that you would hover or click on.
        +
        +
      • +
      + + + +
        +
      • +

        JSONChatBuilder

        +
        public JSONChatBuilder(java.lang.String displayMessage,
        +                       org.bukkit.entity.Player p)
        +
        Create a JSON Message
        +
        +
        Parameters:
        +
        displayMessage - The base string that you would hover or click on.
        +
        p - The player to use when doing PlaceHolders.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setHoverShowText

        +
        public JSONChatBuilder setHoverShowText(java.util.List<java.lang.String> lore)
        +
        Add a hove message. (ChatColors are translated)
        +
        +
        Parameters:
        +
        lore - Lore
        +
        +
      • +
      + + + +
        +
      • +

        setClickOpenUrl

        +
        public JSONChatBuilder setClickOpenUrl(java.lang.String url)
        +
        Have the JSON open up a url.
        +
        +
        Parameters:
        +
        url - The url
        +
        Returns:
        +
        The builder
        +
        +
      • +
      + + + +
        +
      • +

        setClickRunCommand

        +
        public JSONChatBuilder setClickRunCommand(java.lang.String command)
        +
        Have the JSON run a command.
        +
        +
        Parameters:
        +
        command - The command to run
        +
        Returns:
        +
        The builder
        +
        +
      • +
      + + + +
        +
      • +

        setClickSuggestCommand

        +
        public JSONChatBuilder setClickSuggestCommand(java.lang.String command)
        +
        Have the JSON suggest a command
        +
        +
        Parameters:
        +
        command - The command
        +
        Returns:
        +
        The Builder
        +
        +
      • +
      + + + +
        +
      • +

        build

        +
        public net.md_5.bungee.api.chat.BaseComponent[] build()
        +
        Build the JSONChatMessage
        +
        +
        Returns:
        +
        The BaseComponent[]
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/me/ryandw11/ultrachat/api/Lang.html b/docs/me/ryandw11/ultrachat/api/Lang.html index 9e11fc2..6587f06 100644 --- a/docs/me/ryandw11/ultrachat/api/Lang.html +++ b/docs/me/ryandw11/ultrachat/api/Lang.html @@ -2,9 +2,9 @@ - + Lang - + @@ -49,8 +49,8 @@ var activeTableTab = "activeTableTab";