diff --git a/src/main/java/com/plotsquared/sponge/SpongeMain.java b/src/main/java/com/plotsquared/sponge/SpongeMain.java index cb97539a2..7485bdc18 100644 --- a/src/main/java/com/plotsquared/sponge/SpongeMain.java +++ b/src/main/java/com/plotsquared/sponge/SpongeMain.java @@ -1,6 +1,7 @@ package com.plotsquared.sponge; import java.io.File; +import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Optional; @@ -447,7 +448,10 @@ public class SpongeMain implements IPlotMain, PluginContainer { @Override public List getPluginIds() { - // TODO Auto-generated method stub - return null; + ArrayList names = new ArrayList<>(); + for (PluginContainer plugin : game.getPluginManager().getPlugins()) { + names.add(plugin.getName() + ";" + plugin.getVersion() + ":" + true); + } + return names; } } diff --git a/src/main/java/com/plotsquared/sponge/util/KillRoadMobs.java b/src/main/java/com/plotsquared/sponge/util/KillRoadMobs.java index 3a60e99b4..75f4c738a 100644 --- a/src/main/java/com/plotsquared/sponge/util/KillRoadMobs.java +++ b/src/main/java/com/plotsquared/sponge/util/KillRoadMobs.java @@ -3,5 +3,6 @@ package com.plotsquared.sponge.util; public class KillRoadMobs { public void run() { // TODO kill road mobs + throw new UnsupportedOperationException("NOT IMPLEMENTED YET"); } } diff --git a/src/main/java/com/plotsquared/sponge/uuid/SpongeLowerOfflineUUIDWrapper.java b/src/main/java/com/plotsquared/sponge/uuid/SpongeLowerOfflineUUIDWrapper.java index 70ecee300..39694a7cb 100644 --- a/src/main/java/com/plotsquared/sponge/uuid/SpongeLowerOfflineUUIDWrapper.java +++ b/src/main/java/com/plotsquared/sponge/uuid/SpongeLowerOfflineUUIDWrapper.java @@ -90,4 +90,9 @@ public class SpongeLowerOfflineUUIDWrapper extends UUIDWrapper { // TODO FIXME throw new UnsupportedOperationException("NOT IMPLEMENTED YET"); } + + @Override + public OfflinePlotPlayer getOfflinePlayer(String name) { + throw new UnsupportedOperationException("NOT IMPLEMENTED YET"); + } } diff --git a/src/main/java/com/plotsquared/sponge/uuid/SpongeOnlineUUIDWrapper.java b/src/main/java/com/plotsquared/sponge/uuid/SpongeOnlineUUIDWrapper.java index c2c0d30ee..dfaf7e317 100644 --- a/src/main/java/com/plotsquared/sponge/uuid/SpongeOnlineUUIDWrapper.java +++ b/src/main/java/com/plotsquared/sponge/uuid/SpongeOnlineUUIDWrapper.java @@ -69,4 +69,9 @@ public class SpongeOnlineUUIDWrapper extends UUIDWrapper { throw new UnsupportedOperationException("NOT IMPLEMENTED YET"); } + @Override + public OfflinePlotPlayer getOfflinePlayer(String name) { + throw new UnsupportedOperationException("NOT IMPLEMENTED YET"); + } + }