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

GH-446 Notice #446

Merged
merged 19 commits into from
Jun 21, 2023
Merged

GH-446 Notice #446

merged 19 commits into from
Jun 21, 2023

Conversation

Rollczi
Copy link
Member

@Rollczi Rollczi commented Jun 18, 2023

New feature:

  • support sound
  • support hide title

New notice API:
image

Examples

empty: []

oneLineChat: "Hello world"

multiLineChat:
  - "Hello"
  - "world"

onJoin:
  title: "Hello world"
  subtitle: "Subtitle"
  times: "1s 2s 1s"
  
onDeath:
  subtitle: "Subtitle"
  chat: "Death message"
  
multiChat:
  actionbar: "Hello world"
  chat:
    - "Hello"
    - "world"

onQuit:
  actionbar: "Hello world"
  sound: "PLAYER_LEVELUP 2.0 1.0" 

exampleWithSoundCategory:
  actionbar: "Hello world"
  sound: "PLAYER_LEVELUP WEATHER 2.0 1.0" # If you want to play a sound in a certain category, for example if a player has the sound category "WEATHER" in the game settings set to 0%, the sound will not play.

onOtherAction:
  titleHide: true

Sound categories:

  • AMBIENT
  • BLOCKS
  • HOSTILE
  • MASTER
  • MUSIC
  • NEUTRAL
  • PLAYERS
  • RECORDS
  • VOICE
  • WEATHER

Copy link
Member

@vLuckyyy vLuckyyy left a comment

Choose a reason for hiding this comment

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

konflikty trzeba naprawic, a tak po za tym to mi sie podoba

# Conflicts:
#	eternalcore-core/src/main/java/com/eternalcode/core/EternalCore.java
#	eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/SpeedCommand.java
#	eternalcore-core/src/main/java/com/eternalcode/core/translation/Translation.java
#	eternalcore-core/src/main/java/com/eternalcode/core/translation/implementation/ENTranslation.java
#	eternalcore-core/src/main/java/com/eternalcode/core/translation/implementation/PLTranslation.java
Copy link
Member

@vLuckyyy vLuckyyy left a comment

Choose a reason for hiding this comment

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

Wszystkie In zostały zmienione na fadeIn troche wypisałem, ale przydałoby się poprawić bo dużo zbędnych klas jest w review.

@@ -24,7 +24,7 @@ public class PluginConfiguration implements ReloadableConfig {
"#",
"# This is the main configuration file for EternalCore.",
"#",
"# If you need help with the configuration or have any questions related to EternalCore, join us in our discord, or create an issue on our GitHub.",
"# If you need help with the configuration or have any questions related to EternalCore, join us fadeIn our discord, or create an issue on our GitHub.",
Copy link
Member

Choose a reason for hiding this comment

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

Czemu to się zmieniło na fadeIn?

Copy link
Member

@vLuckyyy vLuckyyy left a comment

Choose a reason for hiding this comment

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

Reszta chyba git, jak znajdę błąd to napisze

@vLuckyyy
Copy link
Member

Ponadto poprawie od siebie komentarze dot. Notification w domu.

@Rollczi Rollczi changed the title Notice GH-446 Notice Jun 19, 2023
@Rollczi Rollczi merged commit 1030b6e into master Jun 21, 2023
@Rollczi Rollczi deleted the notice branch June 21, 2023 20:54
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