Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public API & plugin support #29

Open
foxfirecodes opened this issue Feb 13, 2020 · 1 comment
Open

Public API & plugin support #29

foxfirecodes opened this issue Feb 13, 2020 · 1 comment

Comments

@foxfirecodes
Copy link
Owner

This was a feature requested at some point in Discord: the ability to have other plugins hook into DecoHeads to get the heads from DecoHeads to be used in things like GUIs.

Current planned support:

@crashdemons
Copy link

crashdemons commented Sep 25, 2020

regarding implementing your own API - I created a very rough mockup of your plugin with lightweight API module containing a few methods (getting heads, looking up heads, creating head items with the same styling as the GUI-spawned item)
https://github.com/crashdemons/DecoHeads/tree/5284a56195bcb37d43a8607e46caef6981c057c8
[ignore any license notices, I forgot to disable the option]

I don't know if you're interested but it might give you a skeleton to add things to unless you had something else in mind.

This uses a multi-module project layout, it would also be possible to do a separate API project (just without the parent POM), but it's harder to show an example of it or pull it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants