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

Add chat client options #7105

Open
wants to merge 7 commits into
base: dev/feature
Choose a base branch
from

Conversation

Efnilite
Copy link
Member

Description

  • Adds chat visibility expression and type
  • Adds condition for whether the player has chat filtering enabled
  • Adds condition for whether the player has chat colours enabled

Target Minecraft Versions: any
Requirements: Paper
Related Issues: none

@Efnilite Efnilite added the feature Pull request adding a new feature. label Sep 21, 2024
src/main/resources/lang/default.lang Outdated Show resolved Hide resolved
src/main/resources/lang/default.lang Outdated Show resolved Hide resolved
src/test/skript/junit/ExprChatVisibility.sk Outdated Show resolved Hide resolved
set {_test} to "org.skriptlang.skript.test.tests.syntaxes.expressions.ExprChatVisibilityTest"
junit test is {_test}

if player's chat visibility is only commands:
Copy link
Member

Choose a reason for hiding this comment

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

honestly seeing this syntax makes me think this should be a custom condition. I'd rather see if player can only see commands in chat or something to that effect

Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Pull request adding a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants