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

Suggestion | Custom Argument Types #48

Open
Brittank88 opened this issue Nov 22, 2022 · 0 comments
Open

Suggestion | Custom Argument Types #48

Brittank88 opened this issue Nov 22, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Brittank88
Copy link

Currently, registering custom argument types (implementing ArgumentType<?>) will prevent clients without that registered argument type from joining. If not registered in the Registry.COMMAND_ARGUMENT_TYPE registry, apparently it should allow vanilla clients to join, but all the helpful stuff like command suggestions, etc. will not work for that type.

I'm suggesting a PolymerArgumentType<?> that implements ArgumentType<?> and presents itself as a standard StringArgumentType to clients.

@Patbox Patbox added the enhancement New feature or request label Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants