2.2.0
This is yet another HUGE update for my placeholder registration system. The plugin is now 100+ classes smaller and has 0 extra dependencies.
This new system is still a work in progress but all testing that has been done seems to work perfectly.
So what is the new system? It is called "PlaceholderExpansions".
This new "expansion" system allows you to choose what placeholders you want to use by simply dropping the jar file associated with a specific placeholder inside of your /plugins/placeholderapi/expansions/ folder.
This system is very easy to use for developers and also allows me the ability to update a single hook if a hook ever breaks from it's dependency updating and/or changing its API. This expansion system is also very powerful as far as what you can do with it. Only expansions that you want to use are added so this means less disk space used from a huge plugin filled with tons and tons of classes that are never used / initialized.
This update does not break any plugins that add or obtain placeholders through the api. This new system only replaces the internal plugin placeholder hook system.
A guide will be up soon on how to use this new API to create your own expansions, this update will not break any existing hooks from external plugins.
This version also temporarily removes the "injector" function as I am currently writing an update which will make that completely optional / modular as well
Do not update to your live server and expect all placeholders to be available right away! I am working hard on converting all of the old hooks to "expansions" but this does take time as I have to do quite a bit of testing with each expansion to ensure everything works as intended. Hundreds of expansions are expected to be released over the next few weeks.
This version will require a config.yml reset
If you are interested in checking out what is new, I have released the javadocs for this update
here
A guide and example expansion will be posted on the wiki soon.
Almost forgot.... Much thanks to
@vk2gpz as he helped with the expansion concept and also helped me with a few internals that are extremely important to expansions.