old chests drop a little more frequently
This commit is contained in:
parent
480a5225f3
commit
e0ba667613
@ -76,31 +76,31 @@ public class RewardManager
|
||||
// Gadgets
|
||||
addReward(new InventoryReward(inventoryManager, "Paintballs", "Paintball Gun",
|
||||
(int)(100*(minValue/500)), (int)(100*(maxValue/500)),
|
||||
new ItemStack(Material.GOLD_BARDING), rarity, 1));
|
||||
new ItemStack(Material.GOLD_BARDING), rarity, 10));
|
||||
|
||||
addReward(new InventoryReward(inventoryManager, "Fireworks", "Fireworks",
|
||||
(int)(50*(minValue/500)), (int)(50*(maxValue/500)),
|
||||
new ItemStack(Material.FIREWORK), rarity, 1));
|
||||
new ItemStack(Material.FIREWORK), rarity, 10));
|
||||
|
||||
addReward(new InventoryReward(inventoryManager, "Melons", "Melon Launcher",
|
||||
(int)(50*(minValue/500)), (int)(50*(maxValue/500)),
|
||||
new ItemStack(Material.MELON_BLOCK), rarity, 1));
|
||||
new ItemStack(Material.MELON_BLOCK), rarity, 10));
|
||||
|
||||
addReward(new InventoryReward(inventoryManager, "Flesh Hooks", "Flesh Hook",
|
||||
(int)(40*(minValue/500)), (int)(40*(maxValue/500)),
|
||||
new ItemStack(Material.getMaterial(131)), rarity, 1));
|
||||
new ItemStack(Material.getMaterial(131)), rarity, 10));
|
||||
|
||||
addReward(new InventoryReward(inventoryManager, "Pearls", "Ethereal Pearl",
|
||||
(int)(30*(minValue/500)), (int)(30*(maxValue/500)),
|
||||
new ItemStack(Material.ENDER_PEARL), rarity, 1));
|
||||
new ItemStack(Material.ENDER_PEARL), rarity, 10));
|
||||
|
||||
addReward(new InventoryReward(inventoryManager, "Bat Swarms", "Bat Blaster",
|
||||
(int)(20*(minValue/500)), (int)(20*(maxValue/500)),
|
||||
new ItemStack(Material.IRON_BARDING), rarity, 1));
|
||||
new ItemStack(Material.IRON_BARDING), rarity, 10));
|
||||
|
||||
addReward(new InventoryReward(inventoryManager, "TNT", "TNT",
|
||||
(int)(20*(minValue/500)), (int)(20*(maxValue/500)),
|
||||
new ItemStack(Material.TNT), rarity, 1));
|
||||
new ItemStack(Material.TNT), rarity, 10));
|
||||
}
|
||||
|
||||
public void addUncommon(DonationManager donationManager, InventoryManager inventoryManager, PetManager petManager, double minValue, double maxValue)
|
||||
|
@ -399,7 +399,22 @@ public class GameHostManager implements Listener
|
||||
{
|
||||
_blacklist.add(player.getName());
|
||||
|
||||
Manager.GetPortal().sendToHub(player, "You were kicked from this Mineplex Private Server.");
|
||||
Manager.GetPortal().sendToHub(player, "You were removed from this Mineplex Private Server.");
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void kickBlacklist(UpdateEvent event)
|
||||
{
|
||||
if (event.getType() != UpdateType.SEC)
|
||||
return;
|
||||
|
||||
for (Player player : UtilServer.getPlayers())
|
||||
{
|
||||
if (_blacklist.contains(player.getName()))
|
||||
{
|
||||
Manager.GetPortal().sendToHub(player, "You were removed from this Mineplex Private Server.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void giveAdmin(Player player)
|
||||
|
@ -59,7 +59,7 @@ public class GameLootManager implements Listener
|
||||
|
||||
//Chest
|
||||
_rewardManager.addReward(new InventoryReward(Manager.getInventoryManager(), "Old Chest", "Old Chest", 1, 1,
|
||||
new ItemStack(Material.CHEST), RewardRarity.UNCOMMON, 1000));
|
||||
new ItemStack(Material.CHEST), RewardRarity.COMMON, 2));
|
||||
|
||||
_rewardManager.addReward(new InventoryReward(Manager.getInventoryManager(), "Ancient Chest", "Ancient Chest", 1, 1,
|
||||
new ItemStack(Material.CHEST), RewardRarity.UNCOMMON, 40));
|
||||
|
Loading…
Reference in New Issue
Block a user