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
base: dev
Are you sure you want to change the base?
Conversation
heypr
commented
May 8, 2024
- Requested by Gravitation on Discord.
// Returns the player's client options. | ||
// The allow_server_listings & text_filtering_enabled options are only available in MC 1.19+. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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