Class PurgeWorlds
- java.lang.Object
-
- com.onarandombox.MultiverseCore.utils.PurgeWorlds
-
@Deprecated public class PurgeWorlds extends java.lang.Object
Deprecated.Use instead:WorldPurger
andSimpleWorldPurger
.Utility class that removes animals from worlds that don't belong there.
-
-
Constructor Summary
Constructors Constructor Description PurgeWorlds(MultiverseCore plugin)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
purgeWorld(org.bukkit.command.CommandSender sender, MultiverseWorld world)
Deprecated.Convenience method forpurgeWorld(CommandSender, MultiverseWorld, List, boolean, boolean)
that takes the settings from the world-config.void
purgeWorld(org.bukkit.command.CommandSender sender, MultiverseWorld mvworld, java.util.List<java.lang.String> thingsToKill, boolean negateAnimals, boolean negateMonsters)
Deprecated.Clear all animals/monsters that do not belong to a world according to the config.void
purgeWorlds(org.bukkit.command.CommandSender sender, java.util.List<MultiverseWorld> worlds)
Deprecated.Synchronizes the given world with it's settings.
-
-
-
Constructor Detail
-
PurgeWorlds
public PurgeWorlds(MultiverseCore plugin)
Deprecated.
-
-
Method Detail
-
purgeWorlds
public void purgeWorlds(org.bukkit.command.CommandSender sender, java.util.List<MultiverseWorld> worlds)
Deprecated.Synchronizes the given world with it's settings.- Parameters:
sender
- TheCommandSender
who is requesting the world be purged.worlds
- A list ofMultiverseWorld
-
purgeWorld
public void purgeWorld(org.bukkit.command.CommandSender sender, MultiverseWorld world)
Deprecated.Convenience method forpurgeWorld(CommandSender, MultiverseWorld, List, boolean, boolean)
that takes the settings from the world-config.- Parameters:
sender
- TheCommandSender
that initiated the actionworld
- TheMultiverseWorld
.
-
purgeWorld
public void purgeWorld(org.bukkit.command.CommandSender sender, MultiverseWorld mvworld, java.util.List<java.lang.String> thingsToKill, boolean negateAnimals, boolean negateMonsters)
Deprecated.Clear all animals/monsters that do not belong to a world according to the config.- Parameters:
sender
- TheCommandSender
that initiated the action.mvworld
- TheMultiverseWorld
.thingsToKill
- AList
of animals/monsters to be killed.negateAnimals
- Whether the monsters in the list should be negated.negateMonsters
- Whether the animals in the list should be negated.
-
-