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

Vanilla command API access #2

Open
theskyblockman opened this issue Feb 7, 2023 · 0 comments
Open

Vanilla command API access #2

theskyblockman opened this issue Feb 7, 2023 · 0 comments

Comments

@theskyblockman
Copy link
Owner

Hello,
This feature would able the whole plugin to access the vanilla command API which is totally user-friendly ! The only problem is that this API is from the Mojang's brigadier package and CraftBukkit. I already have ideas to access this API, or to access it's benefits. I have already tried using mixins, the only problem is that those mixins are supported mainly in Sponge the problem is that I want to keep the layer cross-version keep only Spigot code for flexibility. Another way this could be implemented is editing network packets using a hook that would attach to the commands packets who would be directly made for this layer, the problem here is that it would need me to inspect the full server/client code for commands to be able to perfectly replicate the vanilla commands API across versions, but I still think that this is the way to go. I already talked to some developers who tried to access the Spigot API but them too couldn't do anything regarding this problem. If anyone has proper understanding of this API, do not hesitate to respond to this issue !

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

No branches or pull requests

1 participant