Uses of Class
fr.andross.banitem.actions.BanData
Packages that use BanData
Package
Description
-
Uses of BanData in fr.andross.banitem
Methods in fr.andross.banitem with parameters of type BanDataModifier and TypeMethodDescriptionboolean
BanUtils.hasPermission
(@NotNull org.bukkit.entity.Player player, @NotNull String itemName, @NotNull BanAction action, @Nullable BanData... data) Method to check if the player has the bypass permission for either the item (material name) or custom name.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.World world, @NotNull BannedItem item, @NotNull BanAction action, @Nullable BanData... data) This method is used to check if the item is banned, in both blacklist and whitelist, not involving a player.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.World world, @NotNull org.bukkit.Material material, @NotNull BanAction action, @Nullable BanData... data) This method is used to check if the item is banned, in both blacklist and whitelist, not involving a player.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.World world, @NotNull org.bukkit.inventory.ItemStack item, @NotNull BanAction action, @Nullable BanData... data) This method is used to check if the item is banned, in both blacklist and whitelist, not involving a player.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.entity.Player player, @NotNull BannedItem item, boolean sendMessage, @NotNull BanAction action, @Nullable BanData... data) Check if the BannedItem object is banned, in both blacklist and whitelist.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.entity.Player player, @NotNull BannedItem item, @NotNull BanAction action, @Nullable BanData... data) Check if the BannedItem object is banned, in both blacklist and whitelist.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.Material m, boolean sendMessage, @NotNull BanAction action, @Nullable BanData... data) Check if the material is banned, in both blacklist and whitelist.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.Material m, @NotNull BanAction action, @Nullable BanData... data) Check if the material is banned, in both blacklist and whitelist.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.entity.Player player, @Nullable org.bukkit.Location loc, @NotNull BannedItem item, boolean sendMessage, @NotNull BanAction action, @Nullable BanData... data) Check if the BannedItem object is banned, in both blacklist and whitelist.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.entity.Player player, @Nullable org.bukkit.Location loc, @NotNull BannedItem item, @NotNull BanAction action, @Nullable BanData... data) Check if the BannedItem object is banned, in both blacklist and whitelist.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.entity.Player player, @Nullable org.bukkit.Location loc, @NotNull org.bukkit.Material m, boolean sendMessage, @NotNull BanAction action, @Nullable BanData... data) Check if the material is banned, in both blacklist and whitelist.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.entity.Player player, @Nullable org.bukkit.Location loc, @NotNull org.bukkit.Material m, @NotNull BanAction action, @Nullable BanData... data) Check if the material is banned, in both blacklist and whitelist.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.entity.Player player, @Nullable org.bukkit.Location loc, @NotNull org.bukkit.inventory.ItemStack item, boolean sendMessage, @NotNull BanAction action, @Nullable BanData... data) Check if the ItemStack is banned, in both blacklist and whitelist.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.entity.Player player, @Nullable org.bukkit.Location loc, @NotNull org.bukkit.inventory.ItemStack item, @NotNull BanAction action, @Nullable BanData... data) Check if the ItemStack is banned, in both blacklist and whitelist.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.inventory.ItemStack item, boolean sendMessage, @NotNull BanAction action, @Nullable BanData... data) Check if the ItemStack is banned, in both blacklist and whitelist.boolean
BanItemAPI.isBanned
(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.inventory.ItemStack item, @NotNull BanAction action, @Nullable BanData... data) Check if the ItemStack is banned, in both blacklist and whitelist.boolean
BanItemAPI.isBlacklisted
(@NotNull org.bukkit.World world, @NotNull BannedItem item, @NotNull BanAction action, @Nullable BanData... data) Check if the item is blacklisted, not involving a player.boolean
BanItemAPI.isBlacklisted
(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.Location location, @NotNull BannedItem item, boolean sendMessage, @NotNull BanAction action, @Nullable BanData... data) Check if the item is blacklisted.boolean
BanItemAPI.isWhitelisted
(@NotNull org.bukkit.World world, @NotNull BannedItem item, @NotNull BanAction action, @Nullable BanData... data) Check if the item is whitelisted, not involving a player.boolean
BanItemAPI.isWhitelisted
(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.Location location, @NotNull BannedItem item, boolean sendMessage, @NotNull BanAction action, @Nullable BanData... data) Check if the item is whitelisted (allowed), sending a message or not to the player. -
Uses of BanData in fr.andross.banitem.actions
Methods in fr.andross.banitem.actions with parameters of type BanData -
Uses of BanData in fr.andross.banitem.database
Methods in fr.andross.banitem.database with parameters of type BanDataModifier and TypeMethodDescriptionboolean
Blacklist.isBlacklisted
(@NotNull org.bukkit.World world, @NotNull BannedItem item, @NotNull BanAction action, @Nullable BanData... data) This method is used to check if the item is banned, not involving a player.boolean
Blacklist.isBlacklisted
(@NotNull org.bukkit.entity.Player player, @Nullable org.bukkit.Location location, @NotNull BannedItem item, boolean sendMessage, @NotNull BanAction action, @Nullable BanData... data) Check if the action with the item is blacklisted for the player.boolean
Whitelist.isWhitelisted
(@NotNull org.bukkit.World world, @NotNull BannedItem item, @NotNull BanAction action, @Nullable BanData... data) This method is used to check if the item is whitelisted, not involving a player.boolean
Whitelist.isWhitelisted
(@NotNull org.bukkit.entity.Player player, @Nullable org.bukkit.Location location, @NotNull BannedItem item, boolean sendMessage, @NotNull BanAction action, @Nullable BanData... data) Check if the item is whitelisted (allowed). -
Uses of BanData in fr.andross.banitem.events
Methods in fr.andross.banitem.events that return BanDataModifier and TypeMethodDescription@Nullable BanData[]
PlayerBanItemEvent.getData()
The data used.Constructors in fr.andross.banitem.events with parameters of type BanDataModifierConstructorDescriptionPlayerBanItemEvent
(@NotNull org.bukkit.entity.Player player, @NotNull PlayerBanItemEvent.Type type, @NotNull BannedItem bannedItem, @NotNull BanAction action, @NotNull BanActionData actionData, @Nullable BanData... data) Construct the event with all information about the occurring banning process.