Hard-coded UUIDs for Staff Server to prevent UUID lookup Rate limits
This commit is contained in:
parent
bd8c101901
commit
579ac8171d
@ -1,5 +1,7 @@
|
|||||||
package mineplex.staffServer;
|
package mineplex.staffServer;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
import mineplex.core.account.CoreClientManager;
|
import mineplex.core.account.CoreClientManager;
|
||||||
import mineplex.core.antihack.AntiHack;
|
import mineplex.core.antihack.AntiHack;
|
||||||
import mineplex.core.chat.Chat;
|
import mineplex.core.chat.Chat;
|
||||||
@ -75,52 +77,11 @@ public class StaffServer extends JavaPlugin
|
|||||||
|
|
||||||
((CraftServer)getServer()).setWhitelist(true);
|
((CraftServer)getServer()).setWhitelist(true);
|
||||||
|
|
||||||
Bukkit.getScheduler().scheduleSyncDelayedTask(this, new Runnable()
|
((CraftServer)getServer()).getHandle().addWhitelist(new GameProfile(UUID.fromString("d3965dbc-f9cc-4e5d-9306-5be2a23ad6cb"), "NDrew"));
|
||||||
{
|
((CraftServer)getServer()).getHandle().addWhitelist(new GameProfile(UUID.fromString("939cfa72-213c-4b70-a638-c637a4955239"), "Morena"));
|
||||||
public void run()
|
((CraftServer)getServer()).getHandle().addWhitelist(new GameProfile(UUID.fromString("f4a7aad4-116f-491a-b162-af0422c0ec4f"), "Revolark"));
|
||||||
{
|
((CraftServer)getServer()).getHandle().addWhitelist(new GameProfile(UUID.fromString("04a484d0-93e0-4777-a70c-808046917e3a"), "EvilEsther"));
|
||||||
((CraftServer)getServer()).getHandle().addWhitelist(new ProfileLoader(UUIDFetcher.getUUIDOf("NDrew").toString(), "NDrew").loadProfile());
|
((CraftServer)getServer()).getHandle().addWhitelist(new GameProfile(UUID.fromString("a6324fac-d44e-449c-adbe-6238423e29f2"), "Timmy48081"));
|
||||||
}
|
((CraftServer)getServer()).getHandle().addWhitelist(new GameProfile(UUID.fromString("2d5fd31b-0aa5-41db-a62d-a4611a24349a"), "ishh"));
|
||||||
}, 20L);
|
|
||||||
|
|
||||||
Bukkit.getScheduler().scheduleSyncDelayedTask(this, new Runnable()
|
|
||||||
{
|
|
||||||
public void run()
|
|
||||||
{
|
|
||||||
((CraftServer)getServer()).getHandle().addWhitelist(new ProfileLoader(UUIDFetcher.getUUIDOf("Morena").toString(), "Morena").loadProfile());
|
|
||||||
}
|
|
||||||
}, 40L);
|
|
||||||
|
|
||||||
Bukkit.getScheduler().scheduleSyncDelayedTask(this, new Runnable()
|
|
||||||
{
|
|
||||||
public void run()
|
|
||||||
{
|
|
||||||
((CraftServer)getServer()).getHandle().addWhitelist(new ProfileLoader(UUIDFetcher.getUUIDOf("Revolark").toString(), "Revolark").loadProfile());
|
|
||||||
}
|
|
||||||
}, 60L);
|
|
||||||
|
|
||||||
Bukkit.getScheduler().scheduleSyncDelayedTask(this, new Runnable()
|
|
||||||
{
|
|
||||||
public void run()
|
|
||||||
{
|
|
||||||
((CraftServer)getServer()).getHandle().addWhitelist(new ProfileLoader(UUIDFetcher.getUUIDOf("EvilEsther").toString(), "EvilEsther").loadProfile());
|
|
||||||
}
|
|
||||||
}, 80L);
|
|
||||||
|
|
||||||
Bukkit.getScheduler().scheduleSyncDelayedTask(this, new Runnable()
|
|
||||||
{
|
|
||||||
public void run()
|
|
||||||
{
|
|
||||||
((CraftServer)getServer()).getHandle().addWhitelist(new ProfileLoader(UUIDFetcher.getUUIDOf("Timmy48081_").toString(), "Timmy48081_").loadProfile());
|
|
||||||
}
|
|
||||||
}, 100L);
|
|
||||||
|
|
||||||
Bukkit.getScheduler().scheduleSyncDelayedTask(this, new Runnable()
|
|
||||||
{
|
|
||||||
public void run()
|
|
||||||
{
|
|
||||||
((CraftServer)getServer()).getHandle().addWhitelist(new ProfileLoader(UUIDFetcher.getUUIDOf("issh").toString(), "issh").loadProfile());
|
|
||||||
}
|
|
||||||
}, 120L);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user