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

Paper-only client_options tag. #2619

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

heypr
Copy link
Contributor

@heypr heypr commented May 8, 2024

Comment on lines 39 to 40
// Returns the player's client options.
// The allow_server_listings & text_filtering_enabled options are only available in MC 1.19+.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to document what exactly does the map have - but are we sure a map is the best way to implement this? it'll probably mostly be used as <[player].client_options.get[option]>, might make more sense to do <[player].client_option[<option>]> or something?

// - 'chat_colors_enabled' (ElementTag(Boolean)): whether the player has chat colors enabled.
// - 'chat_visibility' (ElementTag(String)): the player's current chat visibility option. Possible output values are: FULL, SYSTEM, HIDDEN, and UNKNOWN.
// - 'locale' (ElementTag(String)): the player's current locale.
// - 'main_hand' (ElementTag(String)): the player's main hand, either LEFT or RIGHT.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ElementTag(String) does not exist

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

Successfully merging this pull request may close these issues.

None yet

3 participants