Skip to content

Commit

Permalink
build: bump ClopLib to 1.0.10
Browse files Browse the repository at this point in the history
Restricts starting a raid to trusted users and fixes hanging signs not being protected behind place block operations
  • Loading branch information
WiIIiam278 committed Sep 29, 2024
1 parent ab5c041 commit e8084db
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies {
api 'com.fatboyindustrial.gson-javatime-serialisers:gson-javatime-serialisers:1.1.2'
api 'net.william278:minedown:1.8.2'
api 'net.william278:paginedown:1.1.2'
api 'net.william278.cloplib:cloplib-common:1.0.8'
api 'net.william278.cloplib:cloplib-common:1.0.10'
api 'net.william278:DesertWell:2.0.4'
api('com.zaxxer:HikariCP:5.1.0') {
exclude module: 'slf4j-api'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ public class TrustLevels {
OperationType.FILL_BUCKET,
OperationType.EMPTY_BUCKET,
OperationType.USE_SPAWN_EGG,
OperationType.ENDER_PEARL_TELEPORT
OperationType.ENDER_PEARL_TELEPORT,
OperationType.START_RAID
))
.privileges(List.of(
TrustLevel.Privilege.MANAGE_TRUSTEES,
Expand Down Expand Up @@ -114,7 +115,8 @@ public class TrustLevels {
OperationType.FILL_BUCKET,
OperationType.EMPTY_BUCKET,
OperationType.USE_SPAWN_EGG,
OperationType.ENDER_PEARL_TELEPORT
OperationType.ENDER_PEARL_TELEPORT,
OperationType.START_RAID
))
.build(),

Expand All @@ -131,7 +133,8 @@ public class TrustLevels {
OperationType.ENTITY_INTERACT,
OperationType.CONTAINER_OPEN,
OperationType.REDSTONE_INTERACT,
OperationType.ENDER_PEARL_TELEPORT
OperationType.ENDER_PEARL_TELEPORT,
OperationType.START_RAID
))
.build(),

Expand All @@ -147,7 +150,8 @@ public class TrustLevels {
OperationType.BLOCK_INTERACT,
OperationType.ENTITY_INTERACT,
OperationType.REDSTONE_INTERACT,
OperationType.ENDER_PEARL_TELEPORT
OperationType.ENDER_PEARL_TELEPORT,
OperationType.START_RAID
))
.build()
);
Expand All @@ -172,7 +176,8 @@ public class TrustLevels {
OperationType.FILL_BUCKET,
OperationType.EMPTY_BUCKET,
OperationType.USE_SPAWN_EGG,
OperationType.ENDER_PEARL_TELEPORT
OperationType.ENDER_PEARL_TELEPORT,
OperationType.START_RAID
);

@NotNull
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ javaVersion=17
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
org.gradle.daemon=true

plugin_version=1.4.1
plugin_version=1.4.2
plugin_archive=huskclaims
plugin_description=A clean, cross-server compatible grief prevention plugin

Expand Down
2 changes: 1 addition & 1 deletion paper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies {

compileOnly 'org.jetbrains:annotations:24.1.0'
compileOnly 'org.projectlombok:lombok:1.18.34'
compileOnly 'net.william278.cloplib:cloplib-bukkit:1.0.8'
compileOnly 'net.william278.cloplib:cloplib-bukkit:1.0.10'

annotationProcessor 'org.projectlombok:lombok:1.18.34'
}
Expand Down

0 comments on commit e8084db

Please sign in to comment.