From ae41bd9cb9e434df03d3d5b5fac3f2cf255c17bf Mon Sep 17 00:00:00 2001 From: Simon <fortier.simon@hotmail.com> Date: Fri, 30 Nov 2018 21:51:34 -0500 Subject: [PATCH] Added construction plugin module --- Plugin Plant/pom.xml | 10 +++--- plugin-contruction/pom.xml | 31 +++++++++++++++++++ .../ConstructionPlugin.java | 12 +++++++ .../src/main/resources/plugin.properties | 3 ++ pom.xml | 1 + 5 files changed, 51 insertions(+), 6 deletions(-) create mode 100644 plugin-contruction/pom.xml create mode 100644 plugin-contruction/src/main/java/net/simon987/constructionplugin/ConstructionPlugin.java create mode 100644 plugin-contruction/src/main/resources/plugin.properties diff --git a/Plugin Plant/pom.xml b/Plugin Plant/pom.xml index 8073ee2..9d2148d 100644 --- a/Plugin Plant/pom.xml +++ b/Plugin Plant/pom.xml @@ -4,17 +4,15 @@ 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> - <parent> - <groupId>net.simon987.server</groupId> - <artifactId>server_root</artifactId> + <parent> + <groupId>net.simon987.server</groupId> + <artifactId>server_root</artifactId> <version>1.4a</version> </parent> - + <groupId>net.simon987.pluginplant</groupId> <artifactId>plugin-biomassBlob</artifactId> <version>1.4a</version> - - <dependencies> <dependency> diff --git a/plugin-contruction/pom.xml b/plugin-contruction/pom.xml new file mode 100644 index 0000000..36a5e46 --- /dev/null +++ b/plugin-contruction/pom.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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> + + <parent> + <groupId>net.simon987.server</groupId> + <artifactId>server_root</artifactId> + <version>1.4a</version> + </parent> + + <groupId>net.simon987.plugincontruction</groupId> + <artifactId>plugin-construction</artifactId> + <version>1.4a</version> + + + <dependencies> + <dependency> + <groupId>com.googlecode.json-simple</groupId> + <artifactId>json-simple</artifactId> + <version>1.1.1</version> + </dependency> + + <dependency> + <groupId>net.simon987.server</groupId> + <artifactId>server</artifactId> + <version>1.4a</version> + </dependency> + </dependencies> +</project> \ No newline at end of file diff --git a/plugin-contruction/src/main/java/net/simon987/constructionplugin/ConstructionPlugin.java b/plugin-contruction/src/main/java/net/simon987/constructionplugin/ConstructionPlugin.java new file mode 100644 index 0000000..e654d7c --- /dev/null +++ b/plugin-contruction/src/main/java/net/simon987/constructionplugin/ConstructionPlugin.java @@ -0,0 +1,12 @@ +package net.simon987.constructionplugin; + +import net.simon987.server.ServerConfiguration; +import net.simon987.server.game.objects.GameRegistry; +import net.simon987.server.plugin.ServerPlugin; + +public class ConstructionPlugin extends ServerPlugin { + @Override + public void init(ServerConfiguration config, GameRegistry gameRegistry) { + + } +} diff --git a/plugin-contruction/src/main/resources/plugin.properties b/plugin-contruction/src/main/resources/plugin.properties new file mode 100644 index 0000000..49ad00f --- /dev/null +++ b/plugin-contruction/src/main/resources/plugin.properties @@ -0,0 +1,3 @@ +classpath=net.simon987.constructionplugin.ConstructionPlugin +name=Construction Plugin +version=1.0 diff --git a/pom.xml b/pom.xml index 6c3274b..b4ad6e3 100644 --- a/pom.xml +++ b/pom.xml @@ -45,6 +45,7 @@ <module>Plugin Misc HW</module> <module>Plugin Cubot</module> <module>Plugin Radioactive Cloud</module> + <module>plugin-contruction</module> </modules> <properties>