IMPORTANT - MUST READ Hi all, thank you for your continued support on InfoHeads. As mentioned in a previous update, InfoHeads is modularizing itself so it can run on more server software e.g. Spigot, Folia, Sponge etc. This is the first BETA of the new changes. Therefore, please expect some minor bugs that I'll work to fix as they arise.
UPDATING FROM OLD VERSIONS Now, old versions are considered LEGACY. v.2.4.3 will be the last and final version that supports all versions. Upon updating from LEGACY to this version, a converter will run if you have a datastore.json file. This is not perfect but is a means to help with converting if you wish to use the "new" InfoHeads. If you run into any issues with conversions, please choose from the following options: - Re-run the converter (by ensuring you have a file named datastore.json) - Delete your InfoHeads folder and allow the new version to generate for you. - Continue using legacy versions. They are stable, but no longer will receive any support.
Thank you for understanding. Let's hope this change comes across well.
IMPORTANT - MUST READ Hi all, thank you for your continued support on InfoHeads. As mentioned in a previous update, InfoHeads is modularizing itself so it can run on more server software e.g. Spigot, Folia, Sponge etc. This is the first BETA of the new changes. Therefore, please expect some minor bugs that I'll work to fix as they arise.
UPDATING FROM OLD VERSIONS Now, old versions are considered LEGACY. v.2.4.3 will be the last and final version that supports all versions. Upon updating from LEGACY to this version, a converter will run if you have a datastore.json file. This is not perfect but is a means to help with converting if you wish to use the "new" InfoHeads. If you run into any issues with conversions, please choose from the following options: - Re-run the converter (by ensuring you have a file named datastore.json) - Delete your InfoHeads folder and allow the new version to generate for you. - Continue using legacy versions. They are stable, but no longer will receive any support.
Thank you for understanding. Let's hope this change comes across well.
Being Transparent In future, support for any version that is not latest will be dropped.
This is because the internals of the plugin will be getting an adjustment to support different server versions (paper, fabric etc) and, to speed up iterations of features within the plugin and versioning updates.
From a development perspective, this means dropping a few dependencies - which will in turn reduce the size of the software and remove reliance on library updates to support new versions.
If you have any questions or would like to get involved please feel free to get in contact via the github link.
Changed hdb-api scope within maven build tool. (Resolves issues where other plugins use HeadDatabaseAPI as a dependency) Special thanks to Rickebo for pointing this out: https://github.com/harry0198/InfoHeads/issues/10
On a last note, thank you to everybody who has downloaded the plugin, shared it to friends and given support through pointing out issues, making suggestions and/or submitting pull requests. Slowly, this plugin has become very stable for small to medium sized servers without initialising lag or producing any errors. Please continue to input your suggestions and submit code improvements to help keep the project alive.
Soon, I think I will cleanup the code a little further if I manage to find some time as I've learnt a few more concepts within the language and maybe even implement some Scala as I'm learning that too! (Probably not though). I'm going to aim to keep the project as contribute-able as possible so the plugin can keep improving despite my limited time.
- [x] Rerouted command /infoheads to execute /infoheads help (thus removing the invalid command message) - [x] Removed infoheads conversion command from old versions to new. - [x] Improved codebase - [x] Pushed Wiki and improved to centralised wiki https://wiki.haroldstudios.com (More to be added soon)
- [x] Added Block Particles!! Now, if you have BlockParticles installed, infoheads will automatically hook into it, and add an option in the wizard gui.
What's New? - [x] Added a cooldown menu to infoheads. - [x] Fixed a bug where if after editing an infohead, you used /infoheads reload - it wouldn't save the changes. - [x] Improved some documentation
Got a feature you'd like adding? Join the discord page and put it in #infoheads. Link can be found on resource homepage
This version moves the infoheads to the new datastore.json file. To convert your old infoheads over, you must run the command /if convert
What's new?
Infoheads now stored separate to config & in more efficient .json
Editor mode has returned! With this, you can now add, remove and reorganise the ordering of your infoheads! /if edit
Due to a high demand feature request, the plugin no longer removes your inventory when giving infoheads & just adds the skulls to your inventory. It also does not remove these after.
Infohead json protection. If the file gets destroyed for whatever reason while the server is online, it will automatically regenerate with the values it had before destroyed.
What's changed: Front end: + Basic scripting added e.g Run command, wait 5 seconds, print message. + New Element types:
ConsoleCommand
PlayerCommand
Message
Delay
+ Wizard converted to GUI + Wizard now allows for changing block location while in mode + Wizard now allows you to place a specific permission on usage. + Smaller jar file!
BackEnd + Recoded plugin + Vastly improved element handling system, via abstraction plugin now iterate through elements faster and with less code! + Better data storage system. + Added a config converter for people on config-ver: 1 + Using XMaterials for cross-version compatibility + Created a InfoHead Builder with throwable for error catching + Improved class naming scheme + Started using @ipsyko 's command and gui handler + Removed all instances of Guice + More stable hook checking etc.. See src code for more
- [x] Thanks to contributor @Andre_601 head database support has been implemented! - [x] Vault compatibility issue resolved - [x] Config changes! It's suggested that you copy config contents, delete config.yml folder. Restart the server and then paste in old contents as new options have been added.d
Dev notes: - [x] Accidentally switched some code around while updating, leaving the checker for offHand to always return true. Thus executing 1.9+ code in 1.8
Changes: - [x] When the infohead use method is called, timings have been reduced down to roughly 0.009 milliseconds! - [x] All method calls for isValidLocation have been sped up (overall plugin performance increased).
Dev notes: - [x] Switched to a HashSet for fast iteration and checks. - [x] Inventory storage methods are now static for better resource management.
Update mostly performance - [x] Head generation is now cleaner and less spammy code - [x] Edit cmd now uses parent usage error messages - [x] BlockBreakEvent now much more efficient (Switched permission checking to infohead object checking)
- [x] Help menu is now more intuitive. /infoheads help [command] for specific command help. - [x] Vault is no longer required for the plugin to work.
Developer notes: - [x] Command Handler has been updated ready for the upcoming editing feature. - [x] Improved initial setup with switch case. - [x] Plugin now uses Guice for DI. - [x] A few more things need refining.
-[x] Tab completion on sub commands -[x] Wizard command switched to /if wizard -[x] Added help menu -[x] /if delete command & now on breakage of head it's automatically deleted -[x] Fixed "echoing" on a few commands -[x] Wizard item give is now Async due to main thread lag -[x] Wizard mode now asks infinitely, adding lines until told otherwise (multi line support) -[x] Wizard mode now has quick exit ("cancel")
Developer notes: -[x] Removed all usage of Lombok -[x] Moved some fields to private and added respective getters for better usage regulations. -[x] Some methods now need refining down
[+] Removed all signs of reflection [+] Fixed NPE when punching air [+] Added a /infoheads reload command [+] Op now has permission to usage by default [+] Updated plugin page [+] Cleaned up a few code methods [+] Added an FAQ and Contributions page [+] Added PlaceholderAPI Support [+] Something else was fixed but I can't remember what it was!!!
- Removed ambiguous method calls
- Removed bad config calls
- Fixed issue where it would print all of the messages
- Ensured it is per world compatible
IMPORTANT The plugin's config has been changed. This means you will have to delete your config file and restart the server. I recommend saving your values in another file and copying values over in the new relevant boxes.