This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.daegonner.halloween.listener; | |
| import com.daegonner.halloween.Halloween; | |
| import org.bukkit.Material; | |
| import org.bukkit.entity.EntityType; | |
| import org.bukkit.entity.LivingEntity; | |
| import org.bukkit.event.EventHandler; | |
| import org.bukkit.event.Listener; | |
| import org.bukkit.event.entity.EntitySpawnEvent; | |
| import org.bukkit.inventory.ItemStack; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.daegonner.lottery; | |
| import net.milkbowl.vault.economy.Economy; | |
| import org.bukkit.Bukkit; | |
| import org.bukkit.ChatColor; | |
| import org.bukkit.OfflinePlayer; | |
| import org.bukkit.command.Command; | |
| import org.bukkit.command.CommandSender; | |
| import org.bukkit.entity.Player; | |
| import org.bukkit.plugin.java.JavaPlugin; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Spawns a creature at the location | |
| */ | |
| private void spawn(Location location, final boolean lantern) { | |
| if (this.numSpawned < this.MOB_CAP) { | |
| World world = location.getWorld(); | |
| Bat bat = (Bat) world.spawnEntity(location, EntityType.BAT); | |
| final Zombie zombie = (Zombie) world.spawnEntity(location, EntityType.ZOMBIE); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.daegonner.security.listeners.exploit; | |
| import java.util.ArrayList; | |
| import java.util.EnumMap; | |
| import java.util.HashMap; | |
| import java.util.HashSet; | |
| import java.util.Iterator; | |
| import java.util.List; | |
| import java.util.Map; | |
| import java.util.Set; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.daegonner.halloween; | |
| import com.sk89q.worldedit.bukkit.BukkitUtil; | |
| import com.sk89q.worldguard.bukkit.WorldGuardPlugin; | |
| import com.sk89q.worldguard.protection.managers.RegionManager; | |
| import com.sk89q.worldguard.protection.regions.ProtectedRegion; | |
| import org.bukkit.*; | |
| import org.bukkit.entity.*; | |
| import org.bukkit.event.EventHandler; | |
| import org.bukkit.event.Listener; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.daegonner.core.data.probability; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| /** | |
| * Created by Matthew on 01/11/2014. | |
| */ | |
| public class Pool<T> { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.daegonner.core.commands; | |
| import com.daegonner.core.Core; | |
| import com.daegonner.core.api.menu.InventoryClickType; | |
| import com.daegonner.core.api.menu.Menu; | |
| import com.daegonner.core.api.menu.MenuAPI; | |
| import com.daegonner.core.api.menu.MenuItem; | |
| import com.daegonner.core.data.Configuration; | |
| import com.daegonner.core.hooks.VaultHook; | |
| import com.daegonner.core.util.ItemUtil; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| targetNotFound: "&4Player not found." | |
| invalidNumber: "&4Invalid number provided." | |
| invalidAction: "&4Could not find action." | |
| unknownItem: "&4Unknown item name." | |
| error: "&cError: &4" | |
| insufficientPermission: "&4You need the &c{0} &4permission to use that command." | |
| insufficientFunds: "&4You do not have sufficient funds." | |
| inventoryFull: "&4Inventory full" | |
| backReturning: "&6Returning to previous location." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.daegonner.extras.tasks.pregen; | |
| import org.bukkit.Bukkit; | |
| import org.bukkit.Chunk; | |
| import org.bukkit.World; | |
| import org.bukkit.scheduler.BukkitRunnable; | |
| public abstract class PregenTask extends BukkitRunnable { | |
| // Timeout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.daegonner.extras.tasks.pregen; | |
| import org.bukkit.Chunk; | |
| import org.bukkit.ChunkSnapshot; | |
| import org.bukkit.Material; | |
| import org.bukkit.World; | |
| public class EndPregenTask extends PregenTask { | |
| public EndPregenTask(World world) { |
OlderNewer