summaryrefslogtreecommitdiffstats
path: root/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
diff options
context:
space:
mode:
authorementalo <me@ementalo.com>2015-04-11 21:47:56 +0100
committerementalo <me@ementalo.com>2015-04-11 21:47:56 +0100
commit9e6c686c297eb233dfa19872f2f42bbd2a8f421f (patch)
treebc1dfa4e3ec7ca5ce8c459baaaebe4bd2b09ec5e /EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
parentce8313bd688ecad3ed98decaf5ef9029fca8f100 (diff)
downloadEssentials-9e6c686c297eb233dfa19872f2f42bbd2a8f421f.tar
Essentials-9e6c686c297eb233dfa19872f2f42bbd2a8f421f.tar.gz
Essentials-9e6c686c297eb233dfa19872f2f42bbd2a8f421f.tar.lz
Essentials-9e6c686c297eb233dfa19872f2f42bbd2a8f421f.tar.xz
Essentials-9e6c686c297eb233dfa19872f2f42bbd2a8f421f.zip
Change namespace from com.earth2me to org.mcess - net.ess3.api changes still required
Diffstat (limited to 'EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java')
-rw-r--r--EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java40
1 files changed, 0 insertions, 40 deletions
diff --git a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
deleted file mode 100644
index aced4ccb8..000000000
--- a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package com.earth2me.essentials.geoip;
-
-import static com.earth2me.essentials.I18n.tl;
-import net.ess3.api.IEssentials;
-import java.util.logging.Level;
-import org.bukkit.plugin.PluginManager;
-import org.bukkit.plugin.java.JavaPlugin;
-
-
-public class EssentialsGeoIP extends JavaPlugin
-{
- public EssentialsGeoIP()
- {
- }
-
- @Override
- public void onDisable()
- {
- }
-
- @Override
- public void onEnable()
- {
- final PluginManager pm = getServer().getPluginManager();
- final IEssentials ess = (IEssentials)pm.getPlugin("Essentials");
- if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion()))
- {
- getLogger().log(Level.WARNING, tl("versionMismatchAll"));
- }
- if (!ess.isEnabled()) {
- this.setEnabled(false);
- return;
- }
- final EssentialsGeoIPPlayerListener playerListener = new EssentialsGeoIPPlayerListener(getDataFolder(), ess);
- pm.registerEvents(playerListener, this);
-
-
- getLogger().log(Level.INFO, "This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.");
- }
-}