-
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.
Create a basic plugin that does nothing but force Magic to load earlier
- Loading branch information
1 parent
584413f
commit 0e72343
Showing
5 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
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
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,2 +1,5 @@ | ||
# MagicStartup | ||
|
||
An add-on plugin to make the Magic plugin load at startup | ||
|
||
This is usually only needed if you are using Magic's world generator on one of the default worlds. |
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,73 @@ | ||
<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>com.elmakers.mine.bukkit.plugins</groupId> | ||
<artifactId>MagicStartup</artifactId> | ||
<version>1.0</version> | ||
<name>Magic Startup</name> | ||
<url>http://mine.elmakers.com</url> | ||
|
||
<licenses> | ||
<license> | ||
<name>MIT License</name> | ||
<url>LICENSE</url> | ||
</license> | ||
</licenses> | ||
|
||
<ciManagement> | ||
<system>Jenkins</system> | ||
<url>http://jenkins.elmakers.com</url> | ||
</ciManagement> | ||
|
||
<scm> | ||
<connection>scm:git:git://github.com/elBukkit/MagicStartup.git</connection> | ||
<developerConnection>scm:git:git@github.com:elBukkit/MagicStartup.git</developerConnection> | ||
<url>https://github.com/elBukkit/MagicStartup</url> | ||
<tag>master</tag> | ||
</scm> | ||
|
||
<distributionManagement> | ||
<repository> | ||
<id>maven.elmakers.com</id> | ||
<url>http://maven.elmakers.com/repository/</url> | ||
</repository> | ||
<snapshotRepository> | ||
<id>maven.elmakers.com</id> | ||
<url>http://maven.elmakers.com/repository/</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.bukkit</groupId> | ||
<artifactId>bukkit</artifactId> | ||
<version>1.13-R0.1-SNAPSHOT</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
<repositories> | ||
<repository> | ||
<id>elMakers</id> | ||
<url>http://maven.elmakers.com/repository/</url> | ||
</repository> | ||
</repositories> | ||
<build> | ||
<resources> | ||
<resource> | ||
<directory>src/main/resources/</directory> | ||
<filtering>true</filtering> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>2.0.2</version> | ||
<configuration> | ||
<source>1.6</source> | ||
<target>1.6</target> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
11 changes: 11 additions & 0 deletions
11
src/main/java/com/elmakers/mine/bukkit/magicstartup/MagicStartupPlugin.java
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,11 @@ | ||
package com.elmakers.mine.bukkit.magicstartup; | ||
|
||
import org.bukkit.plugin.java.JavaPlugin; | ||
|
||
public class MagicStartupPlugin extends JavaPlugin { | ||
public void onEnable() { | ||
} | ||
|
||
public void onDisable() { | ||
} | ||
} |
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,9 @@ | ||
name: MagicStartup | ||
main: com.elmakers.mine.bukkit.magicstartup.MagicStartupPlugin | ||
version: 1.0 | ||
website: http://mine.elmakers.com | ||
author: NathanWolf | ||
description : A plugin to force Magic to load at startup | ||
depend: [Magic] | ||
api-version: 1.13 | ||
load: STARTUP |