I forgot to remove the dependency after I removed the code that used JSONMessage. This fixes that by removing both the repository and the dependency from the pom file.
Credit to Fleek for some of the code here.
Bugs that were fixed:
* [Media] showing up with an extra space at the beginning of blank messages with attachments
* Admin chat using incorrect colors for its ranks in messages from Discord to Minecraft
* Admin notes not sending to admins, only admin impostors
Lombok implementation removal.
I have also gone through and replaced things with inline methods and variables, lambdas, and simplified loops down, removed unnecessary guard clauses, and overall cleaned up every single class. This took a long time, please do remember to follow proper naming conventions, don't include unnecessary guard clauses, follow exception rules and comment rules, and please PLEASE remember to use the DIAMOND OPERATOR rather than just inferring RAW TYPES!!!
Thank you!!
* rename everything containing staff back to admin (as requested by ryan i've renamed commands like slconfig to saconfig but left "slconfig" as an alias)
* format almost every file correctly
* a few other improvements
Version 5.0
This TotalFreedomMod release implements many changes. Most notably, the
internals have been completely revamped. TotalFreedomMod now relies on the
Aero library for core mechanics such as command handling and services.
Another important change is the UUID system. In TotalFreedomMod Electrum,
it has been completely removed. The core reason for this is that the
system as a whole was very bugged. Additionally, it did not solve the
primary reason for its conception: preserving player data when the player
changes their username. This is because TotalFreedomMod servers usually
run in offline-mode. This meaning that some of the players joining do not
have a registerd Mojang UUID whatsoever. All in all, the UUID system was
buggy, and it did not fix the reason it was implemented, so it has been
completely removed. The admin list and the ban list now use usernames and
IPs again.
Lastly, many smaller changes have been implemented. Due to the amount of
changes, they have not been named individualy. Please refer to the issues
below for more details.
Fixes#342Fixes#350Fixes#380Fixes#684Fixes#704Fixes#716Fixes#735Fixes#745Fixes#784Fixes#765Fixes#791Fixes#805Fixes#826Fixes#883Fixes#1524Fixes#1534Fixes#1536Fixes#1538Fixes#1545Fixes#1546Fixes#1568Fixes#1627Resolves#403Resolves#435Resolves#597Resolves#603Resolves#628Resolves#690Resolves#708Resolves#747Resolves#748Resolves#749Resolves#764Resolves#767Resolves#782Resolves#809Resolves#803Resolves#811Resolves#813Resolves#830Resolves#848Resolves#856Resolves#876Resolves#908Resolves#992Resolves#1018Resolves#1432Resolves#1446Resolves#1494Resolves#1501Resolves#1526Resolves#1540Resolves#1550Resolves#1560Resolves#1561Resolves#1578Resolves#1613
Refractoring
Reworked /saconfig
Reworked part of the command system
Removed unused config sections
Refractored part of the config
Fixed bugs with admin list
Actually allow CONSOLE to have senior perms