Skip to content

Commit

Permalink
Version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolV1994 committed Apr 17, 2015
1 parent ba1bbdb commit e220db6
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 4 deletions.
File renamed without changes.
55 changes: 55 additions & 0 deletions pom.xml
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>
6 changes: 3 additions & 3 deletions src/tk/coolv1994/plugins/spawn/CommandSpawn.java
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);
}
}
2 changes: 1 addition & 1 deletion src/tk/coolv1994/plugins/spawn/Spawn.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package tk.coolv1994.plugins.spawn;

import tk.coolv1994.gawdserver.plugin.Plugin;
import tk.coolv1994.gawdapi.plugin.Plugin;

import java.io.*;

Expand Down

0 comments on commit e220db6

Please sign in to comment.