HexNicks - Easy nicknames with gradients! icon

HexNicks - Easy nicknames with gradients! -----

Allow players to easily change their nickname and utilize hex color codes and gradients.




Another very minor update with some useful fixes.

Changes ☑️
- A few bug fixes related to color parsing.
- Your own nickname/username won't count against you when preventing duplicate nicknames.
- Other player usernames will also be prevented from being used in /nick.
----------, Jan 14, 2022

This is a very minor update that adds a lot of small new features and squashes some bugs.

Changes ☑️
- New config option for preventing players from having the same nickname.
- Added ability to block color usage with permissions, read here.
- PlaceholderAPI placeholders will now be parsed in chat format.
- Chat format can now contain legacy codes on Paper if legacy support is enabled.
- Fix typo permission issue.
- Standard code cleanup.
----------, Jan 7, 2022

Okay not async *everything* but a lot of stuff that should be async now is!

Changes ☑️
- Switched access to MySQL database from synchronous to asynchronous.
- Added support for autoReconnect flag for MySQL.
- Implemented feature requested in #36. Options for disabling text decorations.
- Did some normal code cleanup.
- Fixed bug with overflowing colors in chat on Spigot.
----------, Nov 30, 2021

# HexNicks 2.1.4 - Essentials Compatibility
Essentials compatibility has been plaguing HexNicks since the beginning. It's by far the most talked about issue in
my Discord. This update should allow the two plugins to work together out of the box.

Changes ☑️
- New EssentialsHook should allow HexNicks and Essentials to work with one another out of the box.
- Config option for whether to override Essentials nick with new hook (true by default).
- Add JavaDocs and sources on Maven deploy.
- Fixed UpdateChecker bug with -SNAPSHOT versions.
- Add JavaDocs to main branch in /docs.
- Refactor logger from SL4J to Bukkit standard.
----------, Oct 22, 2021

Fixed #30 - bug with /realname when nicknames included spaces.
----------, Oct 18, 2021

This a very small update with some code cleanup, dependency bumps, and an improved back-end for color parsing.

Changes
  • Cleaned up a lot of code.
  • Bumped adventure dependencies to 4.9.2.
  • Bumped MiniMessage to 4.2.0-SNAPSHOT.
  • Improve back-end for color parsing with new MiniMessageWrapper.
  • Add package-info.javas for coming JavaDocs.
  • Added two new workflows for GitHub CI.
----------, Oct 17, 2021

A few changes:
  • New permission hexnicks.chat.advanced for permission to inject things like hover text, click event, etc. into chat messages.
  • Fix SQL storage issue with inserting usernames instead of nicknames.
  • Send a message to opped players if there's an update (can be disabled in config).
----------, Sep 30, 2021

New command, new config option, and bug fixes.
  • New /realname <nickname> command to find the name of the player the nickname belongs to.
  • New config option for default username color. If a player doesn't have a nickname then the PlaceholderAPI placeholder and HexNicks will display their username colored with this default color.
  • Fixed Spigot chat event firing at highest priority.
  • Chat messages will now be formatted along with nicknames in chat.
  • Bump ConfigUpdater to a newer, hopefully better, version.
A lot of these changes, including /realname, were made due to requests in Discord. If you have an idea for a way to improve the plugin don't hesitate to let me know here!
----------, Sep 20, 2021

2 bug fixes and a new config option:
- fixed custom pie chart for using chat formatter on bStats
- fixed error with malformed Json due to async task
- added new config option for the default color of nicknames if none is provided
----------, Sep 14, 2021

Bug fixes, and dependency bumps:
  • bumped adventure dependencies
  • new MiniMessageWrapper to deal with removing mm tokens via regex
  • fix /reload applying tab nicks if the setting was changed
  • fixed prefixes and suffixes not being formatted
  • fixed prefix suffix mix-up
3 new permissions, all given by default:
  • new perm hexnicks.nick.color: Permission to use standard color codes in nicknames.
  • new perm hexnicks.nick.hex: Permission to use hex color codes in nicknames.
  • new perm hexnicks.nick.gradient: Permission to use gradients in nicknames.
----------, Sep 13, 2021

A few miscellaneous bug fixes and dependency bumps:
  • fixed chat being formatted on Spigot even if set to false in config.yml
  • plugin will run on paper version when on a newer build of 1.16.5 instead of only on 1.17+
  • random code cleanup
----------, Aug 23, 2021

Fixed a few bugs relating to MySQL nickname storage. Also fixed bug with PlaceholderAPI placeholder not showing colors properly.
----------, Aug 8, 2021

Bug fixes relating to MySQL. Bumped a few dependencies.
----------, Aug 8, 2021

READ THIS BEFORE DOWNLOADING NEW VERSION

HexNicks has been rewritten to better support both Spigot and Paper. The plugin has moved away from the string-with-section-symbols model in favor of Components. Even when the plugin is being used on Spigot nicknames will be saved as Components.

How to install: Please delete the previous data folder and jar file before uploading the new one. Because of the change in storage, nicknames will have to be remade.

Changes:
- Switched parser to MiniMessage
- Added built-in chat formatter
- Separated /nick and /nickother
- Expanded API
- Improved MySQL and Json storage backend
- Legacy color code (&a, &l, etc.) support disabled by default
- Improved permission system

Once again, please report any bugs/feedback in my Discord!
----------, Jul 17, 2021

Removed use-permissions option from config.yml and switched to giving all permissions by default. They can still be negated by a permissions manager.
----------, Jun 25, 2021

Fixed bug on Spigot with no class found error.
----------, Jun 18, 2021

HexNicks now supports Minecraft 1.17+
This update has no major changes but clarifies version support for 1.17.

Changes Made
- Switched compiler to Java 11.
- Tested in 1.17.
Planned Changes
- Better support for Adventure API/Newest PaperMC.
- Refactor Json Simple to Gson.

If you find any bugs in the new version please post about them in the #bug-reports channel of my discord! https://discord.majek.dev
----------, Jun 18, 2021

Added two new permissions, both are included in hexnicks.use but can be negated.

hexnicks.colors.hex: Allows players to use hex colors and gradients in their nicknames.

hexnicks.colors.normal: Allows players to use legacy Minecraft color codes in their nicknames.

Fixed bugs with the newest PaperMC/Adventure throwing errors.
----------, May 16, 2021

Introducing gradients!
[​IMG]
Now HexNicks makes it easy to get beautiful gradients in your nicknames. The formatting is simple, for the example above the command was:
Code (Text):
 /nick <gradient:#1eae98:#d8b5ff>Majekdor</gradient>
Note: The closing tag is optional if you don't want anything after the initial text.
The first gradient tag can also take more than 2 hex codes, though they must be in the standard six-character hex format.

This update also adds support for PlaceholderAPI! If you want to use a player's nickname from HexNicks in a message the placeholder is %hexnicks_nick%. If you want any other placeholders please let me know on Discord.

I have also added a new config option for whether or not to have HexNicks apply color codes to messages in the chat. By default, the plugin will not format normal chat messages. You can enable it in the config.yml. If use-permissions is enabled, only players with the permission node "hexnicks.chat" will be able to use color codes in chat.

Behind the scenes:
HexNicks has switched to JSON for nickname storage. You shouldn't even notice this as the plugin will automatically pull nicknames from the old storage file into JSON and delete the old file.
----------, Apr 17, 2021

Changes Made:
- Added ability for staff to add and remove player nicknames.
- Added config reload command.
- Cleaned up code.

Planned Changes:
- PlaceholderAPI Support
----------, Feb 22, 2021

- Added support for storing nicknames using MySQL.
- Add your database in the config file if you wish to use this.
- Nicknames currently stored via the config file should transfer over.
----------, Nov 2, 2020

Don't mind me... just finding a bug 3 minutes after pushing. :)
----------, Sep 26, 2020

Added command /nickcolor - Allows players with the permission node hexnicks.changecolor (if use-permissions is set to true in the config!) to change the color of their name while blocking them from changing the name itself.

Examples:
/nickcolor &a --> makes the color green
/nickcolor #00FF00 --> makes the color green :)
/nickcolor &aMajek&4dor --> makes the color green and red!
^ Please note /nickcolor only accepts text other than color codes if it's the same as your name!
----------, Sep 26, 2020

Fixed bug where the killer's nickname didn't show up properly in death messages.
----------, Sep 17, 2020

Added the ability to use nicknames in join, leave, and death messages.

Added the ability to format join and leave messages if you're using nicknames in them.

Note: The ability to use nicknames in the player name above a player's head was requested. This would require adding ProtocolLib in as a dependency. Are there more people interested in that? If multiple people want it then maybe I'll add it as a soft-depend.
----------, Sep 17, 2020

Fixed bug where tablist didn't save on relog.
----------, Sep 16, 2020

Added an option in the config file to enable nicknames in the tablist (set to false by default)

Also added support for spaces in nicknames by using /nick "part1 part2" making sure to have both quotation marks.
----------, Sep 15, 2020

Added metrics support via bStats and fixed an issue with /nonick
----------, Sep 5, 2020

Resource Information
Author:
----------
Total Downloads: 24,590
First Release: Sep 5, 2020
Last Update: Jan 14, 2022
Category: ---------------
All-Time Rating:
26 ratings
Find more info at hexnicks.majek.dev...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings