Skip to content

Commit f886d3a

Browse files
committed
Initial commit
1 parent a5ef953 commit f886d3a

File tree

5 files changed

+144
-0
lines changed

5 files changed

+144
-0
lines changed

.gitignore

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
2+
# Created by https://www.gitignore.io/api/maven
3+
# Edit at https://www.gitignore.io/?templates=maven
4+
5+
### Maven ###
6+
target/
7+
pom.xml.tag
8+
pom.xml.releaseBackup
9+
pom.xml.versionsBackup
10+
pom.xml.next
11+
release.properties
12+
dependency-reduced-pom.xml
13+
buildNumber.properties
14+
.mvn/timing.properties
15+
.mvn/wrapper/maven-wrapper.jar
16+
17+
# End of https://www.gitignore.io/api/maven
18+
19+
20+
# Created by https://www.gitignore.io/api/java
21+
# Edit at https://www.gitignore.io/?templates=java
22+
23+
### Java ###
24+
# Compiled class file
25+
*.class
26+
27+
# Log file
28+
*.log
29+
30+
# BlueJ files
31+
*.ctxt
32+
33+
# Mobile Tools for Java (J2ME)
34+
.mtj.tmp/
35+
36+
# Package Files #
37+
*.jar
38+
*.war
39+
*.nar
40+
*.ear
41+
*.zip
42+
*.tar.gz
43+
*.rar
44+
45+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
46+
hs_err_pid*
47+
48+
# End of https://www.gitignore.io/api/java
49+
50+
.settings/
51+
.classpath
52+
.project
53+
.vscode/
54+
.idea/

pom.xml

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.github.okocraft.name</groupId>
5+
<artifactId>PL</artifactId>
6+
<version>1.0.0-SNAPSHOT</version>
7+
<repositories>
8+
<repository>
9+
<id>spigot-repo</id>
10+
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
11+
<!-- for NMS -->
12+
<!--url>https://hub.spigotmc.org/nexus/content/groups/public/</url-->
13+
</repository>
14+
</repositories>
15+
<dependencies>
16+
<dependency>
17+
<groupId>org.spigotmc</groupId>
18+
<artifactId>spigot-api</artifactId>
19+
<version>1.15.2-R0.1-SNAPSHOT</version>
20+
<scope>provided</scope>
21+
</dependency>
22+
<!-- for NMS -->
23+
<!--dependency>
24+
<groupId>org.spigotmc</groupId>
25+
<artifactId>spigot</artifactId>
26+
<version>1.15.2-R0.1-SNAPSHOT</version>
27+
<scope>provided</scope>
28+
</dependency-->
29+
</dependencies>
30+
<build>
31+
<resources>
32+
<resource>
33+
<targetPath>.</targetPath>
34+
<filtering>true</filtering>
35+
<directory>src/main/resources/</directory>
36+
</resource>
37+
</resources>
38+
<plugins>
39+
<plugin>
40+
<groupId>org.apache.maven.plugins</groupId>
41+
<artifactId>maven-jar-plugin</artifactId>
42+
<version>3.2.0</version>
43+
<configuration>
44+
<finalName>${project.name}-${project.version}</finalName>
45+
<archive>
46+
<manifest>
47+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
48+
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
49+
</manifest>
50+
</archive>
51+
</configuration>
52+
</plugin>
53+
<plugin>
54+
<groupId>org.apache.maven.plugins</groupId>
55+
<artifactId>maven-compiler-plugin</artifactId>
56+
<version>3.8.1</version>
57+
<configuration>
58+
<release>10</release>
59+
<encoding>UTF-8</encoding>
60+
<useIncrementalCompilation>false</useIncrementalCompilation>
61+
</configuration>
62+
</plugin>
63+
</plugins>
64+
</build>
65+
<properties>
66+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
67+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
68+
</properties>
69+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package com.github.okocraft.name;
2+
3+
import org.bukkit.plugin.java.JavaPlugin;
4+
5+
public class PL extends JavaPlugin {
6+
7+
@Override
8+
public void onEnable() {
9+
getLogger().info(getName() + " have been enabled!");
10+
}
11+
12+
@Override
13+
public void onDisable() {
14+
getLogger().info(getName() + " have been disabled!");
15+
}
16+
}

src/main/resources/config.yml

Whitespace-only changes.

src/main/resources/plugin.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name: ${project.artifactId}
2+
version: ${project.version}
3+
api-version: "1.15"
4+
main: ${project.groupId}.${project.artifactId}
5+
author: LazyGon

0 commit comments

Comments
 (0)