ChatColor ✨ Custom Patterns ✅ Full Configurable icon

ChatColor ✨ Custom Patterns ✅ Full Configurable -----

ChatColor [1.8 - 1.21] Full Configurable | Custom Patterns | PlaceholderAPI Support




Uploaded correct version, download again ^^
----------, Nov 16, 2024

Updated dependencies
Added compatibility with +1.21
----------, Nov 16, 2024

• HikariCP implemented for MySQL connections
• Fixed the bug where the database closed connections after a period of inactivity
----------, Aug 23, 2024

• Dependencies updated
• Fixed an error that did not allow the gui to be opened due to the use of custom heads in versions lower than 1.20
----------, Aug 11, 2024

• Added 1.21 compatibility
----------, Jun 27, 2024

• Added 1.20 - 1.20.6 compatibility
• Fixed player heads issues
• Added new configuration to use /chatcolor as /chatcolor gui
upload_2024-5-7_20-4-58.png
(If it does not appear in your config.yml file, add it manually)
----------, May 8, 2024

Fixed a bug where SinglePattern allowed writing with any color
----------, Dec 9, 2023

Fixed skull related issues on 1.20.2
----------, Nov 22, 2023

• Fixed NoSuchFieldException when opening gui
• Fixed NullPointerException when typing in chat without having loaded data
• Updated dependencies to be compatible with 1.20.1
----------, Jul 2, 2023

• Fixed %chatcolor_last_message% placeholder
• Changed default EventPriority from NORMAL to LOW
----------, Mar 23, 2023

• Added setting to change the EventPriority, that allows ChatColor to be much more compatible with other plugins that format the chat
upload_2023-3-22_14-18-26.png
----------, Mar 22, 2023

• A wiki was created https://github.com/MattyHD0/ChatColor/wiki
• Added support for color codes in chat (for this to work you have to set `config.translate-chat-colors: true` in the config.yml file)
[​IMG]
----------, Jan 29, 2023

This update recodes a large part of the plugin, so it may contain errors, if you find any errors or have any problems enter the discord and report it and I will solve it as quickly as possible

• The configuration file system was recoded.
• Fixed an error that closed the connection with the database
• Fixed a bug that allowed players to get gui items
• Fixed misspelled base64 values in patterns.yml
• Fixed the /chatcoloradmin reload command did not reload the patterns
• Now all patterns accept all types of color formats
• Added a new pattern GRADIENT_RANDOM
[​IMG]
• Added a system that verifies if the configuration is correct
[​IMG]
----------, Jan 26, 2023

Fixed EventPriority too high
----------, Jan 12, 2023

• Updated SpigotAPI to 1.19.3
• Fixed GUI skipping some items
• Partial recoded to Main class and PatternManager class
• Some internal changes
• Fixed and optimized GradientPattern maths
[#6DD5FB > #FD73FC] Old
[​IMG]
[#6DD5FB > #FD73FC] New
[​IMG]
----------, Jan 12, 2023

• Added MySQL Support
----------, Jan 26, 2022

• The version number was corrected
----------, Jan 20, 2022

• Multiple gradient color system was improved
----------, Jan 20, 2022

• Some of the ChatColor and ChatColorAdmin command code was optimized
• Gradient system was optimized and improved

Before:
gradient_before.png

After:
gradient_after.png
----------, Jan 20, 2022

• Fixed OutOfMemoryError
• Fixed Cannot invoke "me.mattyhd0.ChatColor.UpdateChecker.SpigotResource.getCurrentVersion()" because "this.spigotResource" is null
----------, Jan 18, 2022

• Now the plugin uses 1.18 IDs regardless of the version running on the server.
[​IMG]
• An error with gradients in versions lower than 1.16.5 has been resolved.
• Bold, italic, underline, magic and strikethrough styles have been optimized.
• The default GUI configuration was updated.
Screenshot_1.png
----------, Jan 17, 2022

• Now it is not necessary to have the AdvancedColorAPI plugin installed to use the GRADIENT type

• The UpdateChecker now consumes less resources

• Added the configuration bold, italic, underline, magic and strikethrough

upload_2022-1-9_14-45-11.png
Screenshot_7.png

• The plugin now supports CustomModelData in versions higher than 1.14.4

custom_model_data.png
----------, Jan 9, 2022

• Fixed a bug where the GUI IDs were not displayed correctly in versions higher than 1.8
• Fixed a bug whereby when the GUI was opened from another GUI plugin like DeluxeMenu the inventory items could be grabbed
----------, Dec 15, 2021

• Fixed NoSuchFieldError (GUI Custom Skulls)
• Fixed IllegalArgumentException (GUI Sound Action)
• Fixed a bug where the ids were not getting correctly in the GUI
• Added a new option (open-sound) in gui.yml
upload_2021-12-14_14-24-51.png
----------, Dec 14, 2021

• AuthorNagException error has been fixed
• Added the gui SOUND action
upload_2021-12-13_4-16-40.png
• Added support for custom heads in the gui
upload_2021-12-13_4-18-1.png
----------, Dec 13, 2021

• The GUI system has been changed fixing and optimizing code

• The system that the plugin uses to save data has been changed

• The system that imports items from the configuration has been changed.
Before:
upload_2021-12-11_6-45-46.png
Later:
upload_2021-12-11_6-45-31.png

• If you are a developer and you would like to use ChatColor in your plugin you can use the following methods
Code (Java):
Pattern pattern = PatternLoader. getPatternByName ( "rainbow" ) ;
List <Pattern > patterns = PatternLoader. getAllPatterns ( ) ;

String patternName = pattern. getName ( false ) ;
String patternNameFormatted = pattern. getName ( true ) ;

String textFromPattern = pattern. getText ( "My colored text :D!" ) ;

CPlayer cplayer = CPlayer (player ) ;

cplayer. setPattern (pattern ) ;
Pattern playerPattern = cplayer. getPattern ( ) ;
cplayer. disablePattern ( ) ;

//Returns if the player has permission to use the pattern (if the pattern has a permission)
boolean canUse = cplayer. canUsePattern (pattern )
----------, Dec 11, 2021

• Fixed a when writing through the chat having a pattern that does not have permission
----------, Dec 9, 2021

• Added update-checker: true in config.yml
• Added show-pattern-only-if-has-permissions in config.yml
upload_2021-12-9_0-35-6.png
----------, Dec 9, 2021

• Added support for PlaceholderAPI placeholders to /chatcolor gui
----------, Nov 23, 2021

• Event Priority was changed to increase compatibility with chat plugins
----------, Nov 3, 2021

• Removed a line of code used for debugging
----------, Nov 2, 2021

• File handling was optimized
• Fixed some /chatcolor gui bugs
• Now hexadecimal colors can be used in messages (messages.yml)
• Tabcompletions added to all commands

upload_2021-11-2_9-25-47.png
upload_2021-11-2_9-25-54.png

upload_2021-11-2_9-26-12.png
upload_2021-11-2_9-26-16.png
upload_2021-11-2_9-26-19.png
----------, Nov 2, 2021

Fixed org.bukkit.command.CommandException: Unhandled exception executing command 'chatcoloradmin' in plugin ChatColor v2.1.1
...................
Caused by: java.lang.NullPointerException: Cannot invoke "String.length()" because "replacement" is null
----------, Nov 1, 2021

• Now the messages that are sent to the players with the /chatcoloradmin command can be deactivated (Only the messages that are sent to the targets, not the senders), to deactivate a message you have to leave it as follows:

upload_2021-10-31_22-2-37.png

• Added various checks to the settings to avoid exceptions when running the /chatcolor gui and /chatcoloradmin gui <player> command
• The code was optimized by removing classes that were not used
• The /chatcolor gui and /chatcoloradmin gui <player> command has been optimized
----------, Nov 1, 2021

config.yml split into 3 files:
• config.yml
• messages.yml
• gui.yml

Changes in gui actions:
• EQUI-PATTERN is now SET-PATTERN

added 2 gui actions:
• CONSOLE-COMMAND
• PLAYER-COMMAND

Changes to gui creation:
• now you can add your own items as seen in the following example
Code (YAML):
   example-item:
      type
: ARROW
      damage
: 15
      name
: "&aMenu"
      amount
: 1
      lore
:
       - "&7Click to back to the main menu."
      actions
:
       - "PLAYER-COMMAND:menu"
      slots
:
       - 45

Changes to the commands:
• /chatcolor reload is now /chatcoloradmin reload

New commands and permissions were added:
• /chatcoloradmin help
• /chatcoloradmin set <player> <pattern> - chatcolor.admin.set
• /chatcoloradmin disable <player> - chatcolor.admin.disable
• /chatcoloradmin gui <player> - chatcolor.admin.gui
• /chatcoloradmin reload - chatcolor.admin.reload
upload_2021-10-27_16-40-52.png
----------, Oct 27, 2021

Could not pass event InventoryCloseEvent fixed
----------, Oct 22, 2021

command /chatcolor gui was added, its permission is chatcolor.gui

it is recommended to delete your patterns.yml and config.yml but if you don't want to do the following


configure your patterns as follows:
Code (YAML):
gradient:
  mode
: "GRADIENT"
  color-merging
: 0.08
  colors
: #You can add more than 2 colors
    - ' #0ff1ce'
    - ' #ff80ed'
  gui-item
:
    slot
: 15
    has-permission
:
      type
: INK_SACK
      damage
: 12
      amount
: 1
      name
: "&7Equip: {pattern_name_formatted}"
      lore
:
       - "&8ChatColor Pattern"
        - ""
        - "&7This is a ChatColor pattern"
        - "&7This pattern would look like this:"
        - "&7{example_text}"
        - ""
        - "&aClick to equip {pattern_name}!"
      actions
:
       - "EQUIP-PATTERN:{pattern_name}"
        - "MESSAGE:&7You equipped the pattern {pattern_name_formatted}"
        - "CLOSE-INVENTORY"
    has-not-permission
:
      type
: STAINED_GLASS_PANE
      damage
: 14
      amount
: 1
      name
: "&7Equip: {pattern_name_formatted}"
      lore
:
       - "&8ChatColor Pattern"
        - ""
        - "&7This is a ChatColor pattern"
        - "&7This pattern would look like this:"
        - "&7{example_text}"
        - ""
        - "&cYou don't have permissions to do that!"
      actions
:
       - "MESSAGE:&cYou do not have permission to use this pattern!"
        - "CLOSE-INVENTORY"
and add this to config.yml
Code (YAML):
gui:
  colored-example-text
: "this is just a sample text"
  gui
:
    title
: "&8ChatColor GUI"
    rows
: 6
  items
:
    decoration
:
      type
: STAINED_GLASS_PANE
      damage
: 15
      name
: " "
      amount
: 1
      lore
:
       - ""
      slots
:
       - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 17
        - 18
        - 26
        - 27
        - 35
        - 36
        - 44
        - 45
        - 46
        - 47
        - 48
        - 49
        - 50
        - 51
        - 52
        - 53
messages
:
  gui-opened
: "%prefix% &7The patterns gui was opened."
 

upload_2021-10-22_13-55-48.png upload_2021-10-22_13-55-59.png
----------, Oct 22, 2021

Now the patterns chosen by the players will be saved in a file (playerdata.yml)
----------, Oct 22, 2021

Support for hexadecimal colors was added, to activate this you have to enable use-hex-colors

upload_2021-10-12_5-23-18.png

To use it you must configure the pattern in this way

upload_2021-10-12_5-24-45.png
----------, Oct 12, 2021

All styles(patterns) were reprogrammed and optimized
Fixed characters being added when sending a message that already had colors
Added a new style for versions higher than 1.16 (GRADIENT), For this you need AdvancedColorAPI ( https://www.spigotmc.org/resources/advancedcolorapi.92021/)
examples.png
Now the patterns will no longer be configured in config.yml, now they will have to be configured in patterns.yml
----------, Aug 11, 2021

The %chatcolor_pattern_name% placeholder was added
The %chatcolor_pattern_name_formatted% placeholder was added
----------, Jun 15, 2021

Added an update checker that will notify staff every time a new update comes out (Permission: chatcolor.updatenotify)
The update checker can be disabled from the config.yml file
Now /chatcolor reload can be run from the console
----------, Jun 12, 2021

Fixed a NullPointerException on linux
Fixed config.yml
bStats was added
----------, Jun 11, 2021

Added descriptions of all commands in /chatcolor help
----------, Jun 11, 2021

Resource Information
Author:
----------
Total Downloads: 7,505
First Release: Jun 11, 2021
Last Update: Nov 16, 2024
Category: ---------------
All-Time Rating:
17 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings