Skip to content

Commit d7e493c

Browse files
author
Trollhunters501PC
authored
Añadir Source Code!!!!!
1 parent a9a037d commit d7e493c

File tree

215 files changed

+12568
-57
lines changed

Some content is hidden

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

215 files changed

+12568
-57
lines changed

.github/workflows/maven.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
if: ${{ !contains(github.event.head_commit.message, '[ci skip]') }}
9+
strategy:
10+
matrix:
11+
java: [ '8' ]
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Set up JDK ${{ matrix.java }}
15+
uses: actions/setup-java@v4
16+
with:
17+
java-version: ${{ matrix.java }}
18+
distribution: 'temurin'
19+
- name: Build with Maven
20+
run: mvn -B package --file pom.xml
21+
- name: Upload Artifact
22+
uses: actions/upload-artifact@v4
23+
with:
24+
name: CraftsMine Proyect
25+
path: target/CraftsMine-1.0.0-SNAPSHOT.jar

pom.xml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>org.creadoresprogram</groupId>
8+
<artifactId>CraftsMine</artifactId>
9+
<version>1.0.0-SNAPSHOT</version>
10+
<properties>
11+
<maven.compiler.source>1.8</maven.compiler.source>
12+
<maven.compiler.target>1.8</maven.compiler.target>
13+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14+
</properties>
15+
<repositories>
16+
<repository>
17+
<id>opencollab-repo-release</id>
18+
<url>https://repo.opencollab.dev/maven-releases/</url>
19+
</repository>
20+
<repository>
21+
<id>opencollab-repo-snapshot</id>
22+
<url>https://repo.opencollab.dev/maven-snapshots/</url>
23+
</repository>
24+
</repositories>
25+
26+
<dependencies>
27+
<dependency>
28+
<groupId>org.cloudburstmc.protocol</groupId>
29+
<artifactId>bedrock-connection</artifactId>
30+
<version>3.0.0.Beta4-SNAPSHOT</version>
31+
<scope>compile</scope>
32+
</dependency>
33+
<dependency>
34+
<groupId>org.yaml</groupId>
35+
<artifactId>snakeyaml</artifactId>
36+
<version>2.3</version>
37+
</dependency>
38+
<dependency>
39+
<groupId>com.alibaba.fastjson2</groupId>
40+
<artifactId>fastjson2</artifactId>
41+
<version>2.0.53</version>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.projectlombok</groupId>
45+
<artifactId>lombok</artifactId>
46+
<version>1.18.34</version>
47+
<scope>compile</scope>
48+
</dependency>
49+
<dependency>
50+
<groupId>commons-io</groupId>
51+
<artifactId>commons-io</artifactId>
52+
<version>2.17.0</version>
53+
</dependency>
54+
</dependencies>
55+
56+
<build>
57+
<plugins>
58+
<plugin>
59+
<groupId>org.apache.maven.plugins</groupId>
60+
<artifactId>maven-shade-plugin</artifactId>
61+
<version>3.2.4</version>
62+
<configuration>
63+
<transformers>
64+
<transformer
65+
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
66+
<mainClass>org.CreadoresProgram.CraftsMine.CraftsMine</mainClass>
67+
</transformer>
68+
</transformers>
69+
</configuration>
70+
<executions>
71+
<execution>
72+
<phase>package</phase>
73+
<goals>
74+
<goal>shade</goal>
75+
</goals>
76+
</execution>
77+
</executions>
78+
</plugin>
79+
</plugins>
80+
</build>
81+
</project>

src/main/java/Creadores/Program/pluginMV.java

Lines changed: 0 additions & 48 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package org.CreadoresProgram.CraftsMine;
2+
import org.CreadoresProgram.CraftsMine.server.Server;
3+
import org.CreadoresProgram.CraftsMine.inventory.Item;
4+
import org.CreadoresProgram.CraftsMine.nukkitLib.entity.Attribute;
5+
public class CraftsMine{
6+
public static String DATA_PATH = System.getProperty("user.dir") + "/";
7+
public static void main(String[] args){
8+
Thread.currentThread().setName("CraftsMine-main");
9+
System.out.println("Starting CraftsMine Proxy Software Prototype");
10+
System.setProperty("java.compiler", "javac");
11+
System.getProperties().putIfAbsent("io.netty.allocator.type", "unpooled");
12+
System.out.println("CraftsMine is distributed under the Terms and Conditions of Creadores Program ©2024");
13+
System.out.println("Read the Terms and Conditions at: https://creadoresprogram.blogspot.com/p/craftsmine.html");
14+
Item.init();
15+
Attribute.init();
16+
new Server(DATA_PATH);
17+
}
18+
}

0 commit comments

Comments
 (0)