Class PurgeWorlds
- java.lang.Object
-
- com.onarandombox.MultiverseCore.utils.PurgeWorlds
-
@Deprecated public class PurgeWorlds extends java.lang.ObjectDeprecated.Use instead:WorldPurgerandSimpleWorldPurger.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 voidpurgeWorld(org.bukkit.command.CommandSender sender, MultiverseWorld world)Deprecated.Convenience method forpurgeWorld(CommandSender, MultiverseWorld, List, boolean, boolean)that takes the settings from the world-config.voidpurgeWorld(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.voidpurgeWorlds(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- TheCommandSenderwho 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- TheCommandSenderthat 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- TheCommandSenderthat initiated the action.mvworld- TheMultiverseWorld.thingsToKill- AListof 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.
-
-