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

Only send advancements to Velocity that are broadcast to the in-game chat #3

Merged
merged 2 commits into from
Jan 26, 2023
Merged

Only send advancements to Velocity that are broadcast to the in-game chat #3

merged 2 commits into from
Jan 26, 2023

Conversation

unilock
Copy link

@unilock unilock commented Jan 26, 2023

this prevents, for example, the "initial" advancements from being sent to Velocity, such as "Minecraft" ("The heart and story of the game") and "Adventure" ("Adventure, exploration and combat").

it also stops advancements from being sent to Velocity when the "announceAdvancements" gamerule is set to "false". this makes sense to me, but what do you think?

(also, it seems that VelocityDiscord can't handle any advancements with colons in the title or description; it prints an "index out of bounds" error.
some solutions i thought of were to either use some other (non-conforming?) character to split the parts of the plugin message, or to send each part of the message separately; that being the player's username, the advancement's title, and the advancement's description.
a datapack with such an advancement can be found here: https://modrinth.com/datapack/tc-woodcutter/version/1.0.0 )

@fooooooooooooooo fooooooooooooooo merged commit 2e4c102 into fooooooooooooooo:fabric Jan 26, 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

Successfully merging this pull request may close these issues.

3 participants