mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-11-27 04:25:19 +01:00
docs: Deprecates all current/soon old hook classes
This commit is contained in:
parent
50dfbf8dad
commit
d8564d1c1c
@ -1,12 +1,16 @@
|
||||
package com.craftaro.core.hooks;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.hooks.economies.Economy;
|
||||
import com.craftaro.core.utils.NumberUtils;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
|
||||
/**
|
||||
* A convenience class for static access to an Economy HookManager
|
||||
*
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class EconomyManager {
|
||||
private static char currencySymbol = '$';
|
||||
|
||||
|
@ -1,12 +1,16 @@
|
||||
package com.craftaro.core.hooks;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.hooks.stackers.Stacker;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
|
||||
/**
|
||||
* A convenience class for static access to a Stacker HookManager
|
||||
*
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class EntityStackerManager {
|
||||
private static final HookManager<Stacker> manager = new HookManager(Stacker.class);
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.hooks.holograms.Holograms;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
@ -9,7 +10,10 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
* A convenience class for static access to a Holograms HookManager
|
||||
*
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()} and {@link com.craftaro.core.hooks.hologram.HologramHook}
|
||||
*/
|
||||
@Deprecated
|
||||
public class HologramManager {
|
||||
private static final HookManager<Holograms> manager = new HookManager(Holograms.class);
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
import java.util.Collection;
|
||||
@ -9,6 +10,10 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class HookManager<T extends OutdatedHookInterface> {
|
||||
private final Class typeClass;
|
||||
private T defaultHook = null;
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.hooks.jobs.JobsHandler;
|
||||
import com.craftaro.core.hooks.jobs.JobsPlayerHandler;
|
||||
import org.bukkit.block.Block;
|
||||
@ -11,6 +12,10 @@ import org.bukkit.inventory.ItemStack;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class JobsHook {
|
||||
static boolean canHook;
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.hooks.log.Log;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
@ -7,7 +8,10 @@ import org.bukkit.block.Block;
|
||||
|
||||
/**
|
||||
* A convenience class for static access to a Log HookManager
|
||||
*
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class LogManager {
|
||||
private static final HookManager<Log> manager = new HookManager(Log.class);
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.hooks.mcmmo.McMMOHandler;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
@ -7,6 +8,10 @@ import org.bukkit.entity.Player;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class McMMOHook {
|
||||
static boolean canHook = false;
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.hooks.economies.Economy;
|
||||
import com.craftaro.core.hooks.economies.PlayerPointsEconomy;
|
||||
import com.craftaro.core.hooks.economies.ReserveEconomy;
|
||||
@ -35,6 +36,10 @@ import java.util.Objects;
|
||||
import java.util.logging.Level;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public final class PluginHook<T extends Class> {
|
||||
public static final PluginHook ECO_VAULT = new PluginHook(Economy.class, "Vault", VaultEconomy.class);
|
||||
public static final PluginHook ECO_PLAYER_POINTS = new PluginHook(Economy.class, "PlayerPoints", PlayerPointsEconomy.class);
|
||||
|
@ -1,10 +1,15 @@
|
||||
package com.craftaro.core.hooks;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.hooks.protection.Protection;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class ProtectionManager {
|
||||
private static final HookManager<Protection> manager = new HookManager(Protection.class);
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.hooks.worldguard.WorldGuardFlagHandler;
|
||||
import com.craftaro.core.hooks.worldguard.WorldGuardRegionHandler;
|
||||
import org.bukkit.Chunk;
|
||||
@ -12,6 +13,10 @@ import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class WorldGuardHook {
|
||||
static boolean canHook = false;
|
||||
|
||||
|
@ -1,8 +1,13 @@
|
||||
package com.craftaro.core.hooks.economies;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.hooks.OutdatedHookInterface;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class Economy implements OutdatedHookInterface {
|
||||
/**
|
||||
* Get the players available balance
|
||||
|
@ -1,9 +1,14 @@
|
||||
package com.craftaro.core.hooks.economies;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import org.black_ixx.playerpoints.PlayerPoints;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class PlayerPointsEconomy extends Economy {
|
||||
private final PlayerPoints playerPoints;
|
||||
|
||||
|
@ -1,11 +1,16 @@
|
||||
package com.craftaro.core.hooks.economies;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import net.tnemc.core.Reserve;
|
||||
import net.tnemc.core.economy.EconomyAPI;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class ReserveEconomy extends Economy {
|
||||
EconomyAPI economyAPI;
|
||||
|
||||
|
@ -1,9 +1,14 @@
|
||||
package com.craftaro.core.hooks.economies;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
import org.bukkit.plugin.RegisteredServiceProvider;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class VaultEconomy extends Economy {
|
||||
private final net.milkbowl.vault.economy.Economy vault;
|
||||
|
||||
|
@ -3,6 +3,7 @@ package com.craftaro.core.hooks.holograms;
|
||||
import com.Zrips.CMI.CMI;
|
||||
import com.Zrips.CMI.Modules.Holograms.CMIHologram;
|
||||
import com.Zrips.CMI.Modules.Holograms.HologramManager;
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
@ -16,6 +17,10 @@ import java.util.Map;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class CMIHolograms extends Holograms {
|
||||
private static CMI cmi;
|
||||
private static HologramManager cmiHologramManager;
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.holograms;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import eu.decentsoftware.holograms.api.DHAPI;
|
||||
import eu.decentsoftware.holograms.api.DecentHologramsAPI;
|
||||
import eu.decentsoftware.holograms.api.holograms.Hologram;
|
||||
@ -11,6 +12,10 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @deprecated See {@link SongodaPlugin#getHookManager()} and {@link com.craftaro.core.hooks.hologram.HologramHook}
|
||||
*/
|
||||
@Deprecated
|
||||
public class DecentHologramsHolograms extends Holograms {
|
||||
private final Set<String> ourHolograms = new HashSet<>();
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.holograms;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.hooks.OutdatedHookInterface;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
@ -8,6 +9,10 @@ import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @deprecated See {@link SongodaPlugin#getHookManager()} and {@link com.craftaro.core.hooks.hologram.HologramHook}
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class Holograms implements OutdatedHookInterface {
|
||||
protected double xOffset = 0.5;
|
||||
protected double yOffset = 0.5;
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.holograms;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.sainttx.holograms.api.Hologram;
|
||||
import com.sainttx.holograms.api.HologramPlugin;
|
||||
import com.sainttx.holograms.api.line.HologramLine;
|
||||
@ -13,6 +14,10 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class HologramsHolograms extends Holograms {
|
||||
private final HologramPlugin hologramPlugin;
|
||||
private final Set<String> ourHolograms = new HashSet<>();
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.holograms;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.gmail.filoghost.holographicdisplays.api.Hologram;
|
||||
import com.gmail.filoghost.holographicdisplays.api.HologramsAPI;
|
||||
import org.bukkit.Bukkit;
|
||||
@ -11,6 +12,10 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class HolographicDisplaysHolograms extends Holograms {
|
||||
|
||||
private final Map<String, Hologram> holograms = new HashMap<>();
|
||||
|
@ -1,11 +1,16 @@
|
||||
package com.craftaro.core.hooks.jobs;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.gamingmesh.jobs.Jobs;
|
||||
import com.gamingmesh.jobs.container.Job;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class JobsHandler {
|
||||
public static List<String> getJobs() {
|
||||
return Jobs.getJobs().stream().map(Job::getName).collect(Collectors.toList());
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.jobs;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.gamingmesh.jobs.CMILib.CMIEnchantment;
|
||||
import com.gamingmesh.jobs.Jobs;
|
||||
import com.gamingmesh.jobs.actions.BlockActionInfo;
|
||||
@ -23,6 +24,10 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class JobsPlayerHandler {
|
||||
protected final JobsPlayer jPlayer;
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.log;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.compatibility.ServerVersion;
|
||||
import net.coreprotect.CoreProtect;
|
||||
import net.coreprotect.CoreProtectAPI;
|
||||
@ -7,6 +8,10 @@ import org.bukkit.Location;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
import org.bukkit.block.Block;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class CoreProtectLog extends Log {
|
||||
private CoreProtectAPI api;
|
||||
private boolean useDeprecatedMethod = ServerVersion.isServerVersionAtOrBelow(ServerVersion.V1_12);
|
||||
|
@ -1,10 +1,15 @@
|
||||
package com.craftaro.core.hooks.log;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.hooks.OutdatedHookInterface;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
import org.bukkit.block.Block;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class Log implements OutdatedHookInterface {
|
||||
public abstract void logPlacement(OfflinePlayer player, Block block);
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.mcmmo;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.gmail.nossr50.api.AbilityAPI;
|
||||
import com.gmail.nossr50.api.ExperienceAPI;
|
||||
import com.gmail.nossr50.config.experience.ExperienceConfig;
|
||||
@ -26,6 +27,10 @@ import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class McMMOHandler {
|
||||
static boolean mcmmo_v2 = false;
|
||||
static boolean legacy_v13 = false;
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.protection;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
@ -12,6 +13,10 @@ import world.bentobox.bentobox.managers.IslandsManager;
|
||||
|
||||
import java.util.Optional;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class BentoBoxProtection extends Protection {
|
||||
private final IslandsManager islandsManager;
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.protection;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import me.ryanhamshire.GriefPrevention.Claim;
|
||||
import me.ryanhamshire.GriefPrevention.DataStore;
|
||||
import me.ryanhamshire.GriefPrevention.GriefPrevention;
|
||||
@ -7,6 +8,10 @@ import org.bukkit.Location;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class GriefPreventionProtection extends Protection {
|
||||
private final DataStore dataStore;
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.protection;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import me.angeschossen.lands.api.LandsIntegration;
|
||||
import me.angeschossen.lands.api.flags.type.Flags;
|
||||
import me.angeschossen.lands.api.flags.type.RoleFlag;
|
||||
@ -8,6 +9,10 @@ import org.bukkit.Location;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class LandsProtection extends Protection {
|
||||
private final LandsIntegration landsIntegration;
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.protection;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.plotsquared.core.PlotSquared;
|
||||
import com.plotsquared.core.plot.Plot;
|
||||
import com.plotsquared.core.plot.PlotArea;
|
||||
@ -8,6 +9,10 @@ import org.bukkit.Location;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class PlotSquaredProtection extends Protection {
|
||||
public PlotSquaredProtection(Plugin plugin) {
|
||||
super(plugin);
|
||||
|
@ -1,10 +1,15 @@
|
||||
package com.craftaro.core.hooks.protection;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.hooks.OutdatedHookInterface;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class Protection implements OutdatedHookInterface {
|
||||
protected final Plugin plugin;
|
||||
|
||||
|
@ -3,10 +3,15 @@ package com.craftaro.core.hooks.protection;
|
||||
import br.net.fabiozumbi12.RedProtect.Bukkit.API.RedProtectAPI;
|
||||
import br.net.fabiozumbi12.RedProtect.Bukkit.RedProtect;
|
||||
import br.net.fabiozumbi12.RedProtect.Bukkit.Region;
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class RedProtectProtection extends Protection {
|
||||
private final RedProtectAPI api;
|
||||
|
||||
|
@ -4,10 +4,15 @@ import com.bekvon.bukkit.residence.Residence;
|
||||
import com.bekvon.bukkit.residence.containers.Flags;
|
||||
import com.bekvon.bukkit.residence.containers.ResidencePlayer;
|
||||
import com.bekvon.bukkit.residence.protection.FlagPermissions;
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class ResidenceProtection extends Protection {
|
||||
private final Residence instance;
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.protection;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.ultimateclaims.UltimateClaims;
|
||||
import com.craftaro.ultimateclaims.claim.Claim;
|
||||
import com.craftaro.ultimateclaims.member.ClaimPerm;
|
||||
@ -8,6 +9,10 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class UltimateClaimsProtection extends Protection {
|
||||
private final UltimateClaims instance;
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.stackers;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.Item;
|
||||
@ -7,6 +8,10 @@ import org.bukkit.entity.LivingEntity;
|
||||
import uk.antiperson.stackmob.api.EntityManager;
|
||||
import uk.antiperson.stackmob.api.StackedEntity;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class StackMob extends Stacker {
|
||||
private final EntityManager plugin;
|
||||
|
||||
|
@ -1,10 +1,15 @@
|
||||
package com.craftaro.core.hooks.stackers;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.core.hooks.OutdatedHookInterface;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.Item;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class Stacker implements OutdatedHookInterface {
|
||||
public abstract boolean supportsItemStacking();
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.stackers;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.craftaro.ultimatestacker.api.UltimateStackerApi;
|
||||
import com.craftaro.ultimatestacker.api.stack.entity.EntityStack;
|
||||
import org.bukkit.Bukkit;
|
||||
@ -8,6 +9,10 @@ import org.bukkit.entity.Item;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class UltimateStacker extends Stacker {
|
||||
private final Plugin plugin;
|
||||
|
||||
|
@ -4,10 +4,15 @@ import com.bgsoftware.wildstacker.WildStackerPlugin;
|
||||
import com.bgsoftware.wildstacker.api.WildStackerAPI;
|
||||
import com.bgsoftware.wildstacker.api.enums.SpawnCause;
|
||||
import com.bgsoftware.wildstacker.api.objects.StackedEntity;
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.Item;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class WildStacker extends Stacker {
|
||||
private final WildStackerPlugin plugin;
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.worldguard;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.sk89q.worldedit.bukkit.BukkitAdapter;
|
||||
import com.sk89q.worldedit.math.BlockVector3;
|
||||
import com.sk89q.worldguard.LocalPlayer;
|
||||
@ -30,7 +31,10 @@ import java.util.stream.Stream;
|
||||
* Hooks for adding a custom WorldGuard flag
|
||||
* <p>
|
||||
* Note: Hooks must be added before WG loads!
|
||||
*
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class WorldGuardFlagHandler {
|
||||
static boolean wgPlugin;
|
||||
static Object worldGuardPlugin;
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.craftaro.core.hooks.worldguard;
|
||||
|
||||
import com.craftaro.core.SongodaPlugin;
|
||||
import com.sk89q.worldedit.bukkit.BukkitAdapter;
|
||||
import com.sk89q.worldedit.math.BlockVector3;
|
||||
import com.sk89q.worldguard.WorldGuard;
|
||||
@ -18,6 +19,10 @@ import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.logging.Level;
|
||||
|
||||
/**
|
||||
* @deprecated This class is part of the old hook system and will be deleted very soon – See {@link SongodaPlugin#getHookManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public class WorldGuardRegionHandler {
|
||||
static boolean wgPlugin;
|
||||
static Object worldGuardPlugin;
|
||||
|
Loading…
Reference in New Issue
Block a user