This repository has been archived by the owner on Aug 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9c01918
Showing
199 changed files
with
14,814 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: 'Build Artifact' | ||
on: | ||
push: | ||
pull_request: | ||
jobs: | ||
build: | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- name: 'Checkout' | ||
uses: 'actions/checkout@v3' | ||
- name: 'Install Java Development Kit (17)' | ||
uses: 'actions/setup-java@v3' | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
cache: 'maven' | ||
- name: 'Build (Maven)' | ||
run: 'mvn clean package' | ||
- name: 'Upload Built Artifact' | ||
uses: 'actions/upload-artifact@v3' | ||
with: | ||
name: 'Built Artifact' | ||
path: 'target/*.jar' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*.iml | ||
**/*.iml | ||
.idea/** | ||
target/** | ||
**/target/** |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# MrProxy | ||
A tool for testing Minecraft servers before attacks. | ||
|
||
### IMPORTANT! This tool is for educational purposes only! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,222 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
|
||
<name>MrProxy</name> | ||
<description>A tool for testing Minecraft servers before attacks.</description> | ||
|
||
<artifactId>mrproxy</artifactId> | ||
<groupId>pl.mrstudios.proxy</groupId> | ||
<version>2.0.0</version> | ||
<packaging>jar</packaging> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.11.0</version> | ||
<configuration> | ||
<source>17</source> | ||
<target>17</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-shade-plugin</artifactId> | ||
<version>3.5.0</version> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>shade</goal> | ||
</goals> | ||
<configuration> | ||
<createDependencyReducedPom>false</createDependencyReducedPom> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>3.3.0</version> | ||
<configuration> | ||
<archive> | ||
<manifest> | ||
<mainClass>pl.mrstudios.proxy.bootstrap.Bootstrap</mainClass> | ||
</manifest> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
<resources> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
</resource> | ||
</resources> | ||
</build> | ||
|
||
<repositories> | ||
<repository> | ||
<id>mrstudios-public</id> | ||
<url>https://repo.mrstudios.pl/public/</url> | ||
</repository> | ||
<repository> | ||
<id>paper-repo</id> | ||
<url>https://repo.papermc.io/repository/maven-public/</url> | ||
</repository> | ||
<repository> | ||
<id>panda-repository</id> | ||
<url>https://repo.panda-lang.org/releases</url> | ||
</repository> | ||
<repository> | ||
<id>okaeri-repo</id> | ||
<url>https://storehouse.okaeri.eu/repository/maven-public/</url> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies> | ||
|
||
<!-- NETTY --> | ||
<dependency> | ||
<groupId>io.netty</groupId> | ||
<artifactId>netty-all</artifactId> | ||
<version>4.1.104.Final</version> | ||
</dependency> | ||
|
||
<!-- ANNOTATIONS --> | ||
<dependency> | ||
<groupId>org.jetbrains</groupId> | ||
<artifactId>annotations</artifactId> | ||
<version>24.1.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.projectlombok</groupId> | ||
<artifactId>lombok</artifactId> | ||
<version>1.18.30</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<!-- OKAERI --> | ||
<dependency> | ||
<groupId>eu.okaeri</groupId> | ||
<artifactId>okaeri-configs-yaml-snakeyaml</artifactId> | ||
<version>5.0.0-beta.5</version> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>org.yaml</groupId> | ||
<artifactId>snakeyaml</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
|
||
<!-- SNAKEYAML --> | ||
<dependency> | ||
<groupId>org.yaml</groupId> | ||
<artifactId>snakeyaml</artifactId> | ||
<version>2.2</version> | ||
</dependency> | ||
|
||
<!-- COMMONS --> | ||
<dependency> | ||
<groupId>pl.mrstudios.commons</groupId> | ||
<artifactId>commons-inject</artifactId> | ||
<version>${mrstudios.commons.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>pl.mrstudios.commons</groupId> | ||
<artifactId>commons-reflection</artifactId> | ||
<version>${mrstudios.commons.version}</version> | ||
</dependency> | ||
|
||
<!-- KYORI --> | ||
<dependency> | ||
<groupId>net.kyori</groupId> | ||
<artifactId>adventure-api</artifactId> | ||
<version>${kyori.adventure.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>net.kyori</groupId> | ||
<artifactId>adventure-nbt</artifactId> | ||
<version>${kyori.adventure.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>net.kyori</groupId> | ||
<artifactId>adventure-text-minimessage</artifactId> | ||
<version>${kyori.adventure.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>net.kyori</groupId> | ||
<artifactId>adventure-text-serializer-gson</artifactId> | ||
<version>${kyori.adventure.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>net.kyori</groupId> | ||
<artifactId>adventure-text-serializer-plain</artifactId> | ||
<version>${kyori.adventure.version}</version> | ||
</dependency> | ||
|
||
<!-- APACHE COMMONS --> | ||
<dependency> | ||
<groupId>commons-codec</groupId> | ||
<artifactId>commons-codec</artifactId> | ||
<version>1.16.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.commons</groupId> | ||
<artifactId>commons-lang3</artifactId> | ||
<version>3.14.0</version> | ||
</dependency> | ||
|
||
<!-- GUAVA --> | ||
<dependency> | ||
<groupId>com.google.guava</groupId> | ||
<artifactId>guava</artifactId> | ||
<version>33.0.0-jre</version> | ||
</dependency> | ||
|
||
<!-- LITE COMMANDS --> | ||
<dependency> | ||
<groupId>dev.rollczi</groupId> | ||
<artifactId>litecommands-core</artifactId> | ||
<version>${rollczi.litecommands.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>dev.rollczi</groupId> | ||
<artifactId>litecommands-framework</artifactId> | ||
<version>${rollczi.litecommands.version}</version> | ||
</dependency> | ||
|
||
<!-- HIKARICP --> | ||
<dependency> | ||
<groupId>com.zaxxer</groupId> | ||
<artifactId>HikariCP</artifactId> | ||
<version>5.1.0</version> | ||
</dependency> | ||
|
||
<!-- MYSQL CONNECTOR --> | ||
<dependency> | ||
<groupId>com.mysql</groupId> | ||
<artifactId>mysql-connector-j</artifactId> | ||
<version>8.2.0</version> | ||
</dependency> | ||
|
||
<!-- UNIREST --> | ||
<dependency> | ||
<groupId>com.konghq</groupId> | ||
<artifactId>unirest-java</artifactId> | ||
<version>3.14.5</version> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
<properties> | ||
<kyori.adventure.version>4.15.0</kyori.adventure.version> | ||
<mrstudios.commons.version>1.0.0</mrstudios.commons.version> | ||
<rollczi.litecommands.version>3.2.2</rollczi.litecommands.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package pl.mrstudios.proxy.bootstrap; | ||
|
||
import pl.mrstudios.proxy.core.Application; | ||
|
||
public class Bootstrap { | ||
|
||
public static void main(String[] args) { | ||
new Application(); | ||
} | ||
|
||
} |
Oops, something went wrong.