Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Dynmap support, no added features yet
- Loading branch information
Showing
4 changed files
with
59 additions
and
7 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
14 changes: 14 additions & 0 deletions
14
src/main/java/net/gnomeffinway/depenizen/events/DynmapEvents.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,14 @@ | ||
package net.gnomeffinway.depenizen.events; | ||
|
||
import net.gnomeffinway.depenizen.Depenizen; | ||
|
||
import org.bukkit.event.Listener; | ||
|
||
public class DynmapEvents implements Listener { | ||
|
||
public DynmapEvents(Depenizen depenizen) { | ||
depenizen.getServer().getPluginManager().registerEvents(this, depenizen); | ||
} | ||
|
||
|
||
} |
18 changes: 18 additions & 0 deletions
18
src/main/java/net/gnomeffinway/depenizen/support/DynmapSupport.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,18 @@ | ||
package net.gnomeffinway.depenizen.support; | ||
|
||
import net.gnomeffinway.depenizen.Depenizen; | ||
import net.gnomeffinway.depenizen.events.DynmapEvents; | ||
|
||
public class DynmapSupport { | ||
|
||
public Depenizen depenizen; | ||
|
||
public DynmapSupport(Depenizen depenizen) { | ||
this.depenizen = depenizen; | ||
} | ||
|
||
public void register() { | ||
new DynmapEvents(depenizen); | ||
} | ||
|
||
} |