From e220db631decfec89915cdc4a038961ebd1d195b Mon Sep 17 00:00:00 2001 From: CoolV1994 Date: Fri, 17 Apr 2015 06:58:27 -0400 Subject: [PATCH] Version 1.0 --- src/plugin.json => plugin.json | 0 pom.xml | 55 +++++++++++++++++++ .../coolv1994/plugins/spawn/CommandSpawn.java | 6 +- src/tk/coolv1994/plugins/spawn/Spawn.java | 2 +- 4 files changed, 59 insertions(+), 4 deletions(-) rename src/plugin.json => plugin.json (100%) create mode 100644 pom.xml diff --git a/src/plugin.json b/plugin.json similarity index 100% rename from src/plugin.json rename to plugin.json diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..7fc7ed9 --- /dev/null +++ b/pom.xml @@ -0,0 +1,55 @@ + + 4.0.0 + + tk.coolv1994.plugins + spawn + 1.0 + jar + + Spawn + https://github.com/GawdServer/Spawn + + + 1.8 + 1.8 + + + + + github-gawdapi + https://raw.githubusercontent.com/GawdServer/PluginAPI/mvn-repo + + + + + + tk.coolv1994 + gawdapi + 1.0.0 + + + junit + junit + 4.8.2 + test + + + + + src + ${project.name}_${project.version} + + + + + + plugin.json + + + + + + + + \ No newline at end of file diff --git a/src/tk/coolv1994/plugins/spawn/CommandSpawn.java b/src/tk/coolv1994/plugins/spawn/CommandSpawn.java index 66ce8ce..7d5235f 100644 --- a/src/tk/coolv1994/plugins/spawn/CommandSpawn.java +++ b/src/tk/coolv1994/plugins/spawn/CommandSpawn.java @@ -1,7 +1,7 @@ package tk.coolv1994.plugins.spawn; -import tk.coolv1994.gawdserver.events.Command; -import tk.coolv1994.gawdserver.launcher.Launch; +import tk.coolv1994.gawdapi.Gawd; +import tk.coolv1994.gawdapi.events.Command; /** * Created by Vinnie on 2/17/2015. @@ -9,6 +9,6 @@ public class CommandSpawn implements Command { @Override public void onCommand(String player, String[] args) { - Launch.sendCommand("tp " + player + " " + Spawn.coords); + Gawd.sendCommand("tp " + player + " " + Spawn.coords); } } diff --git a/src/tk/coolv1994/plugins/spawn/Spawn.java b/src/tk/coolv1994/plugins/spawn/Spawn.java index 9616129..f2fd75c 100644 --- a/src/tk/coolv1994/plugins/spawn/Spawn.java +++ b/src/tk/coolv1994/plugins/spawn/Spawn.java @@ -1,6 +1,6 @@ package tk.coolv1994.plugins.spawn; -import tk.coolv1994.gawdserver.plugin.Plugin; +import tk.coolv1994.gawdapi.plugin.Plugin; import java.io.*;