Skip to content

Commit

Permalink
v2.0.4: release
Browse files Browse the repository at this point in the history
  • Loading branch information
goodbyepavlyi committed Nov 11, 2024
1 parent f9a88a7 commit 9334930
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 29 deletions.
47 changes: 46 additions & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,27 @@
fadeOut: 10
```

- **PVP Announcement**
- **Effects Used**: Sound and Title
- Configuration:
```yaml
pvp:
sound:
enabled: true
sound: "ENTITY_GENERIC_EXPLODE"
volume: 1.0
pitch: 1.0
title:
enabled: true
titleMessage: "&6PVP is enabled!"
subtitleMessage: "&8Fight to the death!"
fadeIn: 10
stay: 40
fadeOut: 10
```

- **Winner Announcement**
- **Effects Used**: Sound and Particle
- **Effects Used**: Sound, Title and Particle
- Configuration:
```yaml
winner:
Expand All @@ -139,6 +158,13 @@
sound: "ENTITY_PLAYER_LEVELUP"
volume: 1.0
pitch: 1.0
title:
enabled: true
titleMessage: "&6You won!"
subtitleMessage: "&8Congratulations!"
fadeIn: 10
stay: 40
fadeOut: 10
particle:
enabled: true
particle: "FIREWORKS_SPARK"
Expand All @@ -148,6 +174,25 @@
offsetZ: 0.5
speed: 0.1
```

- **Spectator Announcement**
- **Effects Used**: Sound and Title
- Configuration:
```yaml
spectator:
sound:
enabled: true
sound: "ENTITY_WITHER_DEATH"
volume: 1.0
pitch: 1.0
title:
enabled: true
titleMessage: "&cYou lost!"
subtitleMessage: "&8Better luck next time!"
fadeIn: 10
stay: 40
fadeOut: 10
```

---

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>me.goodbyepavlyi.lavarise</groupId>
<artifactId>LavaRise</artifactId>
<version>2.0.3</version>
<version>2.0.4</version>
<packaging>jar</packaging>

<name>LavaRise</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import java.util.stream.Collectors;

public class Config extends YamlConfig {
private final int CONFIG_VERSION = 4;
private final int CONFIG_VERSION = 5;

public Config(LavaRiseInstance instance) {
super(instance, "config.yml", true);
Expand Down
52 changes: 26 additions & 26 deletions src/main/resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 4
version: 5

# Configuration for the game settings
game:
Expand Down Expand Up @@ -46,7 +46,7 @@ game:
- "tell %player% You have been teleported to the lobby!" # Send a message to the players using %player% placeholder

visualEffects:
lava:
lava: # Configuration for the lava phase visual effects
sound:
enabled: true # Enable or disable sound effects during the lava phase
sound: "ENTITY_GENERIC_EXPLODE" # Sound effect to be played during the lava phase
Expand All @@ -59,33 +59,33 @@ game:
fadeIn: 10 # Duration of the title fade-in in ticks
stay: 40 # Duration of the title stay in ticks
fadeOut: 10 # Duration of the title fade-out in ticks
pvp:
pvp: # Configuration for the PVP phase visual effects
sound:
enabled: true # Enable or disable sound effects during the PVP phase
sound: "ENTITY_GENERIC_EXPLODE" # Sound effect to be played during the PVP phase
volume: 1.0 # Volume of the sound effect
pitch: 1.0 # Pitch of the sound effect
enabled: true
sound: "ENTITY_GENERIC_EXPLODE"
volume: 1.0
pitch: 1.0
title:
enabled: true # Enable or disable title messages during the PVP phase
titleMessage: "&6PVP is enabled!" # Title message to be displayed during the PVP phase
subtitleMessage: "&8Fight to the death!" # Subtitle message to be displayed during the PVP phase
fadeIn: 10 # Duration of the title fade-in in ticks
stay: 40 # Duration of the title stay in ticks
fadeOut: 10 # Duration of the title fade-out in ticks
deathmatch:
enabled: true
titleMessage: "&6PVP is enabled!"
subtitleMessage: "&8Fight to the death!"
fadeIn: 10
stay: 40
fadeOut: 10
deathmatch: # Configuration for the death match visual effects
sound:
enabled: true # Enable or disable sound effects during the death match
sound: "ENTITY_GENERIC_EXPLODE" # Sound effect to be played during the death match
volume: 1.0 # Volume of the sound effect
pitch: 1.0 # Pitch of the sound effect
enabled: true
sound: "ENTITY_GENERIC_EXPLODE"
volume: 1.0
pitch: 1.0
title:
enabled: true # Enable or disable title messages during the death match
titleMessage: "&6Death Match!" # Title message to be displayed during the death match
subtitleMessage: "&8Last player standing wins!" # Subtitle message to be displayed during the death match
fadeIn: 10 # Duration of the title fade-in in ticks
stay: 40 # Duration of the title stay in ticks
fadeOut: 10 # Duration of the title fade-out in ticks
winner:
enabled: true
titleMessage: "&6Death Match!"
subtitleMessage: "&8Last player standing wins!"
fadeIn: 10
stay: 40
fadeOut: 10
winner: # Configuration for the sound effect when player wins the game
sound:
enabled: true
sound: "ENTITY_PLAYER_LEVELUP"
Expand All @@ -106,7 +106,7 @@ game:
offsetY: 0.5
offsetZ: 0.5
speed: 0.1
spectator:
spectator: # Configuration for the sound effect when player dies and becomes a spectator
sound:
enabled: true
sound: "ENTITY_WITHER_DEATH"
Expand Down

0 comments on commit 9334930

Please sign in to comment.