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

Intro Toast Visibility #878

Merged
merged 6 commits into from
Jun 11, 2023
Merged

Intro Toast Visibility #878

merged 6 commits into from
Jun 11, 2023

Conversation

Bloo-dev
Copy link
Member

@Bloo-dev Bloo-dev commented Jun 8, 2023

This PR addresses issue #875.

Moves the intro toast to a loaction-triggered advancement, thereby making it appear upon first login for every player, letting them know that Gamemode 4 is installed. Also updates the text of this 'Welcome Toast' to use its own translation key and fallback text.

Feel free to discuss the specific fallback message below, especially (check if resolved):

  • Datapacks or Data Packs?
  • Should we use a location trigger, or use an impossible trigger and grant it via functions? The latter would allow for a score-based toggle and/or a score based check instead of relying simple advancement existence.

image showing the toast popup

Changes the advancement trigger to 'location' and removes the command-driven granting.
Removes the degeneracy between the Gamemode 4 Root Advancement and the Welcome Toast's titles.
@Bloo-dev Bloo-dev added the fix This fixes something that was wrong label Jun 8, 2023
@misode
Copy link
Member

misode commented Jun 8, 2023

Datapacks or Data Packs?

Data Packs

Should we use a location trigger, or use an impossible trigger and grant it via functions? The latter would allow for a score-based toggle and/or a score based check instead of relying simple advancement existence.

We can still check scores in advancements

Additionally I think I would prefer a more friendly message than "this world is using Gamemode 4 Data Packs!". Maybe "Thank you for using Gamemode 4 Data Packs!"

@Bloo-dev
Copy link
Member Author

Bloo-dev commented Jun 9, 2023

I have updated the toast message and added a load score check to make sure the advancement doesn't grant itself if the base does not load correctly, as is standard with other Gamemode 4 advancements.

@Bloo-dev Bloo-dev linked an issue Jun 9, 2023 that may be closed by this pull request
Updates Toast message to be in line with discussion on discord.
@Bloo-dev Bloo-dev merged commit df5cf94 into Gamemode4Dev:master Jun 11, 2023
2 checks passed
github-actions bot pushed a commit that referenced this pull request Jun 11, 2023
Moves the intro toast to a loaction-triggered advancement, thereby making it appear upon first login for every player, letting them know that Gamemode 4 is installed. Also updates the text of this 'Welcome Toast' to use its own translation key and fallback text.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix This fixes something that was wrong
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gamemode 4 Welcome Toast Condition
2 participants