Skip to content

Commit 35a7554

Browse files
committed
Initial commit
0 parents  commit 35a7554

File tree

5 files changed

+87
-0
lines changed

5 files changed

+87
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.idea
2+
/target
3+
/*.iml

pom.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>io.josemmo.bukkit.plugin</groupId>
8+
<artifactId>YamipaPlugin</artifactId>
9+
<version>1.0-SNAPSHOT</version>
10+
11+
<properties>
12+
<maven.compiler.source>8</maven.compiler.source>
13+
<maven.compiler.target>8</maven.compiler.target>
14+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15+
</properties>
16+
17+
<repositories>
18+
<repository>
19+
<id>spigot-repo</id>
20+
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
21+
</repository>
22+
</repositories>
23+
24+
<dependencies>
25+
<dependency>
26+
<groupId>org.spigotmc</groupId>
27+
<artifactId>spigot-api</artifactId>
28+
<version>1.16.4-R0.1-SNAPSHOT</version>
29+
<scope>provided</scope>
30+
</dependency>
31+
</dependencies>
32+
33+
<build>
34+
<resources>
35+
<resource>
36+
<directory>${basedir}/src/main/resources</directory>
37+
<filtering>true</filtering>
38+
</resource>
39+
</resources>
40+
</build>
41+
42+
</project>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package io.josemmo.bukkit.plugin;
2+
3+
import org.bukkit.plugin.java.JavaPlugin;
4+
5+
public class YamipaPlugin extends JavaPlugin {
6+
@Override
7+
public void onEnable() {
8+
getLogger().info("Enabled YamipaPlugin");
9+
}
10+
11+
@Override
12+
public void onDisable() {
13+
getLogger().info("Disabled YamipaPlugin");
14+
}
15+
}

src/main/resources/plugin.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: ${project.name}
2+
version: ${project.version}
3+
main: io.josemmo.bukkit.plugin.YamipaPlugin
4+
5+
commands:
6+
image:
7+
description: Yamipa plugin commands, place images on blocks
8+
usage: /<command> [place|remove|download|list]
9+
aliases: ['images', 'yamipa']
10+
11+
permissions:
12+
yamipa.*:
13+
default: op
14+
children:
15+
yamipa.list: true
16+
yamipa.download: true
17+
yamipa.place: true
18+
yamipa.remove: true
19+
yamipa.list:
20+
default: op
21+
yamipa.download:
22+
default: op
23+
yamipa.place:
24+
default: op
25+
yamipa.remove:
26+
default: op

0 commit comments

Comments
 (0)