SkyWars to Skywars

This commit is contained in:
Cheese 2015-06-26 17:55:49 +10:00
parent 9bf58a2d98
commit 1aa0832bb9
11 changed files with 30 additions and 30 deletions

View File

@ -84,45 +84,45 @@ public enum Achievement
new int[]{1},
AchievementCategory.SURVIVAL_GAMES),
//SkyWars
//Skywars
SKYWARS_WINS("Sky King",2000,
new String[]{"SkyWars.Wins"},
new String[]{"Win 50 Games of SkyWars"},
new String[]{"Skywars.Wins"},
new String[]{"Win 50 Games of Skywars"},
new int[]{50},
AchievementCategory.SKYWARS),
SKYWARS_BOMBER("Master Bomber",500,
new String[]{"SkyWars.DeathBomber"},
new String[]{"Skywars.DeathBomber"},
new String[]{"Kill 3 Players with \"Super Throwing TNT\" in a Single Game."},
new int[]{1},
AchievementCategory.SKYWARS),
SKYWARS_TNT("TNT Hoarder",250,
new String[]{"SkyWars.BombPickups"},
new String[]{"Skywars.BombPickups"},
new String[]{"Pickup 100 \"Super Throwing TNT\"s"},
new int[]{100},
AchievementCategory.SKYWARS),
SKYWARS_ZOMBIE_KILLS("Left For Dead",750,
new String[]{"SkyWars.ZombieKills"},
new String[]{"Skywars.ZombieKills"},
new String[]{"Kill 120 Zombies"},
new int[]{120},
AchievementCategory.SKYWARS),
SKYWARS_PLAYER_KILLS("Cold Blooded Killer",500,
new String[]{"SkyWars.Kills"},
new String[]{"Skywars.Kills"},
new String[]{"Kill 250 Players"},
new int[]{250},
AchievementCategory.SKYWARS),
SKYWARS_NOCHEST("Survivalist",1000,
new String[]{"SkyWars.NoChest"},
new String[]{"Skywars.NoChest"},
new String[]{"Win a Game Without Opening a Chest"},
new int[]{1},
AchievementCategory.SKYWARS),
SKYWARS_NOARMOR("Bare Minimum",1000,
new String[]{"SkyWars.NoArmor"},
new String[]{"Skywars.NoArmor"},
new String[]{"Win a Game With No Armor"},
new int[]{1},
AchievementCategory.SKYWARS),

View File

@ -26,7 +26,7 @@ public enum AchievementCategory
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
Material.DIAMOND_SWORD, 0, GameCategory.SURVIVAL, "Horseman Kit"),
SKYWARS("SkyWars",null,
SKYWARS("Skywars",null,
new StatDisplay[]{StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED},
Material.DOUBLE_PLANT, 5, GameCategory.SURVIVAL, "Destructor Kit"),

View File

@ -60,7 +60,7 @@ public enum GameDisplay
Build("Master Builders", Material.WOOD, (byte)0, GameCategory.CLASSICS, 50),
Cards("Craft Against Humanity", Material.MAP, (byte)0, GameCategory.CLASSICS, 51),
Skywars("SkyWars", Material.DOUBLE_PLANT, (byte)5, GameCategory.SURVIVAL, 52),
Skywars("Skywars", Material.DOUBLE_PLANT, (byte)5, GameCategory.SURVIVAL, 52),
Event("Mineplex Event", Material.CAKE, (byte)0, GameCategory.EVENT, 999);

View File

@ -722,7 +722,7 @@ public class ServerManager extends MiniPlugin
public ServerNpcShop getSKYShop()
{
return _serverNpcShopMap.get("SkyWars");
return _serverNpcShopMap.get("Skywars");
}
public ServerNpcShop getPlayerGamesShop()

View File

@ -74,14 +74,14 @@ public class ServerGameMenu extends ShopPageBase<ServerManager, QuickShop>
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("HG") + ChatColor.RESET + " other players!",
}));
setItem(4, ItemStackFactory.Instance.CreateStack(Material.FEATHER.getId(), (byte) 0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "SkyWars " + C.cGray + "Solo Survival", new String[]
setItem(4, ItemStackFactory.Instance.CreateStack(Material.FEATHER.getId(), (byte) 0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Skywars " + C.cGray + "Solo Survival", new String[]
{
ChatColor.RESET + "",
ChatColor.RESET + "16 contenders fight for the right to rule the skies!",
ChatColor.RESET + "Spawn on a sky island and build your path!",
ChatColor.RESET + "Find weapons to take your enemies down!",
ChatColor.RESET + "Way up there, death ever looming if you fall..",
ChatColor.RESET + "Can you fight? Can you live? Can you win SkyWars?",
ChatColor.RESET + "Can you fight? Can you live? Can you win Skywars?",
ChatColor.RESET + "",
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("SKY") + ChatColor.RESET + " other players!",
}));

View File

@ -42,7 +42,7 @@ public enum GameType
Runner("Runner"),
SearchAndDestroy("Search and Destroy"),
Sheep("Sheep Quest"),
Skywars("SkyWars"),
Skywars("Skywars"),
Smash("Super Smash Mobs"),
SmashTeams("Super Smash Mobs Teams", "Super Smash Mobs"),
SmashDomination("Super Smash Mobs Domination", "Super Smash Mobs"),

View File

@ -37,7 +37,7 @@ import nautilus.game.arcade.game.games.quiver.QuiverTeams;
import nautilus.game.arcade.game.games.runner.Runner;
import nautilus.game.arcade.game.games.searchanddestroy.SearchAndDestroy;
import nautilus.game.arcade.game.games.sheep.SheepGame;
import nautilus.game.arcade.game.games.skywars.SkyWars;
import nautilus.game.arcade.game.games.skywars.Skywars;
import nautilus.game.arcade.game.games.smash.SuperSmash;
import nautilus.game.arcade.game.games.smash.SuperSmashDominate;
import nautilus.game.arcade.game.games.smash.SuperSmashTeam;
@ -117,7 +117,7 @@ public enum GameType
Build(Build.class, GameDisplay.Build),
Cards(Cards.class, GameDisplay.Cards),
Skywars(SkyWars.class, GameDisplay.Skywars),
Skywars(Skywars.class, GameDisplay.Skywars),
Event(EventGame.class, GameDisplay.Event);

View File

@ -43,8 +43,8 @@ import nautilus.game.arcade.game.games.skywars.kits.KitMadScientist;
import nautilus.game.arcade.kit.Kit;
import nautilus.game.arcade.ore.OreHider;
import nautilus.game.arcade.stats.DeathBomberStatTracker;
import nautilus.game.arcade.stats.SkyWarsKillZombieStatTracker;
import nautilus.game.arcade.stats.SkyWarsTNTStatTracker;
import nautilus.game.arcade.stats.SkywarsKillZombieStatTracker;
import nautilus.game.arcade.stats.SkywarsTNTStatTracker;
import nautilus.game.arcade.stats.WinWithoutOpeningChestStatTracker;
import nautilus.game.arcade.stats.WinWithoutWearingArmorStatTracker;
@ -90,7 +90,7 @@ import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@SuppressWarnings("deprecation")
public class SkyWars extends SoloGame
public class Skywars extends SoloGame
{
//./parse 19 30 56
@ -126,7 +126,7 @@ public class SkyWars extends SoloGame
private ChestLoot _middleBlock = new ChestLoot();
@SuppressWarnings("unchecked")
public SkyWars(ArcadeManager manager)
public Skywars(ArcadeManager manager)
{
super(manager, GameType.Skywars, new Kit[]
{
@ -194,9 +194,9 @@ public class SkyWars extends SoloGame
setAlreadyAnnounced(false);
registerStatTrackers(
new SkyWarsTNTStatTracker(this),
new SkywarsTNTStatTracker(this),
new DeathBomberStatTracker(this, 3), //TNT Kills
new SkyWarsKillZombieStatTracker(this),
new SkywarsKillZombieStatTracker(this),
new WinWithoutOpeningChestStatTracker(this),
new WinWithoutWearingArmorStatTracker(this));

View File

@ -7,7 +7,7 @@ import mineplex.core.common.util.UtilPlayer;
import mineplex.core.common.util.UtilTime;
import mineplex.core.itemstack.ItemStackFactory;
import nautilus.game.arcade.game.GameTeam;
import nautilus.game.arcade.game.games.skywars.SkyWars;
import nautilus.game.arcade.game.games.skywars.Skywars;
import nautilus.game.arcade.game.games.skywars.events.TNTPickupEvent;
import org.bukkit.Color;
@ -25,7 +25,7 @@ import org.bukkit.util.Vector;
public class TNTGenerator
{
private SkyWars Host;
private Skywars Host;
private Location _loc;
@ -33,7 +33,7 @@ public class TNTGenerator
private long _timeDelay = 15000;
private Item _ent;
public TNTGenerator(SkyWars host, Location loc)
public TNTGenerator(Skywars host, Location loc)
{
Host = host;

View File

@ -8,10 +8,10 @@ import org.bukkit.entity.Zombie;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
public class SkyWarsKillZombieStatTracker extends StatTracker<Game>
public class SkywarsKillZombieStatTracker extends StatTracker<Game>
{
public SkyWarsKillZombieStatTracker(Game game)
public SkywarsKillZombieStatTracker(Game game)
{
super(game);
}

View File

@ -6,10 +6,10 @@ import nautilus.game.arcade.game.games.skywars.events.TNTPickupEvent;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
public class SkyWarsTNTStatTracker extends StatTracker<Game>
public class SkywarsTNTStatTracker extends StatTracker<Game>
{
public SkyWarsTNTStatTracker(Game game)
public SkywarsTNTStatTracker(Game game)
{
super(game);
}