Skip to content

Commit c3a7f6c

Browse files
committed
Merge master into feat/garden
2 parents 70477d0 + c89ad0e commit c3a7f6c

2,251 files changed

Lines changed: 121062 additions & 39969 deletions

File tree

Some content is hidden

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

.github/dependabot.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "gradle" # See documentation for possible values
9-
directory: "/" # Location of package manifests
8+
- package-ecosystem: "gradle"
9+
directory: "/"
1010
schedule:
1111
interval: "weekly"
1212
- package-ecosystem: "npm"
1313
directory: "/website"
1414
schedule:
1515
interval: "weekly"
16+
- package-ecosystem: "github-actions"
17+
directory: "/"
18+
schedule:
19+
interval: "weekly"

.github/workflows/pull_request.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,35 @@ name: Java CI with Gradle
22

33
on:
44
pull_request:
5-
branches: [ "master" ]
5+
branches:
6+
- master
7+
8+
concurrency:
9+
group: ci-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
permissions:
13+
contents: read
614

715
jobs:
816
build:
917
runs-on: ubuntu-latest
1018

1119
steps:
12-
- uses: actions/checkout@v5
20+
- uses: actions/checkout@v7
1321

1422
- name: Set up JDK 25
15-
uses: actions/setup-java@v5.1.0
23+
uses: actions/setup-java@v5
1624
with:
1725
java-version: '25'
1826
distribution: 'temurin'
27+
check-latest: false
1928

2029
- name: Grant Gradlew Permissions
2130
run: chmod +x gradlew
2231

2332
- name: Setup Gradle
24-
uses: gradle/actions/setup-gradle@v5
25-
- name: Build with Gradle
26-
run: ./gradlew shadowJar
33+
uses: gradle/actions/setup-gradle@v6
2734

28-
- name: Cache Gradle packages
29-
uses: actions/cache@v4
30-
with:
31-
path: |
32-
~/.gradle/caches
33-
~/.gradle/wrapper
34-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
35-
restore-keys: |
36-
${{ runner.os }}-gradle-
35+
- name: Build with Gradle
36+
run: ./gradlew shadowJar --no-daemon

.github/workflows/release.yml

Lines changed: 35 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,36 +7,55 @@ on:
77
permissions:
88
contents: write
99

10+
concurrency:
11+
group: add-to-github-releases
12+
cancel-in-progress: true
13+
1014
jobs:
1115
build:
1216
runs-on: ubuntu-latest
1317

1418
steps:
15-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v7
1620

1721
- name: Set up JDK 25
18-
uses: actions/setup-java@v5.1.0
22+
uses: actions/setup-java@v5
1923
with:
2024
java-version: '25'
2125
distribution: 'temurin'
2226

23-
- name: Grant Gradlew Permissions
24-
run: chmod +x gradlew
25-
2627
- name: Setup Gradle
27-
uses: gradle/actions/setup-gradle@v5
28+
uses: gradle/actions/setup-gradle@v6
29+
2830
- name: Build with Gradle
29-
run: ./gradlew shadowJar
31+
run: ./gradlew --parallel --build-cache shadowJar
3032

31-
- name: Cache Gradle packages
32-
uses: actions/cache@v4
33+
- name: Set up Go
34+
uses: actions/setup-go@v6
3335
with:
34-
path: |
35-
~/.gradle/caches
36-
~/.gradle/wrapper
37-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
38-
restore-keys: |
39-
${{ runner.os }}-gradle-
36+
go-version-file: setup/go.mod
37+
check-latest: false
38+
cache-dependency-path: |
39+
setup/go.mod
40+
setup/go.sum
41+
42+
- name: Test setup TUI
43+
run: go test ./...
44+
working-directory: setup
45+
46+
- name: Build setup TUI release assets
47+
working-directory: setup
48+
run: |
49+
mkdir -p dist
50+
for goos in linux darwin; do
51+
for goarch in amd64 arm64; do
52+
name="skyblock-installer_${goos}_${goarch}"
53+
CGO_ENABLED=0 GOOS="$goos" GOARCH="$goarch" \
54+
go build -trimpath -ldflags="-s -w" -o "dist/skyblock-installer" ./cmd/skyblock-installer
55+
tar -C dist -czf "dist/${name}.tar.gz" skyblock-installer
56+
rm dist/skyblock-installer
57+
done
58+
done
4059
4160
- name: Add Jar to GitHub releases
4261
uses: marvinpinto/action-automatic-releases@latest
@@ -60,3 +79,4 @@ jobs:
6079
service.orchestrator/build/libs/*.jar
6180
service.friend/build/libs/*.jar
6281
service.darkauction/build/libs/*.jar
82+
setup/dist/*.tar.gz

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,17 @@ build/
3636

3737

3838
### Worlds / Maps ###
39+
/configuration/world/
3940
/configuration/skyblock/islands/
4041
/configuration/hypixel_prototype_lobby/
4142
/configuration/hypixel_bedwars_lobby/
4243
/configuration/hypixel_murder_mystery_lobby/
4344
/configuration/hypixel_skywars_lobby/
45+
/configuration/skyblock/garden/
4446
*.polar
47+
*.schem
48+
/setup/skyblock-installer
49+
/configuration/*.schem
4550

4651
### Logs ###
4752
/configuration/logs/
@@ -51,7 +56,6 @@ build/
5156
.gradle/
5257
/server/proxy/logs/
5358
/server/proxy/lang/
54-
/server/proxy/ViaLoader/
5559
/server/proxy/plugins/
5660
/server/proxy/forwarding.secret
5761
/server/proxy/velocity.toml
@@ -60,5 +64,3 @@ build/
6064
/server/forwarding.secret
6165
/configuration/config.yml
6266
/server/proxy/configuration/config.yml
63-
64-
### Resource pack build output ###

DockerFiles/Dockerfile.game_server

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,13 @@ RUN curl -fSL -o HypixelCore.jar "https://github.com/Swofty-Developments/Hypixel
1919
# Copy configuration data
2020
COPY ./configuration /app/configuration_files
2121

22-
RUN mkdir -p configuration && \
23-
cp configuration_files/config.yml ./configuration/config.yml
24-
25-
RUN curl -fSL -o /tmp/worlds.tar.gz "https://files.catbox.moe/9uas8z.gz" && \
26-
tar -xzf /tmp/worlds.tar.gz -C ./configuration && \
27-
rm /tmp/worlds.tar.gz
22+
RUN mkdir -p configuration && \
23+
cp -a configuration_files/. ./configuration/
2824

2925
EXPOSE 25565 65535 8080 20000
3026

31-
RUN cp configuration_files/server.toml ./server.toml && \
32-
cp -a configuration_files/skyblock/. configuration/skyblock/ && \
33-
cp configuration_files/entrypoint.sh ./entrypoint.sh && \
34-
chmod +x entrypoint.sh
27+
RUN cp configuration_files/server.toml ./server.toml && \
28+
cp configuration_files/entrypoint.sh ./entrypoint.sh && \
29+
chmod +x entrypoint.sh
3530

3631
CMD ["sh", "entrypoint.sh"]

DockerFiles/Dockerfile.proxy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ WORKDIR /app
55
RUN apt-get update && apt-get install -y jq netcat-traditional curl && apt-get clean
66

77
# Download Velocity proxy JAR
8-
RUN curl -fSL -o velocity.jar "https://fill-data.papermc.io/v1/objects/ef1a852bfae7397e84907837925e7ad21c6312066290edaae401b77f6f423ac3/velocity-3.4.0-SNAPSHOT-558.jar"
8+
RUN curl -fSL -o velocity.jar "https://fill-data.papermc.io/v1/objects/0ec616020166465dacca3b790d3db2b246f8f7c13b3aaacaae60c825744a66e0/velocity-3.5.0-SNAPSHOT-605.jar"
99

1010
# Download SkyBlockProxy.jar
1111
RUN mkdir -p plugins && \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[<img src="https://discordapp.com/assets/e4923594e694a21542a489471ecffa50.svg" alt="Discord" height="55" />](https://discord.swofty.net)
44

5-
A 1.21.11 Minestom-based recreation of Hypixel SkyBlock with a properly abstracted, scalable microservices architecture.
5+
A 26.1.2 Minestom-based recreation of Hypixel SkyBlock with a properly abstracted, scalable microservices architecture.
66

77
> **Note**: This implementation is under active development and is not yet production-ready.
88

anticheat/README.md

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
[<img src="https://discordapp.com/assets/e4923594e694a21542a489471ecffa50.svg" alt="" height="55" />](https://discord.gg/atlasmc)
44

5-
An advanced prediction-based anticheat for both Minestom and Spigot/Bukkit servers. Features comprehensive packet tracking, movement prediction with physics simulation, and lag compensation.
5+
An advanced prediction-based anticheat for Minestom servers. Features comprehensive packet tracking, movement prediction
6+
with physics simulation, and lag compensation.
67

78
## Table of contents
89

910
* [Features](#features)
1011
* [Getting Started](#getting-started)
1112
* [Minestom Loader](#minestom-loader)
12-
* [Spigot Loader](#spigot-loader)
1313
* [API Usage](#api-usage)
1414
* [Custom Modifiers](#custom-modifiers)
1515
* [Player Data Storage](#player-data-storage)
@@ -47,12 +47,12 @@ An advanced prediction-based anticheat for both Minestom and Spigot/Bukkit serve
4747

4848
### Cross-Platform Support
4949
- Full Minestom support with native packet API
50-
- Full Spigot/Bukkit support via ProtocolLib
5150
- Unified packet abstraction layer
5251
- Platform-specific scheduler managers
5352

5453
## Getting Started
55-
SwoftyAnticheat requires Java 17+ and either Minestom or Spigot/Bukkit with ProtocolLib.
54+
55+
SwoftyAnticheat requires Java 25+ and Minestom.
5656

5757
## Minestom Loader
5858
To use SwoftyAnticheat with Minestom, create a new instance of the MinestomLoader and initialize the anticheat:
@@ -67,24 +67,6 @@ SwoftyAnticheat.start(); // Do this after MinecraftServer#init()
6767

6868
The MinestomLoader automatically registers all packet listeners using Minestom's native packet API.
6969

70-
## Spigot Loader
71-
To use SwoftyAnticheat with Spigot/Bukkit, you need ProtocolLib installed. Then create a SpigotLoader instance:
72-
73-
```java
74-
public class YourPlugin extends JavaPlugin {
75-
@Override
76-
public void onEnable() {
77-
SpigotLoader spigotLoader = new SpigotLoader(this);
78-
79-
SwoftyAnticheat.loader(spigotLoader);
80-
SwoftyAnticheat.values(new SwoftyValues());
81-
SwoftyAnticheat.start();
82-
}
83-
}
84-
```
85-
86-
The SpigotLoader uses ProtocolLib to intercept and process all relevant packets.
87-
8870
## API Usage
8971

9072
SwoftyAnticheat provides a comprehensive API for extending the anticheat with custom functionality.

anticheat/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ dependencies {
3434
implementation(libs.tinylog.api)
3535
implementation(libs.tinylog.impl)
3636

37-
compileOnly(libs.spigot.api)
38-
3937
compileOnly(libs.protocollib)
4038
}
4139

anticheat/src/main/java/net/swofty/anticheat/api/AnticheatAPI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
/**
1414
* Main API entry point for interacting with the Swofty Anticheat.
15-
*
15+
* <p>
1616
* This API allows you to:
1717
* - Register custom movement modifiers
1818
* - Store and retrieve custom player data

0 commit comments

Comments
 (0)