Rename game type to Bawk Bawk Battles, change item display to Egg.
This commit is contained in:
parent
f2d58bd55c
commit
27daace524
@ -31,7 +31,7 @@ public enum GameDisplay
|
|||||||
Micro("Micro Battle", Material.LAVA_BUCKET, (byte)0, GameCategory.ARCADE, 24),
|
Micro("Micro Battle", Material.LAVA_BUCKET, (byte)0, GameCategory.ARCADE, 24),
|
||||||
MilkCow("Milk the Cow", Material.MILK_BUCKET, (byte)0, GameCategory.ARCADE, 27),
|
MilkCow("Milk the Cow", Material.MILK_BUCKET, (byte)0, GameCategory.ARCADE, 27),
|
||||||
MineStrike("MineStrike", Material.TNT, (byte)0, GameCategory.CHAMPIONS, 25),// Temp set to CHAMPIONS to fix UI bug
|
MineStrike("MineStrike", Material.TNT, (byte)0, GameCategory.CHAMPIONS, 25),// Temp set to CHAMPIONS to fix UI bug
|
||||||
MineWare("MineWare", Material.PAPER, (byte)0, GameCategory.EXTRA, 26),
|
BawkBawkBattles("Bawk Bawk Battles", Material.EGG, (byte)0, GameCategory.EXTRA, 26),
|
||||||
OldMineWare("Old MineWare", Material.PAPER, (byte)0, GameCategory.EXTRA, 26),
|
OldMineWare("Old MineWare", Material.PAPER, (byte)0, GameCategory.EXTRA, 26),
|
||||||
Paintball("Super Paintball", Material.ENDER_PEARL, (byte)0, GameCategory.ARCADE, 28),
|
Paintball("Super Paintball", Material.ENDER_PEARL, (byte)0, GameCategory.ARCADE, 28),
|
||||||
Quiver("One in the Quiver", Material.ARROW, (byte)0, GameCategory.ARCADE, 29),
|
Quiver("One in the Quiver", Material.ARROW, (byte)0, GameCategory.ARCADE, 29),
|
||||||
|
@ -34,7 +34,7 @@ import nautilus.game.arcade.game.games.lobbers.BombLobbers;
|
|||||||
import nautilus.game.arcade.game.games.micro.Micro;
|
import nautilus.game.arcade.game.games.micro.Micro;
|
||||||
import nautilus.game.arcade.game.games.milkcow.MilkCow;
|
import nautilus.game.arcade.game.games.milkcow.MilkCow;
|
||||||
import nautilus.game.arcade.game.games.minestrike.MineStrike;
|
import nautilus.game.arcade.game.games.minestrike.MineStrike;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.monsterleague.MonsterLeague;
|
import nautilus.game.arcade.game.games.monsterleague.MonsterLeague;
|
||||||
import nautilus.game.arcade.game.games.monstermaze.MonsterMaze;
|
import nautilus.game.arcade.game.games.monstermaze.MonsterMaze;
|
||||||
import nautilus.game.arcade.game.games.oldmineware.OldMineWare;
|
import nautilus.game.arcade.game.games.oldmineware.OldMineWare;
|
||||||
@ -98,7 +98,7 @@ public enum GameType
|
|||||||
Micro(Micro.class, GameDisplay.Micro),
|
Micro(Micro.class, GameDisplay.Micro),
|
||||||
MilkCow(MilkCow.class, GameDisplay.MilkCow),
|
MilkCow(MilkCow.class, GameDisplay.MilkCow),
|
||||||
MineStrike(MineStrike.class, GameDisplay.MineStrike, "http://chivebox.com/mineplex/ResMinestrike.zip", true),
|
MineStrike(MineStrike.class, GameDisplay.MineStrike, "http://chivebox.com/mineplex/ResMinestrike.zip", true),
|
||||||
MineWare(MineWare.class, GameDisplay.MineWare),
|
BawkBawkBattles(BawkBawkBattles.class, GameDisplay.BawkBawkBattles),
|
||||||
OldMineWare(OldMineWare.class, GameDisplay.OldMineWare),
|
OldMineWare(OldMineWare.class, GameDisplay.OldMineWare),
|
||||||
Paintball(Paintball.class, GameDisplay.Paintball),
|
Paintball(Paintball.class, GameDisplay.Paintball),
|
||||||
Quiver(Quiver.class, GameDisplay.Quiver),
|
Quiver(Quiver.class, GameDisplay.Quiver),
|
||||||
|
@ -17,7 +17,7 @@ import net.minecraft.server.v1_8_R3.EntityPlayer;
|
|||||||
|
|
||||||
public class AntiHackFix implements Listener
|
public class AntiHackFix implements Listener
|
||||||
{
|
{
|
||||||
private MineWare _host;
|
private BawkBawkBattles _host;
|
||||||
private Challenge _challenge;
|
private Challenge _challenge;
|
||||||
|
|
||||||
public AntiHackFix(Challenge challenge)
|
public AntiHackFix(Challenge challenge)
|
||||||
|
@ -37,7 +37,7 @@ public abstract class Challenge implements Listener
|
|||||||
LastStanding, FirstComplete
|
LastStanding, FirstComplete
|
||||||
}
|
}
|
||||||
|
|
||||||
public MineWare Host;
|
public BawkBawkBattles Host;
|
||||||
|
|
||||||
private String _name;
|
private String _name;
|
||||||
private String[] _description;
|
private String[] _description;
|
||||||
@ -66,7 +66,7 @@ public abstract class Challenge implements Listener
|
|||||||
* @param name The display name of the challenge.
|
* @param name The display name of the challenge.
|
||||||
* @param description The description of the challenge.
|
* @param description The description of the challenge.
|
||||||
*/
|
*/
|
||||||
public Challenge(MineWare host, ChallengeType type, String name, String... description)
|
public Challenge(BawkBawkBattles host, ChallengeType type, String name, String... description)
|
||||||
{
|
{
|
||||||
Host = host;
|
Host = host;
|
||||||
_type = type;
|
_type = type;
|
||||||
@ -89,7 +89,7 @@ public abstract class Challenge implements Listener
|
|||||||
* @param crumble Whether or not the map can crumble.
|
* @param crumble Whether or not the map can crumble.
|
||||||
* @param description The description of the challenge.
|
* @param description The description of the challenge.
|
||||||
*/
|
*/
|
||||||
public Challenge(MineWare host, ChallengeType type, String name, boolean teamBased,
|
public Challenge(BawkBawkBattles host, ChallengeType type, String name, boolean teamBased,
|
||||||
boolean crumble, String... description)
|
boolean crumble, String... description)
|
||||||
{
|
{
|
||||||
Host = host;
|
Host = host;
|
||||||
|
@ -16,7 +16,7 @@ public abstract class ChallengeSeperateRooms extends Challenge
|
|||||||
private HashMap<String, Location> _rooms = new HashMap<String, Location>();
|
private HashMap<String, Location> _rooms = new HashMap<String, Location>();
|
||||||
private double _borderX, _borderZ;
|
private double _borderX, _borderZ;
|
||||||
|
|
||||||
public ChallengeSeperateRooms(MineWare host, ChallengeType challengeType, String challengeName)
|
public ChallengeSeperateRooms(BawkBawkBattles host, ChallengeType challengeType, String challengeName)
|
||||||
{
|
{
|
||||||
super(host, challengeType, challengeName);
|
super(host, challengeType, challengeName);
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -26,8 +26,8 @@ import mineplex.core.common.util.UtilFirework;
|
|||||||
import mineplex.core.common.util.UtilMath;
|
import mineplex.core.common.util.UtilMath;
|
||||||
import mineplex.core.common.util.UtilServer;
|
import mineplex.core.common.util.UtilServer;
|
||||||
import mineplex.core.common.util.UtilShapes;
|
import mineplex.core.common.util.UtilShapes;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeAnvilDance extends Challenge
|
public class ChallengeAnvilDance extends Challenge
|
||||||
{
|
{
|
||||||
@ -54,7 +54,7 @@ public class ChallengeAnvilDance extends Challenge
|
|||||||
private long _killCurrentTime;
|
private long _killCurrentTime;
|
||||||
private BukkitTask _fireworkTask;
|
private BukkitTask _fireworkTask;
|
||||||
|
|
||||||
public ChallengeAnvilDance(MineWare host)
|
public ChallengeAnvilDance(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Anvil Dance", "It's raining anvils!", "Dodge them to stay alive.");
|
super(host, ChallengeType.LastStanding, "Anvil Dance", "It's raining anvils!", "Dodge them to stay alive.");
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,8 @@ import mineplex.core.common.util.UtilBlock;
|
|||||||
import mineplex.core.common.util.UtilMath;
|
import mineplex.core.common.util.UtilMath;
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
import nautilus.game.arcade.game.games.mineware.AntiHackFix;
|
import nautilus.game.arcade.game.games.mineware.AntiHackFix;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
import nautilus.game.arcade.game.games.mineware.events.ChallengeEndEvent;
|
import nautilus.game.arcade.game.games.mineware.events.ChallengeEndEvent;
|
||||||
|
|
||||||
public class ChallengeArrowRampage extends Challenge
|
public class ChallengeArrowRampage extends Challenge
|
||||||
@ -36,7 +36,7 @@ public class ChallengeArrowRampage extends Challenge
|
|||||||
private AntiHackFix _antiHackFix;
|
private AntiHackFix _antiHackFix;
|
||||||
private HashSet<Arrow> _arrows = new HashSet<Arrow>();
|
private HashSet<Arrow> _arrows = new HashSet<Arrow>();
|
||||||
|
|
||||||
public ChallengeArrowRampage(MineWare host)
|
public ChallengeArrowRampage(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(
|
super(
|
||||||
host,
|
host,
|
||||||
|
@ -25,15 +25,15 @@ import mineplex.core.common.util.UtilShapes;
|
|||||||
import mineplex.core.projectile.ProjectileUser;
|
import mineplex.core.projectile.ProjectileUser;
|
||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeBlockLobbers extends Challenge
|
public class ChallengeBlockLobbers extends Challenge
|
||||||
{
|
{
|
||||||
private ArrayList<Material> _tBlocks = new ArrayList<Material>(
|
private ArrayList<Material> _tBlocks = new ArrayList<Material>(
|
||||||
Arrays.asList(Material.GRASS, Material.DIRT, Material.SPONGE, Material.WOOD));
|
Arrays.asList(Material.GRASS, Material.DIRT, Material.SPONGE, Material.WOOD));
|
||||||
|
|
||||||
public ChallengeBlockLobbers(MineWare host)
|
public ChallengeBlockLobbers(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(
|
super(
|
||||||
host, ChallengeType.LastStanding,
|
host, ChallengeType.LastStanding,
|
||||||
|
@ -28,8 +28,8 @@ import mineplex.core.recharge.Recharge;
|
|||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
import nautilus.game.arcade.game.games.mineware.AntiHackFix;
|
import nautilus.game.arcade.game.games.mineware.AntiHackFix;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeBouncingBlock extends Challenge
|
public class ChallengeBouncingBlock extends Challenge
|
||||||
{
|
{
|
||||||
@ -37,7 +37,7 @@ public class ChallengeBouncingBlock extends Challenge
|
|||||||
private ArrayList<Block> _scoreBlocks = new ArrayList<Block>();
|
private ArrayList<Block> _scoreBlocks = new ArrayList<Block>();
|
||||||
private HashMap<Player, Integer> _playerScore = new HashMap<Player, Integer>();
|
private HashMap<Player, Integer> _playerScore = new HashMap<Player, Integer>();
|
||||||
|
|
||||||
public ChallengeBouncingBlock(MineWare host)
|
public ChallengeBouncingBlock(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Bouncing Block", "Jump and punch floating wool blocks.",
|
super(host, ChallengeType.FirstComplete, "Bouncing Block", "Jump and punch floating wool blocks.",
|
||||||
"Avoid landing on red wool.", "First to 10 wins!");
|
"Avoid landing on red wool.", "First to 10 wins!");
|
||||||
|
@ -3,20 +3,20 @@ package nautilus.game.arcade.game.games.mineware.challenges;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
import nautilus.game.arcade.game.games.mineware.ChallengeSeperateRooms;
|
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.GameMode;
|
import org.bukkit.GameMode;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.ChallengeSeperateRooms;
|
||||||
|
|
||||||
public class ChallengeBuildBuilding extends ChallengeSeperateRooms
|
public class ChallengeBuildBuilding extends ChallengeSeperateRooms
|
||||||
{
|
{
|
||||||
private ArrayList<Material> _materials = new ArrayList<Material>();
|
private ArrayList<Material> _materials = new ArrayList<Material>();
|
||||||
private HashMap<Location, Material> _build = new HashMap<Location, Material>();
|
private HashMap<Location, Material> _build = new HashMap<Location, Material>();
|
||||||
|
|
||||||
public ChallengeBuildBuilding(MineWare host, String challengeName)
|
public ChallengeBuildBuilding(BawkBawkBattles host, String challengeName)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Replicate the building!");
|
super(host, ChallengeType.FirstComplete, "Replicate the building!");
|
||||||
|
|
||||||
|
@ -9,11 +9,11 @@ import mineplex.core.common.util.UtilInv;
|
|||||||
import mineplex.core.common.util.UtilParticle;
|
import mineplex.core.common.util.UtilParticle;
|
||||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||||
import mineplex.core.common.util.UtilParticle.ViewDist;
|
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import mineplex.core.common.util.UtilServer;
|
import mineplex.core.common.util.UtilServer;
|
||||||
import mineplex.core.common.util.UtilShapes;
|
import mineplex.core.common.util.UtilShapes;
|
||||||
import mineplex.core.common.util.UtilTextMiddle;
|
import mineplex.core.common.util.UtilTextMiddle;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.Effect;
|
import org.bukkit.Effect;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
@ -42,7 +42,7 @@ public class ChallengeBuildRace extends Challenge
|
|||||||
Material.GLASS
|
Material.GLASS
|
||||||
};
|
};
|
||||||
|
|
||||||
public ChallengeBuildRace(MineWare host)
|
public ChallengeBuildRace(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Build Race", "Your inventory is filled with blocks.",
|
super(host, ChallengeType.FirstComplete, "Build Race", "Your inventory is filled with blocks.",
|
||||||
"Be the first to place them all in the ground!");
|
"Be the first to place them all in the ground!");
|
||||||
|
@ -3,8 +3,8 @@ package nautilus.game.arcade.game.games.mineware.challenges;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import mineplex.core.common.util.UtilMath;
|
import mineplex.core.common.util.UtilMath;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
@ -20,7 +20,7 @@ import org.bukkit.inventory.ItemStack;
|
|||||||
|
|
||||||
public class ChallengeChestLoot extends Challenge
|
public class ChallengeChestLoot extends Challenge
|
||||||
{
|
{
|
||||||
public ChallengeChestLoot(MineWare host)
|
public ChallengeChestLoot(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete,"Diamond Seeker", "Find a diamond in the chests.");
|
super(host, ChallengeType.FirstComplete,"Diamond Seeker", "Find a diamond in the chests.");
|
||||||
}
|
}
|
||||||
|
@ -15,8 +15,8 @@ import mineplex.core.common.util.UtilMath;
|
|||||||
import mineplex.core.common.util.UtilShapes;
|
import mineplex.core.common.util.UtilShapes;
|
||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeChickenFishing extends Challenge
|
public class ChallengeChickenFishing extends Challenge
|
||||||
{
|
{
|
||||||
@ -24,7 +24,7 @@ public class ChallengeChickenFishing extends Challenge
|
|||||||
private ArrayList<Location> _spawns = new ArrayList<Location>();
|
private ArrayList<Location> _spawns = new ArrayList<Location>();
|
||||||
private ArrayList<Location> _chickenSpawns = new ArrayList<Location>();
|
private ArrayList<Location> _chickenSpawns = new ArrayList<Location>();
|
||||||
|
|
||||||
public ChallengeChickenFishing(MineWare host)
|
public ChallengeChickenFishing(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete,"Chicken Fishing", "Fish all dem Chickens");
|
super(host, ChallengeType.FirstComplete,"Chicken Fishing", "Fish all dem Chickens");
|
||||||
}
|
}
|
||||||
|
@ -13,12 +13,12 @@ import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
|
|||||||
import mineplex.core.common.util.UtilMath;
|
import mineplex.core.common.util.UtilMath;
|
||||||
import mineplex.core.common.util.UtilShapes;
|
import mineplex.core.common.util.UtilShapes;
|
||||||
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeCloudFall extends Challenge
|
public class ChallengeCloudFall extends Challenge
|
||||||
{
|
{
|
||||||
public ChallengeCloudFall(MineWare host)
|
public ChallengeCloudFall(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Cloud Fall", "Jump and land on the green wool.", "Make sure to avoid the clouds.", "First to the bottom wins!");
|
super(host, ChallengeType.FirstComplete, "Cloud Fall", "Jump and land on the green wool.", "Make sure to avoid the clouds.", "First to the bottom wins!");
|
||||||
}
|
}
|
||||||
|
@ -28,8 +28,8 @@ import mineplex.core.disguise.disguises.DisguiseWolf;
|
|||||||
import mineplex.core.itemstack.ItemStackFactory;
|
import mineplex.core.itemstack.ItemStackFactory;
|
||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeDogsVersusCats extends Challenge
|
public class ChallengeDogsVersusCats extends Challenge
|
||||||
{
|
{
|
||||||
@ -40,7 +40,7 @@ public class ChallengeDogsVersusCats extends Challenge
|
|||||||
|
|
||||||
private HashMap<String, String> _team = new HashMap<String, String>(); // <Player, team>
|
private HashMap<String, String> _team = new HashMap<String, String>(); // <Player, team>
|
||||||
|
|
||||||
public ChallengeDogsVersusCats(MineWare host)
|
public ChallengeDogsVersusCats(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Dogs VS Cats", "If you are a dog, bark.", "If you are a cat, meow.",
|
super(host, ChallengeType.FirstComplete, "Dogs VS Cats", "If you are a dog, bark.", "If you are a cat, meow.",
|
||||||
"Look up and punch to bark or meow.", "First team to the end number wins!");
|
"Look up and punch to bark or meow.", "First team to the end number wins!");
|
||||||
|
@ -20,15 +20,15 @@ import mineplex.core.common.util.UtilParticle.ViewDist;
|
|||||||
import mineplex.core.common.util.UtilPlayer;
|
import mineplex.core.common.util.UtilPlayer;
|
||||||
import mineplex.core.common.util.UtilServer;
|
import mineplex.core.common.util.UtilServer;
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeDragonEgg extends Challenge
|
public class ChallengeDragonEgg extends Challenge
|
||||||
{
|
{
|
||||||
private HashMap<String, Integer> _smashedEggs = new HashMap<String, Integer>();
|
private HashMap<String, Integer> _smashedEggs = new HashMap<String, Integer>();
|
||||||
private ArrayList<Entity> _dragonEggs = new ArrayList<Entity>();
|
private ArrayList<Entity> _dragonEggs = new ArrayList<Entity>();
|
||||||
|
|
||||||
public ChallengeDragonEgg(MineWare host)
|
public ChallengeDragonEgg(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Dragon egg", "Whack a dragon egg 10 times.");
|
super(host, ChallengeType.FirstComplete, "Dragon egg", "Whack a dragon egg 10 times.");
|
||||||
}
|
}
|
||||||
|
@ -8,11 +8,11 @@ import mineplex.core.common.util.UtilMath;
|
|||||||
import mineplex.core.common.util.UtilParticle;
|
import mineplex.core.common.util.UtilParticle;
|
||||||
import mineplex.core.common.util.UtilParticle.ParticleType;
|
import mineplex.core.common.util.UtilParticle.ParticleType;
|
||||||
import mineplex.core.common.util.UtilParticle.ViewDist;
|
import mineplex.core.common.util.UtilParticle.ViewDist;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import mineplex.core.common.util.UtilServer;
|
import mineplex.core.common.util.UtilServer;
|
||||||
import mineplex.core.common.util.UtilShapes;
|
import mineplex.core.common.util.UtilShapes;
|
||||||
import mineplex.core.common.util.UtilTextBottom;
|
import mineplex.core.common.util.UtilTextBottom;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
@ -67,7 +67,7 @@ public class ChallengeFallingBlocks extends Challenge
|
|||||||
private Sound[] _sounds =
|
private Sound[] _sounds =
|
||||||
{ Sound.DIG_GRASS, Sound.DIG_GRAVEL, Sound.DIG_SAND, Sound.DIG_SNOW, Sound.DIG_STONE, Sound.DIG_WOOD, Sound.DIG_WOOL };
|
{ Sound.DIG_GRASS, Sound.DIG_GRAVEL, Sound.DIG_SAND, Sound.DIG_SNOW, Sound.DIG_STONE, Sound.DIG_WOOD, Sound.DIG_WOOL };
|
||||||
|
|
||||||
public ChallengeFallingBlocks(MineWare host)
|
public ChallengeFallingBlocks(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Falling Blocks", "Blocks are falling from the sky!", "Try to avoid getting hit.");
|
super(host, ChallengeType.LastStanding, "Falling Blocks", "Blocks are falling from the sky!", "Try to avoid getting hit.");
|
||||||
|
|
||||||
|
@ -13,8 +13,8 @@ import mineplex.core.common.util.UtilServer;
|
|||||||
import mineplex.core.common.util.UtilShapes;
|
import mineplex.core.common.util.UtilShapes;
|
||||||
import mineplex.core.itemstack.ItemStackFactory;
|
import mineplex.core.itemstack.ItemStackFactory;
|
||||||
import mineplex.core.recharge.Recharge;
|
import mineplex.core.recharge.Recharge;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.Effect;
|
import org.bukkit.Effect;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
@ -41,7 +41,7 @@ public class ChallengeFastFood extends Challenge
|
|||||||
|
|
||||||
private int _itemSeperator = 0;
|
private int _itemSeperator = 0;
|
||||||
|
|
||||||
public ChallengeFastFood(MineWare host)
|
public ChallengeFastFood(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Fast Food", "Your inventory is full of food!", "Punch to throw it in the ground.",
|
super(host, ChallengeType.FirstComplete, "Fast Food", "Your inventory is full of food!", "Punch to throw it in the ground.",
|
||||||
"First player to drop them all wins.");
|
"First player to drop them all wins.");
|
||||||
|
@ -37,8 +37,8 @@ import mineplex.core.common.util.UtilServer;
|
|||||||
import mineplex.core.common.util.UtilTextBottom;
|
import mineplex.core.common.util.UtilTextBottom;
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
import mineplex.core.recharge.Recharge;
|
import mineplex.core.recharge.Recharge;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
public class ChallengeFishingDay extends Challenge
|
public class ChallengeFishingDay extends Challenge
|
||||||
@ -48,7 +48,7 @@ public class ChallengeFishingDay extends Challenge
|
|||||||
private HashMap<Player, Boolean> _fishing = new HashMap<Player, Boolean>();
|
private HashMap<Player, Boolean> _fishing = new HashMap<Player, Boolean>();
|
||||||
private HashMap<TNTPrimed, Player> _explosives = new HashMap<TNTPrimed, Player>();
|
private HashMap<TNTPrimed, Player> _explosives = new HashMap<TNTPrimed, Player>();
|
||||||
|
|
||||||
public ChallengeFishingDay(MineWare host)
|
public ChallengeFishingDay(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Fishing Day", "Be the first to catch 5 fish.",
|
super(host, ChallengeType.FirstComplete, "Fishing Day", "Be the first to catch 5 fish.",
|
||||||
"Watch out for TNT if you miss the fish!");
|
"Watch out for TNT if you miss the fish!");
|
||||||
|
@ -24,8 +24,8 @@ import mineplex.core.disguise.disguises.DisguiseZombie;
|
|||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeInfestation extends Challenge
|
public class ChallengeInfestation extends Challenge
|
||||||
{
|
{
|
||||||
@ -36,7 +36,7 @@ public class ChallengeInfestation extends Challenge
|
|||||||
private Zombie _infectedZombie;
|
private Zombie _infectedZombie;
|
||||||
private HashSet<String> _infectedPlayers = new HashSet<String>();
|
private HashSet<String> _infectedPlayers = new HashSet<String>();
|
||||||
|
|
||||||
public ChallengeInfestation(MineWare host)
|
public ChallengeInfestation(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Infestation", "Avoid the deadly zombie!", "Watch out, the infected can kill humans.");
|
super(host, ChallengeType.LastStanding, "Infestation", "Avoid the deadly zombie!", "Watch out, the infected can kill humans.");
|
||||||
}
|
}
|
||||||
|
@ -9,8 +9,8 @@ import mineplex.core.common.util.UtilAction;
|
|||||||
import mineplex.core.common.util.UtilMath;
|
import mineplex.core.common.util.UtilMath;
|
||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
@ -27,7 +27,7 @@ public class ChallengeKangarooJump extends Challenge
|
|||||||
private HashMap<String, Boolean> _players = new HashMap<String, Boolean>();
|
private HashMap<String, Boolean> _players = new HashMap<String, Boolean>();
|
||||||
private HashMap<Player, Integer> _playerJumpHeight = new HashMap<Player, Integer>();
|
private HashMap<Player, Integer> _playerJumpHeight = new HashMap<Player, Integer>();
|
||||||
|
|
||||||
public ChallengeKangarooJump(MineWare host)
|
public ChallengeKangarooJump(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Kangaroo Jump", "Jump from block to block.", "Player with the highest height wins!");
|
super(host, ChallengeType.FirstComplete, "Kangaroo Jump", "Jump from block to block.", "Player with the highest height wins!");
|
||||||
}
|
}
|
||||||
|
@ -21,15 +21,15 @@ import mineplex.core.itemstack.ItemBuilder;
|
|||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeKingOfTheHill extends Challenge
|
public class ChallengeKingOfTheHill extends Challenge
|
||||||
{
|
{
|
||||||
private Location _winCornerA = new Location(Host.WorldData.World, -2, 20, -2);
|
private Location _winCornerA = new Location(Host.WorldData.World, -2, 20, -2);
|
||||||
private Location _winCornerB = new Location(Host.WorldData.World, 2, 23, 2);
|
private Location _winCornerB = new Location(Host.WorldData.World, 2, 23, 2);
|
||||||
|
|
||||||
public ChallengeKingOfTheHill(MineWare host)
|
public ChallengeKingOfTheHill(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "King Of The Ladder", "Reach the top of the ladder.");
|
super(host, ChallengeType.FirstComplete, "King Of The Ladder", "Reach the top of the ladder.");
|
||||||
}
|
}
|
||||||
|
@ -19,8 +19,8 @@ import mineplex.core.disguise.disguises.DisguiseMagmaCube;
|
|||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeLavaRun extends Challenge
|
public class ChallengeLavaRun extends Challenge
|
||||||
{
|
{
|
||||||
@ -29,7 +29,7 @@ public class ChallengeLavaRun extends Challenge
|
|||||||
private int _disappearingBlocks = 10;
|
private int _disappearingBlocks = 10;
|
||||||
private Location _obsidian;
|
private Location _obsidian;
|
||||||
|
|
||||||
public ChallengeLavaRun(MineWare host)
|
public ChallengeLavaRun(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Lava run", "The lava is coming!", "Stand on the obsidian.", "Run! Run! Run!");
|
super(host, ChallengeType.LastStanding, "Lava run", "The lava is coming!", "Stand on the obsidian.", "Run! Run! Run!");
|
||||||
}
|
}
|
||||||
|
@ -13,8 +13,8 @@ import mineplex.core.hologram.Hologram.HologramTarget;
|
|||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
@ -39,7 +39,7 @@ public class ChallengeMilkACow extends Challenge
|
|||||||
private HashMap<Player, Integer> _score = new HashMap<Player, Integer>();
|
private HashMap<Player, Integer> _score = new HashMap<Player, Integer>();
|
||||||
private HashMap<Entity, Hologram> _cowIndicator = new HashMap<Entity, Hologram>();
|
private HashMap<Entity, Hologram> _cowIndicator = new HashMap<Entity, Hologram>();
|
||||||
|
|
||||||
public ChallengeMilkACow(MineWare host)
|
public ChallengeMilkACow(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Milk the cows", "Milk 5 different cows.", "Deliver the milk to the villager!");
|
super(host, ChallengeType.FirstComplete, "Milk the cows", "Milk 5 different cows.", "Deliver the milk to the villager!");
|
||||||
}
|
}
|
||||||
|
@ -4,8 +4,8 @@ import java.util.ArrayList;
|
|||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
import mineplex.core.common.util.UtilMath;
|
import mineplex.core.common.util.UtilMath;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
@ -23,7 +23,7 @@ public class ChallengeMineADiamond extends Challenge
|
|||||||
Material.REDSTONE_ORE, Material.EMERALD_ORE, Material.COAL_ORE, Material.LAPIS_ORE));
|
Material.REDSTONE_ORE, Material.EMERALD_ORE, Material.COAL_ORE, Material.LAPIS_ORE));
|
||||||
private ArrayList<Block> _diamonds = new ArrayList<Block>();
|
private ArrayList<Block> _diamonds = new ArrayList<Block>();
|
||||||
|
|
||||||
public ChallengeMineADiamond(MineWare host)
|
public ChallengeMineADiamond(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Mine a Diamond", "Find a diamond around the map.",
|
super(host, ChallengeType.FirstComplete, "Mine a Diamond", "Find a diamond around the map.",
|
||||||
"Be the first to mine one!");
|
"Be the first to mine one!");
|
||||||
|
@ -25,8 +25,8 @@ import mineplex.core.common.util.UtilServer;
|
|||||||
import mineplex.core.common.util.UtilTextMiddle;
|
import mineplex.core.common.util.UtilTextMiddle;
|
||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
import net.minecraft.server.v1_8_R3.BlockPosition;
|
import net.minecraft.server.v1_8_R3.BlockPosition;
|
||||||
import net.minecraft.server.v1_8_R3.PacketPlayOutWorldEvent;
|
import net.minecraft.server.v1_8_R3.PacketPlayOutWorldEvent;
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ public class ChallengeMinecartDance extends Challenge
|
|||||||
private long _timeSinceLastState;
|
private long _timeSinceLastState;
|
||||||
private HashSet<Minecart> _minecarts = new HashSet<Minecart>();
|
private HashSet<Minecart> _minecarts = new HashSet<Minecart>();
|
||||||
|
|
||||||
public ChallengeMinecartDance(MineWare host)
|
public ChallengeMinecartDance(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Musical Minecart", "Get ready when the fireworks change color.",
|
super(host, ChallengeType.LastStanding, "Musical Minecart", "Get ready when the fireworks change color.",
|
||||||
"Once they're green, get inside a minecart!");
|
"Once they're green, get inside a minecart!");
|
||||||
|
@ -20,12 +20,12 @@ import mineplex.core.common.util.UtilMath;
|
|||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeMiniOneInTheQuiver extends Challenge
|
public class ChallengeMiniOneInTheQuiver extends Challenge
|
||||||
{
|
{
|
||||||
public ChallengeMiniOneInTheQuiver(MineWare host)
|
public ChallengeMiniOneInTheQuiver(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Mini OITQ", false, true, "Do not get hit!", "You receive a new arrow every 4 seconds.", "Last man standing wins!");
|
super(host, ChallengeType.LastStanding, "Mini OITQ", false, true, "Do not get hit!", "You receive a new arrow every 4 seconds.", "Last man standing wins!");
|
||||||
}
|
}
|
||||||
|
@ -4,8 +4,8 @@ import java.util.ArrayList;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
import mineplex.core.common.util.UtilPlayer;
|
import mineplex.core.common.util.UtilPlayer;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
@ -19,7 +19,7 @@ public class ChallengeNavigateMaze extends Challenge
|
|||||||
{
|
{
|
||||||
private HashMap<Player, Long> _playerCompletionTime = new HashMap<Player, Long>();
|
private HashMap<Player, Long> _playerCompletionTime = new HashMap<Player, Long>();
|
||||||
|
|
||||||
public ChallengeNavigateMaze(MineWare host)
|
public ChallengeNavigateMaze(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Nagivation Maze", "Go to the other side of the maze.");
|
super(host, ChallengeType.FirstComplete, "Nagivation Maze", "Go to the other side of the maze.");
|
||||||
}
|
}
|
||||||
|
@ -9,8 +9,8 @@ import mineplex.core.common.util.UtilPlayer;
|
|||||||
import mineplex.core.common.util.UtilTextMiddle;
|
import mineplex.core.common.util.UtilTextMiddle;
|
||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
@ -26,7 +26,7 @@ public class ChallengePickASide extends Challenge
|
|||||||
HashSet<Player> _blue = new HashSet<Player>();
|
HashSet<Player> _blue = new HashSet<Player>();
|
||||||
HashSet<Player> _red = new HashSet<Player>();
|
HashSet<Player> _red = new HashSet<Player>();
|
||||||
|
|
||||||
public ChallengePickASide(MineWare host)
|
public ChallengePickASide(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Pick a Side", "The side with the fewest players wins!",
|
super(host, ChallengeType.FirstComplete, "Pick a Side", "The side with the fewest players wins!",
|
||||||
"No... Standing in the middle won't work");
|
"No... Standing in the middle won't work");
|
||||||
|
@ -9,8 +9,8 @@ import mineplex.core.common.util.UtilMath;
|
|||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
@ -28,7 +28,7 @@ public class ChallengePunchThePig extends Challenge
|
|||||||
private HashSet<Pig> _pigs = new HashSet<Pig>();
|
private HashSet<Pig> _pigs = new HashSet<Pig>();
|
||||||
private HashMap<String, Integer> _playerScore = new HashMap<String, Integer>();
|
private HashMap<String, Integer> _playerScore = new HashMap<String, Integer>();
|
||||||
|
|
||||||
public ChallengePunchThePig(MineWare host)
|
public ChallengePunchThePig(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Punch the Pig", "Kill 5 pigs!");
|
super(host, ChallengeType.FirstComplete, "Punch the Pig", "Kill 5 pigs!");
|
||||||
}
|
}
|
||||||
|
@ -29,8 +29,8 @@ import mineplex.core.common.util.UtilServer;
|
|||||||
import mineplex.core.common.util.UtilTextMiddle;
|
import mineplex.core.common.util.UtilTextMiddle;
|
||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
import net.md_5.bungee.api.ChatColor;
|
import net.md_5.bungee.api.ChatColor;
|
||||||
|
|
||||||
public class ChallengeRedLightGreenLight extends Challenge
|
public class ChallengeRedLightGreenLight extends Challenge
|
||||||
@ -46,7 +46,7 @@ public class ChallengeRedLightGreenLight extends Challenge
|
|||||||
private ArrayList<Integer> _colorList = new ArrayList<Integer>(Arrays.asList(14, 11, 9, 3, 1, 4, 13, 5));
|
private ArrayList<Integer> _colorList = new ArrayList<Integer>(Arrays.asList(14, 11, 9, 3, 1, 4, 13, 5));
|
||||||
private Villager _host;
|
private Villager _host;
|
||||||
|
|
||||||
public ChallengeRedLightGreenLight(MineWare host)
|
public ChallengeRedLightGreenLight(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Red Light, Green Light", false, false, "Be the first to reach the end.", "Don't move while the fireworks are red!");
|
super(host, ChallengeType.FirstComplete, "Red Light, Green Light", false, false, "Be the first to reach the end.", "Don't move while the fireworks are red!");
|
||||||
}
|
}
|
||||||
|
@ -26,8 +26,8 @@ import mineplex.core.itemstack.ItemStackFactory;
|
|||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeReverseTag extends Challenge
|
public class ChallengeReverseTag extends Challenge
|
||||||
{
|
{
|
||||||
@ -38,7 +38,7 @@ public class ChallengeReverseTag extends Challenge
|
|||||||
private HashSet<String> _cooldowned = new HashSet<String>();
|
private HashSet<String> _cooldowned = new HashSet<String>();
|
||||||
private HashSet<Player> _nonTaggedPlayers = new HashSet<Player>();
|
private HashSet<Player> _nonTaggedPlayers = new HashSet<Player>();
|
||||||
|
|
||||||
public ChallengeReverseTag(MineWare Host)
|
public ChallengeReverseTag(BawkBawkBattles Host)
|
||||||
{
|
{
|
||||||
super(Host, ChallengeType.FirstComplete, "Reverse Tag", "Be a sparkling person until the end.", "Punch the sparking people to become one!");
|
super(Host, ChallengeType.FirstComplete, "Reverse Tag", "Be a sparkling person until the end.", "Punch the sparking people to become one!");
|
||||||
}
|
}
|
||||||
|
@ -18,14 +18,14 @@ import mineplex.core.common.util.UtilMath;
|
|||||||
import mineplex.core.common.util.UtilTime;
|
import mineplex.core.common.util.UtilTime;
|
||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeRunner extends Challenge
|
public class ChallengeRunner extends Challenge
|
||||||
{
|
{
|
||||||
private ArrayList<Entity> _fallingBlocks = new ArrayList<Entity>();
|
private ArrayList<Entity> _fallingBlocks = new ArrayList<Entity>();
|
||||||
|
|
||||||
public ChallengeRunner(MineWare host)
|
public ChallengeRunner(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Runner",
|
super(host, ChallengeType.LastStanding, "Runner",
|
||||||
"Blocks are disappearing beneath you! Run away!");
|
"Blocks are disappearing beneath you! Run away!");
|
||||||
|
@ -17,15 +17,15 @@ import org.bukkit.inventory.meta.LeatherArmorMeta;
|
|||||||
import mineplex.core.common.util.C;
|
import mineplex.core.common.util.C;
|
||||||
import mineplex.core.common.util.UtilTextMiddle;
|
import mineplex.core.common.util.UtilTextMiddle;
|
||||||
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeRushPush extends Challenge
|
public class ChallengeRushPush extends Challenge
|
||||||
{
|
{
|
||||||
private boolean _challengeEnded = false;
|
private boolean _challengeEnded = false;
|
||||||
private HashMap<String, String> _teams = new HashMap<String, String>();
|
private HashMap<String, String> _teams = new HashMap<String, String>();
|
||||||
|
|
||||||
public ChallengeRushPush(MineWare host)
|
public ChallengeRushPush(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Rush push", true, true, "Rush to your enemy.",
|
super(host, ChallengeType.LastStanding, "Rush push", true, true, "Rush to your enemy.",
|
||||||
"Push them off the platform.");
|
"Push them off the platform.");
|
||||||
|
@ -11,8 +11,8 @@ import mineplex.core.itemstack.ItemBuilder;
|
|||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
@ -37,7 +37,7 @@ public class ChallengeShootChickens extends Challenge
|
|||||||
|
|
||||||
private HashMap<Player, Integer> _arrowsShot = new HashMap<Player, Integer>();
|
private HashMap<Player, Integer> _arrowsShot = new HashMap<Player, Integer>();
|
||||||
|
|
||||||
public ChallengeShootChickens(MineWare host)
|
public ChallengeShootChickens(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Chicken Shooting", "Shoot 6 chickens!");
|
super(host, ChallengeType.FirstComplete, "Chicken Shooting", "Shoot 6 chickens!");
|
||||||
}
|
}
|
||||||
|
@ -8,14 +8,14 @@ import org.bukkit.block.Block;
|
|||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import mineplex.core.common.util.UtilMath;
|
import mineplex.core.common.util.UtilMath;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeSmashOff extends Challenge
|
public class ChallengeSmashOff extends Challenge
|
||||||
{
|
{
|
||||||
private ArrayList<Location> _spawns = new ArrayList<Location>();
|
private ArrayList<Location> _spawns = new ArrayList<Location>();
|
||||||
|
|
||||||
public ChallengeSmashOff(MineWare host)
|
public ChallengeSmashOff(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Smash off", false, true, "Knock other players off the platform!");
|
super(host, ChallengeType.LastStanding, "Smash off", false, true, "Knock other players off the platform!");
|
||||||
}
|
}
|
||||||
|
@ -12,12 +12,12 @@ import org.bukkit.event.player.PlayerInteractEvent;
|
|||||||
|
|
||||||
import mineplex.core.common.util.UtilMath;
|
import mineplex.core.common.util.UtilMath;
|
||||||
import mineplex.core.common.util.UtilPlayer;
|
import mineplex.core.common.util.UtilPlayer;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeSpleef extends Challenge
|
public class ChallengeSpleef extends Challenge
|
||||||
{
|
{
|
||||||
public ChallengeSpleef(MineWare host)
|
public ChallengeSpleef(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Spleef",
|
super(host, ChallengeType.LastStanding, "Spleef",
|
||||||
"Destroy the blocks beneath other players!");
|
"Destroy the blocks beneath other players!");
|
||||||
|
@ -11,8 +11,8 @@ import mineplex.core.common.util.UtilServer;
|
|||||||
import mineplex.core.common.util.UtilTextBottom;
|
import mineplex.core.common.util.UtilTextBottom;
|
||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
@ -31,7 +31,7 @@ public class ChallengeStandOnColor extends Challenge
|
|||||||
private long _stageExpires;
|
private long _stageExpires;
|
||||||
private long _timeDelay = 3000;
|
private long _timeDelay = 3000;
|
||||||
|
|
||||||
public ChallengeStandOnColor(MineWare host)
|
public ChallengeStandOnColor(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Color Change", "Stand on the correct color.");
|
super(host, ChallengeType.LastStanding, "Color Change", "Stand on the correct color.");
|
||||||
|
|
||||||
|
@ -24,15 +24,15 @@ import mineplex.core.common.util.UtilPlayer;
|
|||||||
import mineplex.core.common.util.UtilShapes;
|
import mineplex.core.common.util.UtilShapes;
|
||||||
import mineplex.core.recharge.Recharge;
|
import mineplex.core.recharge.Recharge;
|
||||||
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeTntLauncher extends Challenge
|
public class ChallengeTntLauncher extends Challenge
|
||||||
{
|
{
|
||||||
private ArrayList<Location> _spawns = new ArrayList<Location>();
|
private ArrayList<Location> _spawns = new ArrayList<Location>();
|
||||||
private ArrayList<Entity> _tnt = new ArrayList<Entity>();
|
private ArrayList<Entity> _tnt = new ArrayList<Entity>();
|
||||||
|
|
||||||
public ChallengeTntLauncher(MineWare host)
|
public ChallengeTntLauncher(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Deadly TNT", false, true, "Throw TNT to other players.", "Don't get knocked off!");
|
super(host, ChallengeType.LastStanding, "Deadly TNT", false, true, "Throw TNT to other players.", "Don't get knocked off!");
|
||||||
}
|
}
|
||||||
|
@ -7,8 +7,8 @@ import mineplex.core.common.util.C;
|
|||||||
import mineplex.core.common.util.UtilMath;
|
import mineplex.core.common.util.UtilMath;
|
||||||
import mineplex.core.common.util.UtilShapes;
|
import mineplex.core.common.util.UtilShapes;
|
||||||
import mineplex.core.common.util.UtilTextMiddle;
|
import mineplex.core.common.util.UtilTextMiddle;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
@ -32,7 +32,7 @@ public class ChallengeTreasureDigger extends Challenge
|
|||||||
private LinkedHashMap<Material, Double> _lootChance = new LinkedHashMap<Material, Double>();
|
private LinkedHashMap<Material, Double> _lootChance = new LinkedHashMap<Material, Double>();
|
||||||
private Material[] _lootContents;
|
private Material[] _lootContents;
|
||||||
|
|
||||||
public ChallengeTreasureDigger(MineWare host)
|
public ChallengeTreasureDigger(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Treasure Digger", "Search for treasure below the sand.", "Find weapons to kill the others!",
|
super(host, ChallengeType.LastStanding, "Treasure Digger", "Search for treasure below the sand.", "Find weapons to kill the others!",
|
||||||
"Be the last person to stay alive.");
|
"Be the last person to stay alive.");
|
||||||
|
@ -36,8 +36,8 @@ import mineplex.core.itemstack.ItemBuilder;
|
|||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeVolleyPig extends Challenge
|
public class ChallengeVolleyPig extends Challenge
|
||||||
{
|
{
|
||||||
@ -49,7 +49,7 @@ public class ChallengeVolleyPig extends Challenge
|
|||||||
private Location _redCenter = new Location(Host.WorldData.World, 0, 3, -5);
|
private Location _redCenter = new Location(Host.WorldData.World, 0, 3, -5);
|
||||||
private Location _blueCenter = new Location(Host.WorldData.World, 0, 3, 5);
|
private Location _blueCenter = new Location(Host.WorldData.World, 0, 3, 5);
|
||||||
|
|
||||||
public ChallengeVolleyPig(MineWare host)
|
public ChallengeVolleyPig(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Volley Pig", "Punch the pig on the enemy side.", "Do not cross the middle!");
|
super(host, ChallengeType.FirstComplete, "Volley Pig", "Punch the pig on the enemy side.", "Do not cross the middle!");
|
||||||
}
|
}
|
||||||
|
@ -28,8 +28,8 @@ import mineplex.core.common.util.UtilParticle.ViewDist;
|
|||||||
import mineplex.core.explosion.ExplosionEvent;
|
import mineplex.core.explosion.ExplosionEvent;
|
||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeWaterHorror extends Challenge
|
public class ChallengeWaterHorror extends Challenge
|
||||||
{
|
{
|
||||||
@ -41,7 +41,7 @@ public class ChallengeWaterHorror extends Challenge
|
|||||||
private Location dropsite = getCenter().clone().add(0, 7.0, 0);
|
private Location dropsite = getCenter().clone().add(0, 7.0, 0);
|
||||||
private Location base = dropsite.clone().subtract(0, 0.5, 0);
|
private Location base = dropsite.clone().subtract(0, 0.5, 0);
|
||||||
|
|
||||||
public ChallengeWaterHorror(MineWare host)
|
public ChallengeWaterHorror(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Water Horror", "Deadly TNT is spawning from the water!",
|
super(host, ChallengeType.LastStanding, "Water Horror", "Deadly TNT is spawning from the water!",
|
||||||
"Use your boat to dodge explosions.");
|
"Use your boat to dodge explosions.");
|
||||||
|
@ -18,8 +18,8 @@ import org.bukkit.util.Vector;
|
|||||||
|
|
||||||
import mineplex.core.common.util.UtilMath;
|
import mineplex.core.common.util.UtilMath;
|
||||||
import mineplex.core.projectile.ProjectileUser;
|
import mineplex.core.projectile.ProjectileUser;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
import nautilus.game.arcade.game.games.mineware.events.ChallengeEndEvent;
|
import nautilus.game.arcade.game.games.mineware.events.ChallengeEndEvent;
|
||||||
|
|
||||||
public class ChallengeWaveCrush extends Challenge
|
public class ChallengeWaveCrush extends Challenge
|
||||||
@ -31,7 +31,7 @@ public class ChallengeWaveCrush extends Challenge
|
|||||||
|
|
||||||
private HashMap<Player, Integer> _survivedWaves = new HashMap<Player, Integer>();
|
private HashMap<Player, Integer> _survivedWaves = new HashMap<Player, Integer>();
|
||||||
|
|
||||||
public ChallengeWaveCrush(MineWare host)
|
public ChallengeWaveCrush(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Wave Crush", "Avoid the crushing waves!");
|
super(host, ChallengeType.LastStanding, "Wave Crush", "Avoid the crushing waves!");
|
||||||
}
|
}
|
||||||
|
@ -13,8 +13,8 @@ import mineplex.core.common.util.UtilParticle.ViewDist;
|
|||||||
import mineplex.core.common.util.UtilServer;
|
import mineplex.core.common.util.UtilServer;
|
||||||
import mineplex.core.common.util.UtilShapes;
|
import mineplex.core.common.util.UtilShapes;
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
import org.bukkit.FireworkEffect.Type;
|
import org.bukkit.FireworkEffect.Type;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
@ -38,7 +38,7 @@ public class ChallengeBlockShot extends Challenge
|
|||||||
private ArrayList<Location> _spawns = new ArrayList<Location>();
|
private ArrayList<Location> _spawns = new ArrayList<Location>();
|
||||||
private ArrayList<Entity> _arrows = new ArrayList<Entity>();
|
private ArrayList<Entity> _arrows = new ArrayList<Entity>();
|
||||||
|
|
||||||
public ChallengeBlockShot(MineWare host)
|
public ChallengeBlockShot(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Block Shot", "Shoot down 5 blocks");
|
super(host, ChallengeType.FirstComplete, "Block Shot", "Shoot down 5 blocks");
|
||||||
}
|
}
|
||||||
|
@ -16,12 +16,12 @@ import org.bukkit.inventory.ItemStack;
|
|||||||
|
|
||||||
import mineplex.core.common.util.UtilInv;
|
import mineplex.core.common.util.UtilInv;
|
||||||
import mineplex.core.common.util.UtilMath;
|
import mineplex.core.common.util.UtilMath;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeDiamondFall extends Challenge
|
public class ChallengeDiamondFall extends Challenge
|
||||||
{
|
{
|
||||||
public ChallengeDiamondFall(MineWare host)
|
public ChallengeDiamondFall(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.LastStanding, "Diamond Fall", "Loot the most diamonds from chests!");
|
super(host, ChallengeType.LastStanding, "Diamond Fall", "Loot the most diamonds from chests!");
|
||||||
}
|
}
|
||||||
|
@ -14,15 +14,15 @@ import mineplex.core.common.util.C;
|
|||||||
import mineplex.core.common.util.UtilMath;
|
import mineplex.core.common.util.UtilMath;
|
||||||
import mineplex.core.common.util.UtilPlayer;
|
import mineplex.core.common.util.UtilPlayer;
|
||||||
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeHitTargets extends Challenge
|
public class ChallengeHitTargets extends Challenge
|
||||||
{
|
{
|
||||||
private HashMap<String, ArrayList<String>> _targets = new HashMap<String, ArrayList<String>>();
|
private HashMap<String, ArrayList<String>> _targets = new HashMap<String, ArrayList<String>>();
|
||||||
private int _targetsEach;
|
private int _targetsEach;
|
||||||
|
|
||||||
public ChallengeHitTargets(MineWare host)
|
public ChallengeHitTargets(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Hit target", "Hit the chosen players");
|
super(host, ChallengeType.FirstComplete, "Hit target", "Hit the chosen players");
|
||||||
}
|
}
|
||||||
|
@ -25,8 +25,8 @@ import mineplex.core.common.util.UtilTime.TimeUnit;
|
|||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.ChallengeSeperateRooms;
|
import nautilus.game.arcade.game.games.mineware.ChallengeSeperateRooms;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeNameThatSound extends ChallengeSeperateRooms
|
public class ChallengeNameThatSound extends ChallengeSeperateRooms
|
||||||
{
|
{
|
||||||
@ -36,7 +36,7 @@ public class ChallengeNameThatSound extends ChallengeSeperateRooms
|
|||||||
private HashMap<String, ArrayList<Entity>> _mobs = new HashMap<String, ArrayList<Entity>>();
|
private HashMap<String, ArrayList<Entity>> _mobs = new HashMap<String, ArrayList<Entity>>();
|
||||||
private HashMap<String, Long> _lastGuess = new HashMap<String, Long>();
|
private HashMap<String, Long> _lastGuess = new HashMap<String, Long>();
|
||||||
|
|
||||||
public ChallengeNameThatSound(MineWare host)
|
public ChallengeNameThatSound(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Hit the creature that makes the noises");
|
super(host, ChallengeType.FirstComplete, "Hit the creature that makes the noises");
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@ import mineplex.core.common.util.UtilFirework;
|
|||||||
import mineplex.core.common.util.UtilMath;
|
import mineplex.core.common.util.UtilMath;
|
||||||
import mineplex.core.common.util.UtilTextBottom;
|
import mineplex.core.common.util.UtilTextBottom;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
import nautilus.game.arcade.game.games.mineware.events.ChallengeEndEvent;
|
import nautilus.game.arcade.game.games.mineware.events.ChallengeEndEvent;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
@ -54,7 +54,7 @@ public class ChallengeSimonSays extends Challenge
|
|||||||
private HashMap<String, Integer> _playerScore = new HashMap<String, Integer>();
|
private HashMap<String, Integer> _playerScore = new HashMap<String, Integer>();
|
||||||
private HashSet<String> _playerRoundFinish = new HashSet<String>();
|
private HashSet<String> _playerRoundFinish = new HashSet<String>();
|
||||||
|
|
||||||
public ChallengeSimonSays(MineWare host)
|
public ChallengeSimonSays(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Simon Says", "Do everything Simon says", "Don't listen to anyone else!",
|
super(host, ChallengeType.FirstComplete, "Simon Says", "Do everything Simon says", "Don't listen to anyone else!",
|
||||||
"first with 3 correct wins!");
|
"first with 3 correct wins!");
|
||||||
|
@ -12,12 +12,12 @@ import mineplex.core.common.util.UtilMath;
|
|||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
import mineplex.minecraft.game.core.damage.CustomDamageEvent;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeSkyFall extends Challenge
|
public class ChallengeSkyFall extends Challenge
|
||||||
{
|
{
|
||||||
public ChallengeSkyFall(MineWare host)
|
public ChallengeSkyFall(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Skyfall", "Land on the bottom pad, knock players around with snowballs!");
|
super(host, ChallengeType.FirstComplete, "Skyfall", "Land on the bottom pad, knock players around with snowballs!");
|
||||||
|
|
||||||
|
@ -18,8 +18,8 @@ import org.bukkit.inventory.ItemStack;
|
|||||||
|
|
||||||
import mineplex.core.common.util.C;
|
import mineplex.core.common.util.C;
|
||||||
import mineplex.core.common.util.UtilMath;
|
import mineplex.core.common.util.UtilMath;
|
||||||
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
|
||||||
|
|
||||||
public class ChallengeTameTheWolf extends Challenge
|
public class ChallengeTameTheWolf extends Challenge
|
||||||
{
|
{
|
||||||
@ -29,7 +29,7 @@ public class ChallengeTameTheWolf extends Challenge
|
|||||||
private HashMap<String, Integer> _playerScore = new HashMap<String, Integer>();
|
private HashMap<String, Integer> _playerScore = new HashMap<String, Integer>();
|
||||||
private HashMap<Wolf, Material> _wolfs = new HashMap<Wolf, Material>();
|
private HashMap<Wolf, Material> _wolfs = new HashMap<Wolf, Material>();
|
||||||
|
|
||||||
public ChallengeTameTheWolf(MineWare host)
|
public ChallengeTameTheWolf(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
super(host, ChallengeType.FirstComplete, "Tame The Wolf", "Find the right item", "To tame the wolf!");
|
super(host, ChallengeType.FirstComplete, "Tame The Wolf", "Find the right item", "To tame the wolf!");
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,6 @@ package nautilus.game.arcade.game.games.mineware.effect;
|
|||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import org.bukkit.GameMode;
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.Sound;
|
import org.bukkit.Sound;
|
||||||
@ -17,16 +16,15 @@ import org.bukkit.scheduler.BukkitRunnable;
|
|||||||
import mineplex.core.common.util.C;
|
import mineplex.core.common.util.C;
|
||||||
import mineplex.core.common.util.UtilBlock;
|
import mineplex.core.common.util.UtilBlock;
|
||||||
import mineplex.core.common.util.UtilInv;
|
import mineplex.core.common.util.UtilInv;
|
||||||
import mineplex.core.common.util.UtilPlayer;
|
|
||||||
import mineplex.core.common.util.UtilServer;
|
import mineplex.core.common.util.UtilServer;
|
||||||
import mineplex.core.common.util.UtilTextMiddle;
|
import mineplex.core.common.util.UtilTextMiddle;
|
||||||
import mineplex.core.disguise.disguises.DisguiseChicken;
|
import mineplex.core.disguise.disguises.DisguiseChicken;
|
||||||
import nautilus.game.arcade.game.GameTeam.PlayerState;
|
import nautilus.game.arcade.game.GameTeam.PlayerState;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
|
|
||||||
public class ChickenAttack
|
public class ChickenAttack
|
||||||
{
|
{
|
||||||
private MineWare _host;
|
private BawkBawkBattles _host;
|
||||||
private JavaPlugin _plugin;
|
private JavaPlugin _plugin;
|
||||||
|
|
||||||
private Location _center;
|
private Location _center;
|
||||||
@ -37,7 +35,7 @@ public class ChickenAttack
|
|||||||
private ArrayList<Chicken> _chickens = new ArrayList<>();
|
private ArrayList<Chicken> _chickens = new ArrayList<>();
|
||||||
private int _chickenSpawnAmount = 12;
|
private int _chickenSpawnAmount = 12;
|
||||||
|
|
||||||
public ChickenAttack(MineWare host, Location center, Location corner1, Location corner2)
|
public ChickenAttack(BawkBawkBattles host, Location center, Location corner1, Location corner2)
|
||||||
{
|
{
|
||||||
_host = host;
|
_host = host;
|
||||||
_plugin = host.getArcadeManager().getPlugin();
|
_plugin = host.getArcadeManager().getPlugin();
|
||||||
|
@ -26,11 +26,11 @@ import mineplex.core.common.util.UtilParticle.ViewDist;
|
|||||||
import mineplex.core.common.util.UtilSkull;
|
import mineplex.core.common.util.UtilSkull;
|
||||||
import mineplex.core.hologram.Hologram;
|
import mineplex.core.hologram.Hologram;
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
import nautilus.game.arcade.game.games.mineware.MineWare;
|
import nautilus.game.arcade.game.games.mineware.BawkBawkBattles;
|
||||||
|
|
||||||
public class DeathEffect
|
public class DeathEffect
|
||||||
{
|
{
|
||||||
private MineWare _host;
|
private BawkBawkBattles _host;
|
||||||
private JavaPlugin _plugin;
|
private JavaPlugin _plugin;
|
||||||
private DeathText _deathText = new DeathText();
|
private DeathText _deathText = new DeathText();
|
||||||
private ArrayList<DeathEffectData> _data = new ArrayList<DeathEffectData>();
|
private ArrayList<DeathEffectData> _data = new ArrayList<DeathEffectData>();
|
||||||
@ -39,7 +39,7 @@ public class DeathEffect
|
|||||||
private double _hologramHeight = 2.2;
|
private double _hologramHeight = 2.2;
|
||||||
private double _cloudParticleHeight = 1.7;
|
private double _cloudParticleHeight = 1.7;
|
||||||
|
|
||||||
public DeathEffect(MineWare host)
|
public DeathEffect(BawkBawkBattles host)
|
||||||
{
|
{
|
||||||
_host = host;
|
_host = host;
|
||||||
_plugin = host.Manager.getPlugin();
|
_plugin = host.Manager.getPlugin();
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package nautilus.game.arcade.game.games.mineware.events;
|
package nautilus.game.arcade.game.games.mineware.events;
|
||||||
|
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
|
||||||
|
|
||||||
import org.bukkit.event.Event;
|
import org.bukkit.event.Event;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
||||||
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
|
|
||||||
public class ChallengeEndEvent extends Event
|
public class ChallengeEndEvent extends Event
|
||||||
{
|
{
|
||||||
private Challenge _endedChallenge;
|
private Challenge _endedChallenge;
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package nautilus.game.arcade.game.games.mineware.events;
|
package nautilus.game.arcade.game.games.mineware.events;
|
||||||
|
|
||||||
import nautilus.game.arcade.game.games.mineware.Challenge;
|
|
||||||
|
|
||||||
import org.bukkit.event.Event;
|
import org.bukkit.event.Event;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
||||||
|
import nautilus.game.arcade.game.games.mineware.Challenge;
|
||||||
|
|
||||||
public class ChallengeStartEvent extends Event
|
public class ChallengeStartEvent extends Event
|
||||||
{
|
{
|
||||||
private Challenge _startedChallenge;
|
private Challenge _startedChallenge;
|
||||||
|
Loading…
Reference in New Issue
Block a user