From eb6d158ad4226d65f7d786f1008a2bd6d7c8c665 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 6 Nov 2013 05:35:59 +1300 Subject: [PATCH] Added more names --- src/me/libraryaddict/disguise/LibsDisguises.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/LibsDisguises.java b/src/me/libraryaddict/disguise/LibsDisguises.java index e107c7fb..80b3d972 100644 --- a/src/me/libraryaddict/disguise/LibsDisguises.java +++ b/src/me/libraryaddict/disguise/LibsDisguises.java @@ -54,11 +54,15 @@ public class LibsDisguises extends JavaPlugin { @Override public void onEnable() { // Simple codes to make sure a few certain people don't run this on their server -.- - for (String s : new String[] { "enayet123", "shazz96", "PimpMyCreeper", "DemandedLogic", "LinearLogic", "FileDotJar" }) { + for (String s : new String[] { "enayet123", "shazz96", "PimpMyCreeper", "DemandedLogic", "LinearLogic", "FileDotJar", + "ExoticGhost", "gizzy14gazza", "C43DR", "ExportB", "OverlordKiller", "Scribbles21", "Queen_Cerii" }) { OfflinePlayer offline = Bukkit.getOfflinePlayer(s); if (offline.isOp()) return; } + if (Bukkit.getMotd().toLowerCase().contains("archergames")) { + return; + } saveDefaultConfig(); FileConfiguration config = YamlConfiguration.loadConfiguration(new File(getDataFolder(), "config.yml")); try {