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

Command support without overriding onCommand() #3

Open
IoIxD opened this issue Jul 2, 2023 · 1 comment
Open

Command support without overriding onCommand() #3

IoIxD opened this issue Jul 2, 2023 · 1 comment

Comments

@IoIxD
Copy link
Collaborator

IoIxD commented Jul 2, 2023

Technically you can create commands already by listening for the appropriate event, but the modern way involves creating a seperate class that implements CommandExecutor, and then adding registering said command so that it shows up in the tab complete menu.

@IoIxD IoIxD closed this as not planned Won't fix, can't repro, duplicate, stale Jul 7, 2023
@IoIxD
Copy link
Collaborator Author

IoIxD commented Jul 13, 2023

Reopened because the Paper decided to make it so we can't use a certain part of Spigot's API, meaning that this will have to be explicitly supported via a workaround.

@IoIxD IoIxD reopened this Jul 13, 2023
@IoIxD IoIxD changed the title Command support Command support without overriding onCommand() Jul 13, 2023
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