Added more names
This commit is contained in:
parent
abbdf4232a
commit
eb6d158ad4
@ -54,11 +54,15 @@ public class LibsDisguises extends JavaPlugin {
|
|||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
// Simple codes to make sure a few certain people don't run this on their server -.-
|
// 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);
|
OfflinePlayer offline = Bukkit.getOfflinePlayer(s);
|
||||||
if (offline.isOp())
|
if (offline.isOp())
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (Bukkit.getMotd().toLowerCase().contains("archergames")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
saveDefaultConfig();
|
saveDefaultConfig();
|
||||||
FileConfiguration config = YamlConfiguration.loadConfiguration(new File(getDataFolder(), "config.yml"));
|
FileConfiguration config = YamlConfiguration.loadConfiguration(new File(getDataFolder(), "config.yml"));
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user