-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
CoolV1994
committed
Apr 17, 2015
1 parent
ba1bbdb
commit e220db6
Showing
4 changed files
with
59 additions
and
4 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<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"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>tk.coolv1994.plugins</groupId> | ||
<artifactId>spawn</artifactId> | ||
<version>1.0</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>Spawn</name> | ||
<url>https://github.com/GawdServer/Spawn</url> | ||
|
||
<properties> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
</properties> | ||
|
||
<repositories> | ||
<repository> | ||
<id>github-gawdapi</id> | ||
<url>https://raw.githubusercontent.com/GawdServer/PluginAPI/mvn-repo</url> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>tk.coolv1994</groupId> | ||
<artifactId>gawdapi</artifactId> | ||
<version>1.0.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.8.2</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<sourceDirectory>src</sourceDirectory> | ||
<finalName>${project.name}_${project.version}</finalName> | ||
|
||
<resources> | ||
<resource> | ||
<directory></directory> | ||
<includes> | ||
<include>plugin.json</include> | ||
</includes> | ||
</resource> | ||
</resources> | ||
|
||
<plugins> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
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. | ||
*/ | ||
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); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters