Skip to content

Commit e579ca4

Browse files
vLuckyyyJakubk15
andauthored
Release v2.2.0, Support 1.21.8 (#251)
* Support 1.21.8 * update repo * Release v2.2.0, remove default sound in combat notification. --------- Co-authored-by: Jakubk15 <[email protected]>
1 parent 4c13a61 commit e579ca4

File tree

6 files changed

+9
-12
lines changed

6 files changed

+9
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ With Maven:
123123
With Gradle:
124124

125125
```kts
126-
compileOnly("com.eternalcode:eternalcombat-api:2.1.1")
126+
compileOnly("com.eternalcode:eternalcombat-api:2.2.0")
127127
```
128128

129129
With Maven:
@@ -133,7 +133,7 @@ With Maven:
133133
<dependency>
134134
<groupId>com.eternalcode</groupId>
135135
<artifactId>eternalcombat-api</artifactId>
136-
<version>2.1.1</version>
136+
<version>2.2.0</version>
137137
<scope>provided</scope>
138138
</dependency>
139139
```

buildSrc/src/main/kotlin/Versions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ object Versions {
1212
const val MULTIFICATION = "1.2.1"
1313
const val PACKETS_EVENTS = "2.8.0"
1414

15-
const val ADVENTURE_PLATFORM_BUKKIT = "4.4.0"
15+
const val ADVENTURE_PLATFORM_BUKKIT = "4.4.1-SNAPSHOT"
1616
const val ADVENTURE_API = "4.23.0"
1717

1818
const val LITE_COMMANDS = "3.10.0"

buildSrc/src/main/kotlin/eternalcombat-java.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
}
44

55
group = "com.eternalcode"
6-
version = "2.1.1"
6+
version = "2.2.0"
77

88
tasks.compileJava {
99
options.compilerArgs = listOf("-Xlint:deprecation", "-parameters")

buildSrc/src/main/kotlin/eternalcombat-publish.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = "com.eternalcode"
7-
version = "2.1.1"
7+
version = "2.2.0"
88

99
java {
1010
withSourcesJar()

buildSrc/src/main/kotlin/eternalcombat-repositories.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ plugins {
44

55
repositories {
66
mavenCentral()
7-
87
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
9-
maven("https://papermc.io/repo/repository/maven-public/")
8+
maven("https://repo.papermc.io/repository/maven-public/")
109
maven("https://repo.eternalcode.pl/releases")
10+
maven("https://repo.eternalcode.pl/snapshots")
1111
maven("https://storehouse.okaeri.eu/repository/maven-public/")
1212
maven("https://repo.panda-lang.org/releases")
1313
maven("https://maven.enginehub.org/repo/")
1414
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
1515
maven("https://repo.codemc.io/repository/maven-releases/")
1616
maven("https://jitpack.io/")
17+
maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots/")
1718
}

eternalcombat-plugin/src/main/java/com/eternalcode/combat/config/implementation/MessagesSettings.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,9 @@ public class MessagesSettings extends OkaeriConfig {
2020
"# Configure the combat log notification displayed to players.",
2121
"# You can use the {TIME} variable to display the remaining combat time.",
2222
" ",
23-
"# BossBar progress: Set to -1.0 to show the remaining combat time as a progress bar.",
24-
"# BossBar colors: https://javadoc.io/static/net.kyori/adventure-api/4.14.0/net/kyori/adventure/bossbar/BossBar.Color.html",
25-
"# BossBar overlays: https://javadoc.io/static/net.kyori/adventure-api/4.14.0/net/kyori/adventure/bossbar/BossBar.Overlay.html"
2623
})
2724
public Notice combatNotification = BukkitNotice.builder()
28-
.actionBar("<bold>Combat ends in: <red>{TIME}</red></bold>")
29-
.sound(Sound.ENTITY_EXPERIENCE_ORB_PICKUP, SoundCategory.PLAYERS, 2.0F, 1.0F)
25+
.actionBar("Combat ends in: <red>{TIME}</red>")
3026
.build();
3127

3228
@Comment({

0 commit comments

Comments
 (0)