Fixes for Custom tag
Fix for Bridge time Fix for tournament auto whitelist. Added UI stuf for tourney Added build files for arcade.
This commit is contained in:
parent
7ad7dd939d
commit
a395cae764
@ -17,6 +17,9 @@
|
||||
<fileset dir="../Mineplex.Minecraft.Game.Core/bin">
|
||||
<include name="**/*.class"/>
|
||||
</fileset>
|
||||
<fileset dir="../Mineplex.Database/bin">
|
||||
<include name="**/*.class"/>
|
||||
</fileset>
|
||||
<fileset dir="../Nautilus.Game.Arcade">
|
||||
<include name="*.yml"/>
|
||||
</fileset>
|
||||
|
@ -78,17 +78,20 @@ public class CustomTagFix extends MiniPlugin implements IPacketHandler
|
||||
PacketPlayOutSpawnEntityLiving spawnPacket = (PacketPlayOutSpawnEntityLiving)packet;
|
||||
|
||||
// Ignore Armor stand packets
|
||||
if (spawnPacket.b == 30)
|
||||
if (spawnPacket.b == 30 || spawnPacket.l == null || spawnPacket.l.c() == null || spawnPacket.a == 777777)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
for (WatchableObject watchable : (List<WatchableObject>)spawnPacket.l.b())
|
||||
for (WatchableObject watchable : (List<WatchableObject>)spawnPacket.l.c())
|
||||
{
|
||||
if ((watchable.a() == 11 || watchable.a() == 3) && watchable.b() instanceof Byte)
|
||||
{
|
||||
final String entityName = spawnPacket.l.getString(10);
|
||||
|
||||
if (entityName.isEmpty())
|
||||
return;
|
||||
|
||||
if (_entityMap.get(owner).containsKey(spawnPacket.a))
|
||||
{
|
||||
verifier.bypassProcess(new PacketPlayOutEntityDestroy(_entityMap.get(owner).get(spawnPacket.a)));
|
||||
|
@ -499,6 +499,9 @@ public class ServerManager extends MiniPlugin
|
||||
if (_clientManager.Get(partyPlayer).GetRank().Has(Rank.ULTRA) || _donationManager.Get(partyPlayer.getName()).OwnsUnknownPackage(serverInfo.ServerType + " ULTRA"))
|
||||
continue;
|
||||
|
||||
if (serverInfo.Name.contains("T_"))
|
||||
continue;
|
||||
|
||||
partyPlayer.leaveVehicle();
|
||||
partyPlayer.eject();
|
||||
|
||||
|
@ -147,11 +147,6 @@ public class ArcadeManager extends MiniPlugin implements IRelation
|
||||
super("Game Manager", plugin);
|
||||
|
||||
_serverConfig = serverConfig;
|
||||
if (serverConfig.Tournament)
|
||||
{
|
||||
AntiHack.Instance.SetEnabled(false);
|
||||
Bukkit.getServer().setWhitelist(true);
|
||||
}
|
||||
|
||||
// Modules
|
||||
_antistack = antistack;
|
||||
|
@ -79,7 +79,7 @@ public class Bridge extends TeamGame implements OreObsfucation
|
||||
private static final Material[] PLAYER_DROP_DELAY_MATERIALS = new Material[] { Material.LOG, Material.LOG_2, Material.IRON_ORE, Material.DIAMOND_ORE, Material.COAL_ORE, Material.GOLD_ORE, Material.WORKBENCH, Material.FURNACE };
|
||||
|
||||
//Bridge Timer
|
||||
private int _bridgeTime = 5000; //600000
|
||||
private int _bridgeTime = 600000;
|
||||
private boolean _bridgesDown = false;
|
||||
|
||||
//Wood Bridge
|
||||
|
Loading…
Reference in New Issue
Block a user