Adding support with API
Guide on how to add support to our heads using the API
Adding support is very easy! It's as simple as allowing players to input their desired custom head id and loading the head item from our API.
1. Add AdvancedHeads
as a soft dependency into your plugins.yml file
AdvancedHeads
as a soft dependency into your plugins.yml fileplugin.yml
2. Example integration into a config file:
config.yml
3. Now, onto the loading part from code:
Main.java
4. The result
Now you have an itemstack, which looks like this in-game:
Last updated