Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
Upload Project Files
Browse files Browse the repository at this point in the history
  • Loading branch information
SfenKer committed Jul 6, 2024
0 parents commit 9c01918
Show file tree
Hide file tree
Showing 199 changed files with 14,814 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
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'
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.iml
**/*.iml
.idea/**
target/**
**/target/**
661 changes: 661 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions README.md
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!
222 changes: 222 additions & 0 deletions pom.xml
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>
11 changes: 11 additions & 0 deletions src/main/java/pl/mrstudios/proxy/bootstrap/Bootstrap.java
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();
}

}
Loading

0 comments on commit 9c01918

Please sign in to comment.