diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..dddb5f5 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,25 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "verify", + "type": "shell", + "command": "mvn -B verify", + "group": "build" + }, + { + "label": "test", + "type": "shell", + "command": "mvn -B test", + "group": "test" + }, + { + "label": "Build", + "type": "shell", + "command": "mvn", + "problemMatcher": [] + } + ] +} \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..d544e6a --- /dev/null +++ b/pom.xml @@ -0,0 +1,111 @@ + + 4.0.0 + nz.1248.easyspawn + EasySpawn + + 1.13-R0.1-Snapshot + jar + + + + Easyspawn + + + + + + + + Jimmy Allen + nz.jimmy.easyspawn.EasySpawn + UTF-8 + + + + + spigot-repo + https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + + + + + + org.spigotmc + spigot-api + 1.13-R0.1-SNAPSHOT + provided + + + + org.bukkit + bukkit + 1.13-R0.1-SNAPSHOT + provided + + + + + src/main/java + clean install + + + src/main/resources + + true + + plugin.yml + + + + src/main/resources + + false + + **/*.java + plugin.yml + + + + + + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + + + + + + + + + + + + + + spigot-repo + https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + + + + + org.spigotmc + spigot-api + 1.13-R0.1-SNAPSHOT + provided + + + + org.bukkit + bukkit + 1.13-R0.1-SNAPSHOT + provided + + \ No newline at end of file diff --git a/src/net/jimmy1248/easyspawn/EasySpawn.java b/src/main/java/nz/1248/easyspawn/EasySpawn.java similarity index 97% rename from src/net/jimmy1248/easyspawn/EasySpawn.java rename to src/main/java/nz/1248/easyspawn/EasySpawn.java index 6901613..5394de4 100644 --- a/src/net/jimmy1248/easyspawn/EasySpawn.java +++ b/src/main/java/nz/1248/easyspawn/EasySpawn.java @@ -1,4 +1,4 @@ -package net.jimmy1248.easyspawn; +package nz.jimmy.easyspawn; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; diff --git a/plugin.yml b/src/main/resources/plugin.yml similarity index 92% rename from plugin.yml rename to src/main/resources/plugin.yml index af13e12..b4e0a22 100644 --- a/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: EasySpawn -main: net.jimmy1248.easyspawn.EasySpawn -version: 1.7.5-R0.1 +main: nz.jimmy.easyspawn.EasySpawn +version: 1.13-R0.1-Snapshot commands: spawn: description: Teleports you to spawn diff --git a/target/classes/plugin.yml b/target/classes/plugin.yml new file mode 100644 index 0000000..b4e0a22 --- /dev/null +++ b/target/classes/plugin.yml @@ -0,0 +1,29 @@ +name: EasySpawn +main: nz.jimmy.easyspawn.EasySpawn +version: 1.13-R0.1-Snapshot +commands: + spawn: + description: Teleports you to spawn + usage: /spawn + permission: easyspawn.spawn + permission-message: You don't have + bed: + description: Teleports you to your bed + usage: /bed + permission: easyspawn.bed + permission-message: You don't have + setspawn: + description: Sets spawn location + usage: /setspawn + permission: easyspawn.setspawn + permission-message: You don't have +permissions: + easyspawn.spawn: + description: Teleports you to spawn + default: true + easyspawn.bed: + description: Teleports you to your bed + default: true + easyspawn.setspawn: + description: Sets spawn location + default: op diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties new file mode 100644 index 0000000..06284d9 --- /dev/null +++ b/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Thu Jul 26 06:24:12 GMT 2018 +version=1.13-R0.1-Snapshot +groupId=nz.1248.easyspawn +artifactId=EasySpawn diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..8783fd4 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1 @@ +nz/jimmy/easyspawn/EasySpawn.class diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..e3d91f6 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1 @@ +/mnt/d/cloud/Documents/code/Java/EasySpawn/src/main/java/nz/1248/easyspawn/EasySpawn.java