Skip to content

Commit

Permalink
Create a Task to Run a Paper Server via Maven (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Tapply authored Jun 8, 2024
1 parent f57036d commit 36bbdfe
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,19 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>blue.lhf</groupId>
<artifactId>run-paper-maven-plugin</artifactId>
<version>1.1.0</version>
<configuration>
<minecraftVersion>1.20.4</minecraftVersion>
<acceptEula>true</acceptEula>
<serverDirectory>run</serverDirectory>
<jvmFlags>
<flag>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:25566</flag>
</jvmFlags>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
Expand All @@ -73,6 +86,14 @@
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>kiputyttö-releases</id>
<name>Ilari's Project Repository</name>
<url>https://maven.lhf.blue/releases</url>
</pluginRepository>
</pluginRepositories>

<dependencies>
<dependency>
<groupId>io.papermc.paper</groupId>
Expand Down

0 comments on commit 36bbdfe

Please sign in to comment.