Skip to content

Commit b735405

Browse files
committed
Merge branch 'v3' into feature/anvil
2 parents f04e090 + fbb8a9b commit b735405

File tree

171 files changed

+3339
-2604
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+3339
-2604
lines changed

.editorconfig

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ ij_editorconfig_space_before_colon = false
342342
ij_editorconfig_space_before_comma = false
343343
ij_editorconfig_spaces_around_assignment_operators = true
344344

345-
[{*.ant, *.fxml, *.jhm, *.jnlp, *.jrxml, *.pom, *.rng, *.tld, *.wsdl, *.xml, *.xsd, *.xsl, *.xslt, *.xul}]
345+
[{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.pom,*.rng,*.tld,*.wsdl,*.xml,*.xsd,*.xsl,*.xslt,*.xul}]
346346
ij_xml_align_attributes = true
347347
ij_xml_align_text = false
348348
ij_xml_attribute_wrap = normal
@@ -360,7 +360,7 @@ ij_xml_space_around_equals_in_attribute = false
360360
ij_xml_space_inside_empty_tag = false
361361
ij_xml_text_wrap = normal
362362

363-
[{*.ats, *.ts}]
363+
[{*.ats,*.ts}]
364364
ij_continuation_indent_size = 4
365365
ij_typescript_align_imports = false
366366
ij_typescript_align_multiline_array_initializer_expression = false
@@ -528,7 +528,7 @@ ij_typescript_while_brace_force = never
528528
ij_typescript_while_on_new_line = false
529529
ij_typescript_wrap_comments = false
530530

531-
[{*.bash, *.sh, *.zsh}]
531+
[{*.bash,*.sh,*.zsh}]
532532
indent_size = 2
533533
tab_width = 2
534534
ij_shell_binary_ops_start_line = false
@@ -537,7 +537,7 @@ ij_shell_minify_program = false
537537
ij_shell_redirect_followed_by_space = false
538538
ij_shell_switch_cases_indented = false
539539

540-
[{*.cjs, *.js}]
540+
[{*.cjs,*.js}]
541541
ij_continuation_indent_size = 4
542542
ij_javascript_align_imports = false
543543
ij_javascript_align_multiline_array_initializer_expression = false
@@ -702,10 +702,10 @@ ij_javascript_while_brace_force = never
702702
ij_javascript_while_on_new_line = false
703703
ij_javascript_wrap_comments = false
704704

705-
[{*.ft, *.vm, *.vsl}]
705+
[{*.ft,*.vm,*.vsl}]
706706
ij_vtl_keep_indents_on_empty_lines = false
707707

708-
[{*.gant, *.gradle, *.groovy, *.gy}]
708+
[{*.gant,*.gradle,*.groovy,*.gy}]
709709
ij_groovy_align_group_field_declarations = false
710710
ij_groovy_align_multiline_array_initializer_expression = false
711711
ij_groovy_align_multiline_assignment = false
@@ -884,7 +884,7 @@ ij_groovy_while_brace_force = never
884884
ij_groovy_while_on_new_line = false
885885
ij_groovy_wrap_long_lines = false
886886

887-
[{*.gradle.kts, *.kt, *.kts, *.main.kts}]
887+
[{*.gradle.kts,*.kt,*.kts,*.main.kts}]
888888
ij_kotlin_align_in_columns_case_branch = false
889889
ij_kotlin_align_multiline_binary_operation = false
890890
ij_kotlin_align_multiline_extends_list = false
@@ -963,7 +963,7 @@ ij_kotlin_wrap_elvis_expressions = 1
963963
ij_kotlin_wrap_expression_body_functions = 0
964964
ij_kotlin_wrap_first_method_in_call_chain = false
965965

966-
[{*.har, *.jsb2, *.jsb3, *.json, .babelrc, .eslintrc, .stylelintrc, bowerrc, jest.config, mcmod.info}]
966+
[{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config,mcmod.info}]
967967
indent_size = 2
968968
ij_json_keep_blank_lines_in_code = 0
969969
ij_json_keep_indents_on_empty_lines = false
@@ -976,7 +976,7 @@ ij_json_spaces_within_braces = false
976976
ij_json_spaces_within_brackets = false
977977
ij_json_wrap_long_lines = false
978978

979-
[{*.htm, *.html, *.sht, *.shtm, *.shtml}]
979+
[{*.htm,*.html,*.sht,*.shtm,*.shtml}]
980980
ij_html_add_new_line_before_tags = body, div, p, form, h1, h2, h3
981981
ij_html_align_attributes = true
982982
ij_html_align_text = false
@@ -1004,7 +1004,7 @@ ij_html_space_inside_empty_tag = false
10041004
ij_html_text_wrap = normal
10051005
ij_html_uniform_ident = false
10061006

1007-
[{*.yaml, *.yml}]
1007+
[{*.yaml,*.yml}]
10081008
indent_size = 2
10091009
ij_yaml_keep_indents_on_empty_lines = false
10101010
ij_yaml_keep_line_breaks = true

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ body:
2727
description: Which server version version you using? If your server version is not listed, it is not supported. Update to a supported version first.
2828
multiple: false
2929
options:
30-
- '1.20.2'
30+
- '1.20.4'
3131
- '1.20'
3232
- '1.19.4'
3333
- '1.18.2'
34-
- '1.17.1'
3534
validations:
3635
required: true
3736

.github/renovate.json

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:base",
2+
"$schema" : "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends" : [
4+
"config:recommended",
55
":semanticCommitsDisabled"
66
],
7-
"automerge": true,
8-
"ignoreDeps": [
9-
"guava",
7+
"automerge" : true,
8+
"ignoreDeps" : [
9+
"guava",
1010
"com.google.guava:guava",
1111
"rhino-runtime",
1212
"org.antlr",
1313
"antlr4-runtime",
1414
"fastutil",
15-
"it.unimi.dsi:fastutil",
15+
"it.unimi.dsi:fastutil",
1616
"auto-value-annotations",
1717
"auto-value",
1818
"com.google.code.gson:gson",
@@ -29,7 +29,34 @@
2929
"org.spongepowered:spongeapi",
3030
"org.yaml:snakeyaml"
3131
],
32-
"labels": ["Renovate"],
33-
"rebaseWhen": "conflicted",
34-
"schedule": ["on the first day of the month"]
32+
"labels" : [
33+
"Renovate"
34+
],
35+
"rebaseWhen" : "conflicted",
36+
"customManagers" : [
37+
{
38+
"customType" : "regex",
39+
"datasourceTemplate" : "custom.paperweight-userdev",
40+
"fileMatch" : "^worldedit-bukkit\\/adapters\\/adapter-\\d+_\\d+(_\\d+)?\\/build\\.gradle\\.kts$",
41+
"matchStrings" : [
42+
"url=(?<registryUrl>.*)\\s",
43+
"paperDevBundle\\(\"(?<currentValue>.*?)\"\\)\\s"
44+
],
45+
"matchStringsStrategy": "combination",
46+
"depNameTemplate" : "paperweight-userdev",
47+
"extractVersionTemplate" : "(?<version>\\d+\\.\\d+\\.?\\d*-R0\\.1-\\d+\\.\\d+-\\d+)"
48+
}
49+
],
50+
"customDatasources" : {
51+
"paperweight-userdev": {
52+
"defaultRegistryUrlTemplate": "",
53+
"format": "html"
54+
}
55+
},
56+
"packageRules" : [
57+
{
58+
"matchDatasources" : ["custom.paperweight-userdev"],
59+
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)?-R0\\.1-\\d+\\d+\\.\\d+-(?<build>\\d+)$"
60+
}
61+
]
3562
}

.github/workflows/build-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
- name: Checkout Repository
1212
uses: actions/checkout@v4
1313
- name: Validate Gradle Wrapper
14-
uses: gradle/wrapper-validation-action@v1
14+
uses: gradle/wrapper-validation-action@v2
1515
- name: Setup Java
16-
uses: actions/setup-java@v3
16+
uses: actions/setup-java@v4
1717
with:
1818
distribution: temurin
1919
cache: gradle

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
- name: Checkout Repository
1212
uses: actions/checkout@v4
1313
- name: Validate Gradle Wrapper
14-
uses: gradle/wrapper-validation-action@v1
14+
uses: gradle/wrapper-validation-action@v2
1515
- name: Setup Java
16-
uses: actions/setup-java@v3
16+
uses: actions/setup-java@v4
1717
with:
1818
distribution: temurin
1919
cache: gradle

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121
- name: Checkout repository
2222
uses: actions/checkout@v4
2323
- name: Setup Java
24-
uses: actions/setup-java@v3
24+
uses: actions/setup-java@v4
2525
with:
2626
distribution: temurin
2727
cache: gradle
2828
java-version: 17
2929
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@v2
30+
uses: github/codeql-action/init@v3
3131
with:
3232
languages: ${{ matrix.language }}
3333
- name: Autobuild
34-
uses: github/codeql-action/autobuild@v2
34+
uses: github/codeql-action/autobuild@v3
3535
- name: Perform CodeQL Analysis
36-
uses: github/codeql-action/analyze@v2
36+
uses: github/codeql-action/analyze@v3

.github/workflows/label-merge-conflicts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Label conflicting PRs
18-
uses: eps1lon/actions-label-merge-conflict@v2.1.0
18+
uses: eps1lon/actions-label-merge-conflict@v3.0.0
1919
with:
2020
dirtyLabel: "unresolved-merge-conflict"
2121
repoToken: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: release-drafter/release-drafter@v5
15+
- uses: release-drafter/release-drafter@v6
1616
env:
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/upload-release-assets.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ jobs:
99
- name: Checkout Repository
1010
uses: actions/checkout@v4
1111
- name: Validate Gradle Wrapper
12-
uses: gradle/wrapper-validation-action@v1
12+
uses: gradle/wrapper-validation-action@v2
1313
- name: Setup Java
14-
uses: actions/setup-java@v3
14+
uses: actions/setup-java@v4
1515
with:
1616
distribution: temurin
1717
cache: gradle
1818
java-version: 17
1919
- name: Clean Build
2020
run: ./gradlew clean build --no-daemon
2121
- name: Upload Release Assets
22-
uses: AButler/upload-release-assets@v2.0
22+
uses: AButler/upload-release-assets@v3.0
2323
with:
2424
files: 'worldedit-bukkit/build/libs/FastAsyncWorldEdit-Bukkit-*.jar'
2525
repo-token: ${{ secrets.GITHUB_TOKEN }}

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import xyz.jpenilla.runpaper.task.RunServer
77

88
plugins {
99
id("io.github.gradle-nexus.publish-plugin") version "1.3.0"
10-
id("xyz.jpenilla.run-paper") version "2.2.0"
10+
id("xyz.jpenilla.run-paper") version "2.2.3"
1111
}
1212

1313
if (!File("$rootDir/.git").exists()) {
@@ -34,7 +34,7 @@ logger.lifecycle("""
3434
*******************************************
3535
""")
3636

37-
var rootVersion by extra("2.8.3")
37+
var rootVersion by extra("2.9.2")
3838
var snapshot by extra("SNAPSHOT")
3939
var revision: String by extra("")
4040
var buildNumber by extra("")
@@ -83,7 +83,7 @@ allprojects {
8383
}
8484

8585
applyCommonConfiguration()
86-
val supportedVersions = listOf("1.17.1", "1.18.2", "1.19.4", "1.20", "1.20.2")
86+
val supportedVersions = listOf("1.18.2", "1.19.4", "1.20", "1.20.4")
8787

8888
tasks {
8989
supportedVersions.forEach {
@@ -97,7 +97,7 @@ tasks {
9797
}
9898
}
9999
runServer {
100-
minecraftVersion("1.20.2")
100+
minecraftVersion("1.20.4")
101101
pluginJars(*project(":worldedit-bukkit").getTasksByName("shadowJar", false).map { (it as Jar).archiveFile }
102102
.toTypedArray())
103103

buildSrc/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ val properties = Properties().also { props ->
2222

2323
dependencies {
2424
implementation(gradleApi())
25-
implementation("org.ajoberstar.grgit:grgit-gradle:5.2.1")
25+
implementation("org.ajoberstar.grgit:grgit-gradle:5.2.2")
2626
implementation("com.github.johnrengelman:shadow:8.1.1")
27-
implementation("io.papermc.paperweight.userdev:io.papermc.paperweight.userdev.gradle.plugin:1.5.5")
27+
implementation("io.papermc.paperweight.userdev:io.papermc.paperweight.userdev.gradle.plugin:1.5.11")
2828
}
2929

3030
kotlin {

gradle/libs.versions.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22
# Minecraft expectations
3-
paper = "1.20.2-R0.1-SNAPSHOT"
3+
paper = "1.20.4-R0.1-SNAPSHOT"
44
fastutil = "8.5.9"
55
guava = "31.1-jre"
66
log4j = "2.19.0"
@@ -11,19 +11,19 @@ snakeyaml = "2.0"
1111
dummypermscompat = "1.10"
1212
worldguard-bukkit = "7.0.9"
1313
mapmanager = "1.8.0-SNAPSHOT"
14-
griefprevention = "16.18.1"
14+
griefprevention = "17.0.0"
1515
griefdefender = "2.1.0-SNAPSHOT"
1616
residence = "4.5._13.1"
17-
towny = "0.100.0.1"
18-
plotsquared = "7.1.0"
17+
towny = "0.100.1.23"
18+
plotsquared = "7.3.6"
1919

2020
# Third party
2121
bstats = "3.0.2"
2222
sparsebitset = "1.3"
2323
parallelgzip = "1.0.5"
24-
adventure = "4.14.0"
25-
adventure-bukkit = "4.3.1"
26-
checkerqual = "3.40.0"
24+
adventure = "4.16.0"
25+
adventure-bukkit = "4.3.2"
26+
checkerqual = "3.42.0"
2727
truezip = "6.8.4"
2828
auto-value = "1.10.4"
2929
findbugs = "3.0.2"
@@ -43,14 +43,14 @@ serverlib = "2.3.4"
4343
## Internal
4444
text-adapter = "3.0.6"
4545
text = "3.0.4"
46-
piston = "0.5.7"
46+
piston = "0.5.8"
4747

4848
# Tests
49-
mockito = "5.6.0"
49+
mockito = "5.11.0"
5050

5151
# Gradle plugins
5252
pluginyml = "0.6.0"
53-
minotaur = "2.8.4"
53+
minotaur = "2.8.7"
5454

5555
[libraries]
5656
# Minecraft expectations

gradle/wrapper/gradle-wrapper.jar

-19.8 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew.bat

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
4343
%JAVA_EXE% -version >NUL 2>&1
4444
if %ERRORLEVEL% equ 0 goto execute
4545

46-
echo.
47-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48-
echo.
49-
echo Please set the JAVA_HOME variable in your environment to match the
50-
echo location of your Java installation.
46+
echo. 1>&2
47+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
48+
echo. 1>&2
49+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
50+
echo location of your Java installation. 1>&2
5151

5252
goto fail
5353

@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
5757

5858
if exist "%JAVA_EXE%" goto execute
5959

60-
echo.
61-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62-
echo.
63-
echo Please set the JAVA_HOME variable in your environment to match the
64-
echo location of your Java installation.
60+
echo. 1>&2
61+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
62+
echo. 1>&2
63+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
64+
echo location of your Java installation. 1>&2
6565

6666
goto fail
6767

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ rootProject.name = "FastAsyncWorldEdit"
22

33
include("worldedit-libs")
44

5-
listOf("legacy", "1_17_1", "1_18_2", "1_19_4", "1_20", "1_20_2").forEach {
5+
listOf("1_18_2", "1_19_4", "1_20", "1_20_2", "1_20_4").forEach {
66
include("worldedit-bukkit:adapters:adapter-$it")
77
}
88

0 commit comments

Comments
 (0)