Index

A B C D E F G H I L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACTION - Enum constant in enum class fr.andross.banitem.utils.list.ListType
 
ACTIONDATA - Enum constant in enum class fr.andross.banitem.utils.list.ListType
 
add(DebugMessage...) - Method in class fr.andross.banitem.utils.debug.Debug
Add a node
add(ListType, String) - Method in class fr.andross.banitem.utils.debug.Debug
Add a node
add(String) - Method in class fr.andross.banitem.utils.debug.Debug
Add a node
addCustomChart(Metrics.CustomChart) - Method in class fr.andross.banitem.utils.metrics.Metrics
Adds a custom chart.
addMetaItem(String, ItemStack) - Method in class fr.andross.banitem.BanDatabase
Try to add a meta item (BannedItem) into the map and the config file
addMetaItem(String, ItemStack) - Method in class fr.andross.banitem.BanItemAPI
Add an ItemStack as a meta item and save it in metaitems.yml
addNewBan(World, BannedItem, Map<BanAction, BanActionData>) - Method in class fr.andross.banitem.database.Blacklist
This will add a new entry to the blacklist.
addNewEntry(BannedItem, Map<BanAction, BanActionData>) - Method in class fr.andross.banitem.database.WhitelistedWorld
This will add a new entry to the whitelist
addNewException(WhitelistedWorld, BannedItem, Map<BanAction, BanActionData>) - Method in class fr.andross.banitem.database.Whitelist
This will add a new exception (allowed item) into the WhitelistedWorld object.
addToBlacklist(BannedItem, Map<BanAction, BanActionData>, World...) - Method in class fr.andross.banitem.BanItemAPI
Add a new banned item to blacklist and save the config file used.
addToBlacklist(Collection<? extends BannedItem>, Map<BanAction, BanActionData>, World...) - Method in class fr.andross.banitem.BanItemAPI
Add the banned items to the blacklist and save the config file used
addToWhitelist(WhitelistedWorld, BannedItem, Map<BanAction, BanActionData>) - Method in class fr.andross.banitem.BanItemAPI
Add an item on the whitelist of a world and save in the used config
AdvancedBarChart(String, Callable<Map<String, int[]>>) - Constructor for class fr.andross.banitem.utils.metrics.Metrics.AdvancedBarChart
Class constructor.
AdvancedEnchantments - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare the AdvancedEnchantments
AdvancedEnchantments(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.AdvancedEnchantments
 
ADVANCEDENCHANTMENTS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
AdvancedPie(String, Callable<Map<String, Integer>>) - Constructor for class fr.andross.banitem.utils.metrics.Metrics.AdvancedPie
Class constructor.
areAllEquals(Collection<?>) - Static method in class fr.andross.banitem.utils.Utils
Check if all elements are equals
args - Variable in class fr.andross.banitem.commands.BanCommand
 
ARMORSTANDPLACE - Enum constant in enum class fr.andross.banitem.actions.BanAction
When the player try to place the item on an armorstand Special data: none
ARMORSTANDTAKE - Enum constant in enum class fr.andross.banitem.actions.BanAction
When the player try to take an item from an armorstand Special data: none
asNMSCopy(ItemStack) - Static method in class fr.andross.banitem.utils.attributes.ReflectionUtils
Create an NMSItemStack from Bukkit ItemStack
ATTACK - Enum constant in enum class fr.andross.banitem.actions.BanAction
When the player attack (left click on) an entity with the item Special data: entity - the EntityType of the attacked entity
ATTRIBUTE - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
AttributeContains - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare attributes
AttributeContains(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.AttributeContains
 
AttributeLegacy - Enum Class in fr.andross.banitem.utils.attributes
An enum which represents the minecraft attributes.
AttributeLevels - Class in fr.andross.banitem.utils.attributes
An attribute wrapper class that stores the levels and the comparator in which the attribute must match
AttributeLevels(Double, AttributeLevels.Comparator) - Constructor for class fr.andross.banitem.utils.attributes.AttributeLevels
 
AttributeLevels(Double, Double) - Constructor for class fr.andross.banitem.utils.attributes.AttributeLevels
 
AttributeLevels.Comparator - Enum Class in fr.andross.banitem.utils.attributes
An enum to define how to compare attribute levels

B

B_STATS_VERSION - Static variable in class fr.andross.banitem.utils.metrics.Metrics
 
BanAction - Enum Class in fr.andross.banitem.actions
List of available ban actions
BanActionData - Class in fr.andross.banitem.actions
This class offers a way to store the ban actions data.
BanActionData() - Constructor for class fr.andross.banitem.actions.BanActionData
 
BanAnimation - Class in fr.andross.banitem.utils
Animation class
BanAnimation(CommandSender, BanConfig) - Constructor for class fr.andross.banitem.utils.BanAnimation
Loading a ban animation.
BanCommand - Class in fr.andross.banitem.commands
Abstract sub command class
BanCommand(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.BanCommand
 
BanConfig - Class in fr.andross.banitem
A cached ban configuration from a FileConfiguration
BanData - Class in fr.andross.banitem.actions
The ban data used into a ban check The object will be an instance of the described BanDataType Example: if type == BanDataType.CREATIVE, the object is a boolean.
BanData(BanDataType, Object) - Constructor for class fr.andross.banitem.actions.BanData
 
BanDatabase - Class in fr.andross.banitem
Class that contains all the maps
BanDataType - Enum Class in fr.andross.banitem.actions
A simple enum indicating what kind of data is used
BanHooks - Class in fr.andross.banitem
Hooks manager
BanItem - Class in fr.andross.banitem
BanItemPlugin
BanItem() - Constructor for class fr.andross.banitem.BanItem
 
BanItemAPI - Class in fr.andross.banitem
BanItemAPI
BanListener - Class in fr.andross.banitem
This class is used to register only the needed listeners.
BannedItem - Class in fr.andross.banitem.items
An item wrapper, which can handle matching Material/ItemStacks with their ItemMeta and not considering the amount.
BannedItem(ItemStack) - Constructor for class fr.andross.banitem.items.BannedItem
Creating an item, include the ItemMeta of the item
BannedItem(Material) - Constructor for class fr.andross.banitem.items.BannedItem
Creating an item without metadata
BanUtils - Class in fr.andross.banitem
An utility class for the plugin
BanVersion - Class in fr.andross.banitem.utils
Class that contains some notable versions nodes, so the plugin can handle multiple versions Those variables are used to check versions compatibility
BanVersion() - Constructor for class fr.andross.banitem.utils.BanVersion
 
BETWEEN - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLevels.Comparator
 
Blacklist - Class in fr.andross.banitem.database
Map that contains the blacklisted items
Blacklist(BanItem, BanDatabase, CommandSender, ConfigurationSection) - Constructor for class fr.andross.banitem.database.Blacklist
Constructor for a blacklist map
BLACKLIST - Enum constant in enum class fr.andross.banitem.events.PlayerBanItemEvent.Type
 
BOOKEDIT - Enum constant in enum class fr.andross.banitem.actions.BanAction
When the player edits or signs a book and quill item Special data: none
BREAK - Enum constant in enum class fr.andross.banitem.actions.BanAction
When the player try to break (left click on) a block Special data: material - the Material item in the hand of the player
BREW - Enum constant in enum class fr.andross.banitem.actions.BanAction
When an item is brewed into a brewer Special data: none
build() - Method in class fr.andross.banitem.utils.ItemStackBuilder
Build the item

C

callMethodWithName(Object, String) - Static method in class fr.andross.banitem.utils.attributes.ReflectionUtils
Call the first method matching the name
callMethodWithReturnType(Object, Class<? extends T>) - Static method in class fr.andross.banitem.utils.attributes.ReflectionUtils
Call the first method matching the returnType
Chat - Class in fr.andross.banitem.utils
A chat utility class
Chat() - Constructor for class fr.andross.banitem.utils.Chat
 
checkForUpdate() - Method in class fr.andross.banitem.BanUtils
Send a message if an update is available This must be executed async
checkPlayerArmors(Player) - Method in class fr.andross.banitem.BanUtils
Used to check a player armor inventory
checkPlayerIllegalStacks(Player) - Method in class fr.andross.banitem.BanUtils
Used to check if a player has an illegal stacked item
clear() - Method in class fr.andross.banitem.utils.DoubleMap
Will clear the map and its reversed one
CLICK - Enum constant in enum class fr.andross.banitem.actions.BanAction
When the player use left click (either on block or on air) with the item Special data: material - the Material item if a block is clicked
clone() - Method in class fr.andross.banitem.utils.debug.Debug
 
color(String) - Static method in class fr.andross.banitem.utils.Chat
Translate the color codes to make the string colored
Commandadd - Class in fr.andross.banitem.commands
Sub command add
Commandadd(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandadd
 
Commandcheck - Class in fr.andross.banitem.commands
Sub command check
Commandcheck(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandcheck
 
Commandhelp - Class in fr.andross.banitem.commands
Sub command help
Commandhelp(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandhelp
 
Commandinfo - Class in fr.andross.banitem.commands
Sub command info
Commandinfo(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandinfo
 
Commandload - Class in fr.andross.banitem.commands
Sub command load
Commandload(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandload
 
Commandlog - Class in fr.andross.banitem.commands
Sub command log
Commandlog(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandlog
 
Commandmetaitem - Class in fr.andross.banitem.commands
Sub command meta item
Commandmetaitem(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandmetaitem
 
Commandreload - Class in fr.andross.banitem.commands
Sub command reload
Commandreload(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandreload
 
Commandremove - Class in fr.andross.banitem.commands
Sub command remove
Commandremove(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandremove
 
CONSUME - Enum constant in enum class fr.andross.banitem.actions.BanAction
When the player consume an item (food) Special data: none
contains(BanData) - Method in class fr.andross.banitem.actions.BanActionData
Trying to check if a data is present in this ban action datas.
COOLDOWN - Enum constant in enum class fr.andross.banitem.actions.BanDataType
Type: Long (millis) Used to check if the banned item has a cooldown
CRAFT - Enum constant in enum class fr.andross.banitem.actions.BanAction
When the player try to craft an item (crafting result) Special data: none
createNewWhitelistedWorld(World, List<String>, List<BanAction>) - Method in class fr.andross.banitem.database.Whitelist
This method will create a new whitelisted world, and add/replace it into the map
CustomBannedItem - Class in fr.andross.banitem.items
An item wrapper, which store custom item meta
CustomBannedItem(String, ConfigurationSection, Debug) - Constructor for class fr.andross.banitem.items.CustomBannedItem
 
customItems - Variable in class fr.andross.banitem.database.items.Items
 
CustomItems - Class in fr.andross.banitem.database.items
Map that contains all the custom items This is a double map (include a reversed map), for easier access of custom items names and their respective banned item.
CustomItems(BanItem, CommandSender) - Constructor for class fr.andross.banitem.database.items.CustomItems
This will create a new instance of custom items map, with the items from customitems.yml file.
CUSTOMNAME - Enum constant in enum class fr.andross.banitem.actions.BanDataType
Type: String Used to get the custom/meta item name

D

Debug - Class in fr.andross.banitem.utils.debug
A debug class, which can handle and display the nodes Mainly used when loading the plugin, to display any error
Debug(BanConfig, CommandSender, DebugMessage...) - Constructor for class fr.andross.banitem.utils.debug.Debug
 
DebugMessage - Class in fr.andross.banitem.utils.debug
A debug message with its type
DebugMessage(ListType, String) - Constructor for class fr.andross.banitem.utils.debug.DebugMessage
 
DebugMessage(String) - Constructor for class fr.andross.banitem.utils.debug.DebugMessage
 
DELETE - Enum constant in enum class fr.andross.banitem.actions.BanAction
When the player open or close an inventory, it will delete the banned items Special data: none
DELETE - Enum constant in enum class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackBlockType
Delete the whole stack
DeleteBannedItemEvent - Class in fr.andross.banitem.events
Called when a banned item has been detected and should be deleted from the current inventory view of the player.
DeleteBannedItemEvent(Player, BannedItem) - Constructor for class fr.andross.banitem.events.DeleteBannedItemEvent
 
deleteItemFromInventoryView(Player) - Method in class fr.andross.banitem.BanUtils
Method to check and delete banned item from the player opened inventories
DELETEMORE - Enum constant in enum class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackBlockType
Delete only whats more from the max allowed stack size
DISPENSE - Enum constant in enum class fr.andross.banitem.actions.BanAction
When the item is dispensed from a block Special data: none
DISPLAYNAME_CONTAINS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
DISPLAYNAME_EQUALS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
DisplayNameContains - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare the display name
DisplayNameContains(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.DisplayNameContains
 
DisplayNameEquals - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare the display name
DisplayNameEquals(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.DisplayNameEquals
 
DoubleMap<K,V> - Class in fr.andross.banitem.utils
A simple double map, used to handle custom and meta items.
DoubleMap() - Constructor for class fr.andross.banitem.utils.DoubleMap
 
DrilldownPie(String, Callable<Map<String, Map<String, Integer>>>) - Constructor for class fr.andross.banitem.utils.metrics.Metrics.DrilldownPie
Class constructor.
DROP - Enum constant in enum class fr.andross.banitem.actions.BanAction
When the player try to drop an item Special data: none
DROPS - Enum constant in enum class fr.andross.banitem.actions.BanAction
This will disable a block break drops if any drops contains the banned item Special data: material - the Material of the item in player hand
Durability - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare the durability
Durability(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.Durability
 
DURABILITY - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 

E

ENCHANT - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player enchants the item Special data: set of EnchantmentWrapper - the EnchantmentWrapper applied to the item
ENCHANTMENT - Enum constant in enum class fr.andross.banitem.actions.BanDataType
Type: Set of EnchantmentWrapper Used to check if the enchantments are banned on an item
ENCHANTMENT - Enum constant in enum class fr.andross.banitem.utils.list.ListType
 
ENCHANTMENT_CONTAINS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
ENCHANTMENT_EQUALS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
EnchantmentContains - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare the enchantments
EnchantmentContains(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.EnchantmentContains
 
EnchantmentEquals - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare the enchantments
EnchantmentEquals(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.EnchantmentEquals
 
EnchantmentHelper - Class in fr.andross.banitem.utils.enchantments
An enchantment helper class to retrieve correct Bukkit enchantments object across versions
EnchantmentHelper() - Constructor for class fr.andross.banitem.utils.enchantments.EnchantmentHelper
 
EnchantmentWrapper - Class in fr.andross.banitem.utils.enchantments
An enchantment wrapper class that stores the Bukkit enchantment with a level
EnchantmentWrapper(Enchantment, int) - Constructor for class fr.andross.banitem.utils.enchantments.EnchantmentWrapper
 
ENTITY - Enum constant in enum class fr.andross.banitem.actions.BanDataType
Type: Set of EntityType Used to check if the ban will applies on this entity
ENTITY - Enum constant in enum class fr.andross.banitem.utils.list.ListType
 
ENTITYDROP - Enum constant in enum class fr.andross.banitem.actions.BanAction
When an entity dies and drop the item Special data: entity - the EntityType of the entity
ENTITYINTERACT - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player right click on an entity Special data: entity - the EntityType of the right clicked entity
equals(Object) - Method in class fr.andross.banitem.items.BannedItem
 
equals(Object) - Method in class fr.andross.banitem.items.CustomBannedItem
 
equals(Object) - Method in class fr.andross.banitem.items.MetaItem
 
equals(Object) - Method in class fr.andross.banitem.utils.enchantments.EnchantmentWrapper
 
equals(Object) - Method in class fr.andross.banitem.utils.potions.PotionWrapper
 
EQUALS - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLevels.Comparator
 

F

FILL - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player try to fill an item (like a bucket) Special data: material - the Material collected
firstEmpty(PlayerInventory) - Static method in class fr.andross.banitem.utils.Utils
A method that get the first slot empty from a player inventory.
fr.andross.banitem - package fr.andross.banitem
 
fr.andross.banitem.actions - package fr.andross.banitem.actions
 
fr.andross.banitem.commands - package fr.andross.banitem.commands
 
fr.andross.banitem.database - package fr.andross.banitem.database
 
fr.andross.banitem.database.items - package fr.andross.banitem.database.items
 
fr.andross.banitem.events - package fr.andross.banitem.events
 
fr.andross.banitem.items - package fr.andross.banitem.items
 
fr.andross.banitem.items.meta - package fr.andross.banitem.items.meta
 
fr.andross.banitem.utils - package fr.andross.banitem.utils
 
fr.andross.banitem.utils.attributes - package fr.andross.banitem.utils.attributes
 
fr.andross.banitem.utils.debug - package fr.andross.banitem.utils.debug
 
fr.andross.banitem.utils.enchantments - package fr.andross.banitem.utils.enchantments
 
fr.andross.banitem.utils.list - package fr.andross.banitem.utils.list
 
fr.andross.banitem.utils.metrics - package fr.andross.banitem.utils.metrics
 
fr.andross.banitem.utils.potions - package fr.andross.banitem.utils.potions
 
fr.andross.banitem.utils.scanners - package fr.andross.banitem.utils.scanners
 
fr.andross.banitem.utils.scanners.illegalstack - package fr.andross.banitem.utils.scanners.illegalstack
 
from(Map<Enchantment, Integer>) - Static method in class fr.andross.banitem.utils.enchantments.EnchantmentWrapper
Create a set of this wrapper from a map of enchantements
fromString(String) - Static method in enum class fr.andross.banitem.utils.attributes.AttributeLevels.Comparator
Retrieve a Comparator from a string sign

G

GAMEMODE - Enum constant in enum class fr.andross.banitem.actions.BanDataType
Type: Set of GameMode Used to check if the ban applies on current player gamemode
GAMEMODE - Enum constant in enum class fr.andross.banitem.utils.list.ListType
 
GENERIC_ARMOR - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
 
GENERIC_ARMOR_TOUGHNESS - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
 
GENERIC_ATTACK_DAMAGE - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
 
GENERIC_ATTACK_SPEED - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
 
GENERIC_FLYING_SPEED - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
 
GENERIC_FOLLOW_RANGE - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
 
GENERIC_KNOCKBACK_RESISTANCE - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
 
GENERIC_LUCK - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
 
GENERIC_MAX_HEALTH - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
 
GENERIC_MOVEMENT_SPEED - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
 
get(BannedItem) - Method in class fr.andross.banitem.database.items.Items
Get a map of actions and their respective data for a banned item object, if present.
get(BannedItem, BanAction) - Method in class fr.andross.banitem.database.items.Items
Get the BanActionData of the BannedItem for the said action, if present.
getaction() - Method in class fr.andross.banitem.events.PlayerBanItemEvent
Deprecated.
Error in typo. Use PlayerBanItemEvent.getAction() instead.
getAction() - Method in class fr.andross.banitem.events.PlayerBanItemEvent
The ban action
getactionData() - Method in class fr.andross.banitem.events.PlayerBanItemEvent
Deprecated.
Error in typo. Use PlayerBanItemEvent.getActionData() instead.
getActionData() - Method in class fr.andross.banitem.events.PlayerBanItemEvent
The ban action data
getActivated() - Method in class fr.andross.banitem.BanListener
Get the amount of events listened
getAllActions() - Method in class fr.andross.banitem.database.items.Items
Get all actions saved for the items, unmodifiable
getAllEnchantmentWrappers(Enchantment) - Static method in class fr.andross.banitem.utils.enchantments.EnchantmentHelper
Get all enchantmentwrappers (all levels) for a bukkit Enchantment
getAllEnchants(ItemStack) - Static method in class fr.andross.banitem.utils.Utils
Get an unmodifiable map of all enchantments on an item, considering stored enchants on enchanted book
getAllObjects(ListType) - Static method in class fr.andross.banitem.utils.list.Listable
This method will give all possibles objects for the given type.
getAllPotionEffects(ItemStack) - Static method in class fr.andross.banitem.utils.Utils
Try to get potion effects on an item
getAmount() - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackItemConfig
Max amount allowed of the material
getAnimation() - Method in class fr.andross.banitem.BanConfig
Get the ban animation
getApi() - Method in class fr.andross.banitem.BanItem
Get the ban api
getBanActions(World, BannedItem) - Method in class fr.andross.banitem.database.Blacklist
Trying to get the ban actions with their respective ban actions data for this item in the said world.
getBanActionsForItem(List<World>, ConfigurationSection, String, Debug) - Method in class fr.andross.banitem.BanUtils
Get ban actions data for a section
getBanActionsFromItemSection(List<World>, ConfigurationSection, Debug) - Method in class fr.andross.banitem.BanUtils
Get a map of actions and actions data from a section
getBanConfig() - Method in class fr.andross.banitem.BanItem
Get a the ban config helper
getBanData(World, BannedItem, BanAction) - Method in class fr.andross.banitem.database.Blacklist
Try to get the ban actions data for this item with this action.
getBanDatabase() - Method in class fr.andross.banitem.BanItem
Get the ban database, containing blacklist, whitelist and customitems
getBannedItem() - Method in class fr.andross.banitem.events.DeleteBannedItemEvent
The banned item involved
getBannedItem() - Method in class fr.andross.banitem.events.PlayerBanItemEvent
The banned item
getBetterDebug() - Method in class fr.andross.banitem.utils.debug.Debug
A list of messages with nodes and the detailled debug message
getBlacklist() - Method in class fr.andross.banitem.BanDatabase
Get the blacklist map
getBlacklist() - Method in class fr.andross.banitem.BanItemAPI
 
getBlacklistActions() - Method in class fr.andross.banitem.BanDatabase
Getting an immutable set of used ban actions (BanAction) This is actually used to register the specific listeners for the specific actions
getBlockType() - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackItemConfig
The block type
getChangedSlots(PlayerInventory, ItemStack) - Static method in class fr.andross.banitem.utils.Utils
Get the affected slots if an item will be added to the inventory
getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.AdvancedBarChart
 
getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.AdvancedPie
 
getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.CustomChart
 
getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.DrilldownPie
 
getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.MultiLineChart
 
getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.SimpleBarChart
 
getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.SimplePie
 
getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.SingleLineChart
 
getClazz() - Method in enum class fr.andross.banitem.items.meta.MetaType
Get the handler class of this meta
getClickedInventory(InventoryView, int) - Static method in class fr.andross.banitem.utils.Utils
Get the clicked inventory from a view.
getCommandsAliases() - Method in class fr.andross.banitem.BanUtils
Get the sub commands aliases
getConfig() - Method in class fr.andross.banitem.BanConfig
FileConfiguration loaded in this instance
getConfig() - Method in class fr.andross.banitem.database.items.CustomItems
 
getConfig() - Method in class fr.andross.banitem.database.items.MetaItems
 
getConfigFile() - Method in class fr.andross.banitem.BanConfig
Get the config file used in this instance
getConfigName() - Method in class fr.andross.banitem.BanConfig
Get the current config file name used
getCooldown() - Method in class fr.andross.banitem.actions.BanActionData
Trying to get a cooldown added for this action
getCooldowns() - Method in class fr.andross.banitem.actions.BanActionData
 
getCooldownString(long) - Method in class fr.andross.banitem.BanUtils
Get a friendly string of remaining time
getCustomItem(String) - Method in class fr.andross.banitem.BanItemAPI
Get a BannedItem object for the meta item named metaName.
getCustomItems() - Method in class fr.andross.banitem.BanDatabase
Get the custom items map
getCustomItems() - Method in class fr.andross.banitem.BanItemAPI
 
getCustomItems() - Method in class fr.andross.banitem.database.items.Items
Get the custom items map
getData() - Method in class fr.andross.banitem.events.PlayerBanItemEvent
The data used
getData() - Method in class fr.andross.banitem.items.BannedItem
 
getData(BanDataType) - Method in class fr.andross.banitem.actions.BanActionData
Trying to get the data from this map
getDatabase() - Method in class fr.andross.banitem.BanItemAPI
Get the BanItem database, containing blacklist, whitelist, custom items and meta items.
getDefaultBlockType() - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
Get the default block type for items This can be null if an invalid block type is set from config
getEnchantment() - Method in class fr.andross.banitem.utils.enchantments.EnchantmentWrapper
Get the Bukkit enchantment
getEnchantment(String) - Static method in class fr.andross.banitem.utils.enchantments.EnchantmentHelper
Try to get an Enchantment object by the name
getEnchantments() - Method in class fr.andross.banitem.actions.BanActionData
Trying to get a set of enchantmentwrapper added for this action
getEnchantmentsNames() - Static method in class fr.andross.banitem.utils.enchantments.EnchantmentHelper
 
getEnchantmentWrapper(String) - Static method in class fr.andross.banitem.utils.enchantments.EnchantmentHelper
Try to get an EnchantmentWrapper from a string which synthax must be 'enchantment:level'
getEntities() - Method in class fr.andross.banitem.actions.BanActionData
Trying to get a set of entitytype added for this action
getFile() - Method in class fr.andross.banitem.database.items.CustomItems
 
getFile() - Method in class fr.andross.banitem.database.items.MetaItems
 
getGamemodes() - Method in class fr.andross.banitem.actions.BanActionData
Trying to get a set of gamemodes added for this action
getHandlerList() - Static method in class fr.andross.banitem.events.DeleteBannedItemEvent
 
getHandlerList() - Static method in class fr.andross.banitem.events.PlayerBanItemEvent
 
getHandlerList() - Static method in class fr.andross.banitem.events.PlayerRegionChangeEvent
 
getHandlers() - Method in class fr.andross.banitem.events.DeleteBannedItemEvent
 
getHandlers() - Method in class fr.andross.banitem.events.PlayerBanItemEvent
 
getHandlers() - Method in class fr.andross.banitem.events.PlayerRegionChangeEvent
 
getHooks() - Method in class fr.andross.banitem.BanItem
Get the ban hooks
getIgnored() - Method in class fr.andross.banitem.database.WhitelistedWorld
 
getIgnoredInventoryTitles() - Method in class fr.andross.banitem.BanConfig
Get the ignored inventories titles
getIllegalStackScanner() - Method in class fr.andross.banitem.BanUtils
Get the IllegalStackScanner handler
getInstance() - Static method in class fr.andross.banitem.BanItem
Gives the current instance of the plugin.
getInstance() - Static method in class fr.andross.banitem.BanItemAPI
Get a static instance of the api.
getInventoryFrom() - Method in class fr.andross.banitem.actions.BanActionData
Trying to get a set of inventory-from added for this action
getInventoryTo() - Method in class fr.andross.banitem.actions.BanActionData
Trying to get a set of inventory-to added for this action
getItemDisplayname(ItemStack) - Static method in class fr.andross.banitem.utils.Utils
Get the display name of the item, empty string if empty
getItemInHand(Player) - Static method in class fr.andross.banitem.utils.Utils
Get the item from the player hand, even AIR, regardless the version
getItemMeta() - Method in class fr.andross.banitem.items.BannedItem
 
getItems() - Method in class fr.andross.banitem.database.items.Items
Get the items map (include normal and meta items)
getItems() - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
Get the map of illegal stacks configuration loaded from config
getItems(BanDatabase, Object, Debug) - Static method in class fr.andross.banitem.utils.list.Listable
Trying to get a list of type If there is any error, this will be debugged
getItemStack() - Method in class fr.andross.banitem.items.BannedItem
 
getKey(V) - Method in class fr.andross.banitem.utils.DoubleMap
Get the key of this value from the reversed map
getLevel() - Method in class fr.andross.banitem.utils.enchantments.EnchantmentWrapper
Get the level of the enchantment
getLevel() - Method in class fr.andross.banitem.utils.potions.PotionWrapper
Get the level of the potion effect
getList(ListType, Object, Debug) - Static method in class fr.andross.banitem.utils.list.Listable
Get a list of type.
getListener() - Method in class fr.andross.banitem.BanItem
Get the class that handle the listeners
getLog() - Method in class fr.andross.banitem.actions.BanActionData
Trying to check if the action should be logged
getLogging() - Method in class fr.andross.banitem.BanUtils
This map contains the players who activated the log in game with /banitem log Players which log mode is activated will receive the logs messages for the banned items, if set in config
getMap() - Method in class fr.andross.banitem.actions.BanActionData
Get the map
getMaterial() - Method in class fr.andross.banitem.actions.BanActionData
Trying to get a set of materials added for this action
getMaterials() - Method in class fr.andross.banitem.items.CustomBannedItem
Get the materials represented by this custom item
getMaterials(Object, Debug) - Static method in class fr.andross.banitem.utils.list.Listable
Trying to get a list of materials If there is any error, this will be debugged
getMessages() - Method in class fr.andross.banitem.actions.BanActionData
Trying to get the messages added for this action
getMessages() - Method in class fr.andross.banitem.database.WhitelistedWorld
 
getMessagesCooldown() - Method in class fr.andross.banitem.BanUtils
Get the messages cooldown map
getMeta() - Method in class fr.andross.banitem.items.CustomBannedItem
Get the map of meta to compare
getMetaItemName(BannedItem) - Method in class fr.andross.banitem.BanItemAPI
Try to get the meta item name of the given item.
getMetaItemName(ItemStack) - Method in class fr.andross.banitem.BanItemAPI
Try to get the meta item name of the given item.
getMetaItems() - Method in class fr.andross.banitem.BanDatabase
Get the meta items map
getName() - Method in enum class fr.andross.banitem.actions.BanAction
 
getName() - Method in enum class fr.andross.banitem.actions.BanDataType
 
getName() - Method in class fr.andross.banitem.items.CustomBannedItem
Get the custom banned item name from customitems.yml
getName() - Method in interface fr.andross.banitem.items.ICustomName
 
getName() - Method in class fr.andross.banitem.items.MetaItem
Get the custom banned item name from customitems.yml
getName() - Method in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
 
getName(BannedItem) - Method in class fr.andross.banitem.BanDatabase
 
getNode() - Method in class fr.andross.banitem.utils.debug.DebugMessage
The the message for this node
getNodes() - Method in class fr.andross.banitem.utils.debug.Debug
List of nodes
getNoPermMessage() - Method in class fr.andross.banitem.commands.BanCommand
 
getObject() - Method in class fr.andross.banitem.actions.BanData
 
getObject() - Method in class fr.andross.banitem.items.meta.MetaTypeComparator
 
getObject(ListType, String) - Static method in class fr.andross.banitem.utils.list.Listable
This method will try to get an element for the given type
getOrCreateWhitelistedWorld(World, List<String>, List<BanAction>) - Method in class fr.andross.banitem.database.Whitelist
This method try to get an already existing whitelisted world, else create and put one.
getPluginData() - Method in class fr.andross.banitem.utils.metrics.Metrics
Gets the plugin specific data.
getPotionEffectType() - Method in class fr.andross.banitem.utils.potions.PotionWrapper
Get the PotionEffectType
getPotionEffectType(String) - Static method in class fr.andross.banitem.utils.potions.PotionHelper
Try to get a PotionEffectType object by the name
getPotionNames() - Static method in class fr.andross.banitem.utils.potions.PotionHelper
 
getPotionWrapper(String) - Static method in class fr.andross.banitem.utils.potions.PotionHelper
Try to get a PotionWrapper from a string which synthax must be 'potion:level'
getPrefix() - Method in class fr.andross.banitem.BanConfig
Gives the plugin prefix used in the config (already colored)
getPriority() - Method in class fr.andross.banitem.BanConfig
Get the ban actions which requires the highest priority
getRegionsList(BanItem, Object, Debug, Collection<World>) - Static method in class fr.andross.banitem.utils.list.Listable
Get a list of protected regions
getReversed() - Method in class fr.andross.banitem.utils.DoubleMap
Get the reversed map
getRun() - Method in class fr.andross.banitem.actions.BanActionData
Trying to get the commands run for this action
getSimpleDebug() - Method in class fr.andross.banitem.utils.debug.Debug
A simple message with the debug result
getSplittedList(String) - Static method in class fr.andross.banitem.utils.list.Listable
 
getSplittedList(List<String>) - Static method in class fr.andross.banitem.utils.list.Listable
 
getSplittedStringList(Object) - Static method in class fr.andross.banitem.utils.list.Listable
Try to get a prepared splited (,) list of string from an object
getStringList(Object) - Static method in class fr.andross.banitem.utils.list.Listable
Trying to get a listable string from an Object.
getTaskId() - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
Get the scanner Bukkit Task id, -1 if not running
getTotal() - Method in class fr.andross.banitem.database.Blacklist
 
getTotal() - Method in class fr.andross.banitem.database.items.Items
Get the total amount of items added
getTotal() - Method in class fr.andross.banitem.database.Whitelist
 
getType() - Method in class fr.andross.banitem.actions.BanData
 
getType() - Method in class fr.andross.banitem.events.PlayerBanItemEvent
Type of banning
getType() - Method in class fr.andross.banitem.items.BannedItem
 
getType() - Method in class fr.andross.banitem.utils.debug.DebugMessage
Get the type of node
getUtils() - Method in class fr.andross.banitem.BanItem
An utility class for the plugin
getWearScanner() - Method in class fr.andross.banitem.BanUtils
Get the WearScanner handler
getWhitelist() - Method in class fr.andross.banitem.BanDatabase
Get the whitelist map
getWhitelist() - Method in class fr.andross.banitem.BanItemAPI
 
getWorld() - Method in class fr.andross.banitem.database.WhitelistedWorld
 
getWorldGuardHook() - Method in class fr.andross.banitem.BanHooks
Get the worldguard hook
getWorlds(Object, Debug) - Static method in class fr.andross.banitem.utils.list.Listable
Trying to get a list of type If there is any error, this will be debugged
giveItemBack(Player, ItemStack) - Method in class fr.andross.banitem.BanUtils
Method to give an item back to the player, drop it if the inventory is full
GLIDE - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player try to use (activate) an elytra Special data: none

H

HANGINGPLACE - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player try to place a hanging item (itemframe, painting...) Special data: entity - the EntityType created by this hanging place
hashCode() - Method in class fr.andross.banitem.items.BannedItem
 
hashCode() - Method in class fr.andross.banitem.items.CustomBannedItem
 
hashCode() - Method in class fr.andross.banitem.utils.enchantments.EnchantmentWrapper
 
hashCode() - Method in class fr.andross.banitem.utils.potions.PotionWrapper
 
hasPermission(Player, String, BanAction, BanData...) - Method in class fr.andross.banitem.BanUtils
Method to check if the player has the bypass permission for either the item (material name) or custom name
header(String) - Method in class fr.andross.banitem.commands.BanCommand
Sending a header separator
HIGHER - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLevels.Comparator
 
HOLD - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player try to hold the item Special data: none
HORSE_JUMP_STRENGTH - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
 

I

ICustomName - Interface in fr.andross.banitem.items
This interface is used for MetaItem/CustomBannedItem to retreive their names
IllegalStackBlockType - Enum Class in fr.andross.banitem.utils.scanners.illegalstack
An enum for the block type of an illegal stacked item
IllegalStackItemConfig - Class in fr.andross.banitem.utils.scanners.illegalstack
A simple wrapper to store the amount and the block type of an illegal stack material
IllegalStackItemConfig(int, IllegalStackBlockType) - Constructor for class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackItemConfig
 
IllegalStackScanner - Class in fr.andross.banitem.utils.scanners.illegalstack
A simple async scanner to check if players has illegal stacks into their inventories
IllegalStackScanner(BanItem, BanUtils) - Constructor for class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
 
INTERACT - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player use right click on this item Special data: material - the Material in the player hand
INVENTORY - Enum constant in enum class fr.andross.banitem.utils.list.ListType
 
INVENTORY_FROM - Enum constant in enum class fr.andross.banitem.actions.BanDataType
Type: Set of InventoryType Used to check if the ban will applies if the source inventory is included into this set
INVENTORY_TO - Enum constant in enum class fr.andross.banitem.actions.BanDataType
Type: Set of InventoryType Used to check if the ban will applies if the destination inventory is included into this set
INVENTORYCLICK - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player try to click the item in its inventory Special data: inventory-from the InventoryType clicked
isAdvancedEnchantmentsEnabled() - Method in class fr.andross.banitem.BanHooks
Check if the plugin is hooked with AdvancedEnchantments
isBanned(Player, BannedItem, boolean, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the BannedItem object is banned, in both blacklist and whitelist.
isBanned(Player, BannedItem, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the BannedItem object is banned, in both blacklist and whitelist.
isBanned(Player, ItemStack, boolean, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the ItemStack is banned, in both blacklist and whitelist.
isBanned(Player, ItemStack, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the ItemStack is banned, in both blacklist and whitelist.
isBanned(Player, Location, BannedItem, boolean, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the BannedItem object is banned, in both blacklist and whitelist.
isBanned(Player, Location, BannedItem, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the BannedItem object is banned, in both blacklist and whitelist.
isBanned(Player, Location, ItemStack, boolean, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the ItemStack is banned, in both blacklist and whitelist.
isBanned(Player, Location, ItemStack, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the ItemStack is banned, in both blacklist and whitelist.
isBanned(Player, Location, Material, boolean, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the material is banned, in both blacklist and whitelist.
isBanned(Player, Location, Material, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the material is banned, in both blacklist and whitelist.
isBanned(Player, Material, boolean, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the material is banned, in both blacklist and whitelist.
isBanned(Player, Material, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the material is banned, in both blacklist and whitelist.
isBanned(World, BannedItem, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
This method is used to check if the item is banned, in both blacklist and whitelist, not involving a player This method is mainly used to check dispensers dispense and hoppers transfer
isBanned(World, ItemStack, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
This method is used to check if the item is banned, in both blacklist and whitelist, not involving a player This method is mainly used to check dispensers dispense and hoppers transfer
isBanned(World, Material, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
This method is used to check if the item is banned, in both blacklist and whitelist, not involving a player This method is mainly used to check dispensers dispense and hoppers transfer
isBlacklisted(Player, Location, BannedItem, boolean, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the item is blacklisted, sending a message or not to the player.
isBlacklisted(Player, Location, BannedItem, boolean, BanAction, BanData...) - Method in class fr.andross.banitem.database.Blacklist
Check if the action with the item is blacklisted for the player.
isBlacklisted(World, BannedItem, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the item is blacklisted, not involving a player
isBlacklisted(World, BannedItem, BanAction, BanData...) - Method in class fr.andross.banitem.database.Blacklist
This method is used to check if the item is banned, not involving a player This method is mainly used to check dispensers dispense and hoppers transfer
isCancelled() - Method in class fr.andross.banitem.events.DeleteBannedItemEvent
 
isCancelled() - Method in class fr.andross.banitem.events.PlayerBanItemEvent
 
isEnabled() - Method in class fr.andross.banitem.utils.metrics.Metrics
Checks if bStats is enabled.
isEnabled() - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
Check if the scanner is running
isEnabled() - Method in class fr.andross.banitem.utils.scanners.WearScanner
 
isEnabledInConfig() - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
Check if the scanner should be enabled (in config)
isNotNullOrEmpty(String) - Static method in class fr.andross.banitem.utils.Utils
Used to check if a String is not null nor empty
isNullOrAir(ItemStack) - Static method in class fr.andross.banitem.utils.Utils
Quick utils to check if the item is null or if its type is Material.AIR
isNullOrEmpty(Object[]) - Static method in class fr.andross.banitem.utils.Utils
Used to check if an array is null or empty.
isReverted() - Method in class fr.andross.banitem.items.CustomBannedItem
If the custom item match is reverted
isValid() - Method in class fr.andross.banitem.items.CustomBannedItem
If the custom item is correctly loaded
isValid() - Method in class fr.andross.banitem.items.meta.MetaTypeComparator
 
isVanillaMaxStackSize() - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
Check if the vanilla max stack size is enabled
isWhitelisted(Player, Location, BannedItem, boolean, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the item is whitelisted (allowed), sending a message or not to the player.
isWhitelisted(Player, Location, BannedItem, boolean, BanAction, BanData...) - Method in class fr.andross.banitem.database.Whitelist
Check if the item is whitelisted (allowed)
isWhitelisted(World, BannedItem, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
Check if the item is whitelisted, not involving a player
isWhitelisted(World, BannedItem, BanAction, BanData...) - Method in class fr.andross.banitem.database.Whitelist
This method is used to check if the item is whitelisted, not involving a player This method is mainly used to check dispensers dispense and hoppers transfer
isWorldGuardEnabled() - Method in class fr.andross.banitem.BanHooks
Check if the plugin is successfully hooked with WorldGuard
ITEM - Enum constant in enum class fr.andross.banitem.utils.list.ListType
 
items - Variable in class fr.andross.banitem.database.items.Items
 
Items - Class in fr.andross.banitem.database.items
Map that store all the banned items, with their actions and actions datas.
Items() - Constructor for class fr.andross.banitem.database.items.Items
 
ItemsAdder - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare ItemsAdder items
ItemsAdder(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.ItemsAdder
 
ITEMSADDER - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
ItemStackBuilder - Class in fr.andross.banitem.utils
A simple ItemStack builder utility class.
ItemStackBuilder(ConfigurationSection) - Constructor for class fr.andross.banitem.utils.ItemStackBuilder
 

L

Listable - Class in fr.andross.banitem.utils.list
A powerful listable class which will attempt to create List object from gived data.
Listable() - Constructor for class fr.andross.banitem.utils.list.Listable
 
ListType - Enum Class in fr.andross.banitem.utils.list
List of elements that can be listed
load(CommandSender) - Method in class fr.andross.banitem.BanListener
(re)Loading the listeners needed for blacklist and whitelist
load(CommandSender, BanConfig) - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
Load the configuration file and enable (if configured) the illegal stack scanner
load(CommandSender, File) - Method in class fr.andross.banitem.BanItem
(re)Loading the plugin with this configuration file.
load(CommandSender, File) - Method in class fr.andross.banitem.BanItemAPI
(re)Loading the plugin with this configuration file
LOG - Enum constant in enum class fr.andross.banitem.actions.BanDataType
Type: boolean Used to check if a log message will be sent to players with log activated
LORE_CONTAINS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
LORE_CONTAINS_REGEX - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
LORE_EQUALS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
LORE_LINE_CONTAINS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
LoreContains - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare the lore
LoreContains(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.LoreContains
 
LoreContainsRegex - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare the lore
LoreContainsRegex(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.LoreContainsRegex
 
LoreEquals - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare the lore
LoreEquals(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.LoreEquals
 
LoreLineContains - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare the lore
LoreLineContains(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.LoreLineContains
 
LOWER - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLevels.Comparator
 

M

matches(Double) - Method in class fr.andross.banitem.utils.attributes.AttributeLevels
Define if the param level match with the attribute levels
matches(ItemStack) - Method in class fr.andross.banitem.items.CustomBannedItem
Comparing the ItemMeta of the item with the item meta stored
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.AdvancedEnchantments
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.AttributeContains
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.DisplayNameContains
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.DisplayNameEquals
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.Durability
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.EnchantmentContains
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.EnchantmentEquals
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.ItemsAdder
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.LoreContains
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.LoreContainsRegex
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.LoreEquals
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.LoreLineContains
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.MetaTypeComparator
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.ModeldataEquals
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.NBTAPI
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.Potion
 
matches(ItemStack, ItemMeta) - Method in class fr.andross.banitem.items.meta.Unbreakable
 
MATERIAL - Enum constant in enum class fr.andross.banitem.actions.BanDataType
Type: Set of Material Used to check if the ban will applies if a material is in the set
MATERIAL - Enum constant in enum class fr.andross.banitem.utils.list.ListType
 
MENDING - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player has an item repaired via the mending enchantment Special data: none
message(String) - Method in class fr.andross.banitem.commands.BanCommand
Send a (colored) message to the sender
MESSAGE - Enum constant in enum class fr.andross.banitem.actions.BanDataType
Type: List of (already colored) String Used to get the ban message(s)
MetaItem - Class in fr.andross.banitem.items
An item wrapper for meta items
MetaItem(String, ItemStack) - Constructor for class fr.andross.banitem.items.MetaItem
 
MetaItems - Class in fr.andross.banitem.database.items
Map that contains all the meta items This is a double map (include a reversed map), for easier access of meta items names and their respective banned item.
MetaItems(BanItem, CommandSender) - Constructor for class fr.andross.banitem.database.items.MetaItems
This will create a new instance of meta items map, with the items from metaitems.yml file.
MetaType - Enum Class in fr.andross.banitem.items.meta
A simple enumeration for customizable item metas
METATYPE - Enum constant in enum class fr.andross.banitem.utils.list.ListType
 
MetaTypeComparator - Class in fr.andross.banitem.items.meta
An abstract meta type comparator
MetaTypeComparator(Object) - Constructor for class fr.andross.banitem.items.meta.MetaTypeComparator
 
Metrics - Class in fr.andross.banitem.utils.metrics
bStats collects some data for plugin authors.
Metrics(Plugin, int) - Constructor for class fr.andross.banitem.utils.metrics.Metrics
Class constructor.
Metrics.AdvancedBarChart - Class in fr.andross.banitem.utils.metrics
Represents a custom advanced bar chart.
Metrics.AdvancedPie - Class in fr.andross.banitem.utils.metrics
Represents a custom advanced pie.
Metrics.CustomChart - Class in fr.andross.banitem.utils.metrics
Represents a custom chart.
Metrics.DrilldownPie - Class in fr.andross.banitem.utils.metrics
Represents a custom drilldown pie.
Metrics.MultiLineChart - Class in fr.andross.banitem.utils.metrics
Represents a custom multi line chart.
Metrics.SimpleBarChart - Class in fr.andross.banitem.utils.metrics
Represents a custom simple bar chart.
Metrics.SimplePie - Class in fr.andross.banitem.utils.metrics
Represents a custom simple pie.
Metrics.SingleLineChart - Class in fr.andross.banitem.utils.metrics
Represents a custom single line chart.
MODELDATA_EQUALS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
ModeldataEquals - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare the model data
ModeldataEquals(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.ModeldataEquals
 
MultiLineChart(String, Callable<Map<String, Integer>>) - Constructor for class fr.andross.banitem.utils.metrics.Metrics.MultiLineChart
Class constructor.

N

NBTAPI - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare NBT
NBTAPI - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
NBTAPI(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.NBTAPI
 
newList(T...) - Static method in class fr.andross.banitem.utils.list.Listable
This will create a new (mutable) list from an array

O

onCommand(CommandSender, Command, String, String[]) - Method in class fr.andross.banitem.BanItem
 
onEnable() - Method in class fr.andross.banitem.BanItem
 
onTabComplete(CommandSender, Command, String, String[]) - Method in class fr.andross.banitem.BanItem
 

P

PERMISSION - Enum constant in enum class fr.andross.banitem.actions.BanDataType
Type: String Used to get a custom permission for an action
PICKUP - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player try to pickup an item Special data: none
pl - Variable in class fr.andross.banitem.commands.BanCommand
 
PLACE - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player try to place a block Special data: none
PlayerBanItemEvent - Class in fr.andross.banitem.events
Called when an item should be banned This is only for check purpose, no modifications can be made.
PlayerBanItemEvent(Player, PlayerBanItemEvent.Type, BannedItem, BanAction, BanActionData, BanData...) - Constructor for class fr.andross.banitem.events.PlayerBanItemEvent
 
PlayerBanItemEvent.Type - Enum Class in fr.andross.banitem.events
The ban type
PlayerRegionChangeEvent - Class in fr.andross.banitem.events
Called if the wear region check action is enabled.
PlayerRegionChangeEvent(Player) - Constructor for class fr.andross.banitem.events.PlayerRegionChangeEvent
 
Potion - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare potions
Potion(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.Potion
 
POTION - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
PotionHelper - Class in fr.andross.banitem.utils.potions
A potion helper class to retrieve correct Bukkit PotionEffectType object across versions
PotionHelper() - Constructor for class fr.andross.banitem.utils.potions.PotionHelper
 
PotionWrapper - Class in fr.andross.banitem.utils.potions
A potion wrapper class that stores the Bukkit potion type with the level
PotionWrapper(PotionEffectType, int) - Constructor for class fr.andross.banitem.utils.potions.PotionWrapper
 
put(K, V) - Method in class fr.andross.banitem.utils.DoubleMap
Adding in both maps

R

ReflectionUtils - Class in fr.andross.banitem.utils.attributes
Package utils that use the reflection api of java
ReflectionUtils() - Constructor for class fr.andross.banitem.utils.attributes.ReflectionUtils
 
REGION - Enum constant in enum class fr.andross.banitem.actions.BanDataType
Type: Set of ProtectedRegion Used to check if the ban applies into the region
REGION - Enum constant in enum class fr.andross.banitem.utils.list.ListType
 
remove(Object) - Method in class fr.andross.banitem.utils.DoubleMap
Remove the key from both maps
removeFromBlacklist(BannedItem, World...) - Method in class fr.andross.banitem.BanItemAPI
Remove the banned item from blacklisted worlds and save the config file used.
removeFromBlacklist(Collection<? extends BannedItem>, World...) - Method in class fr.andross.banitem.BanItemAPI
 
removeFromWhitelist(WhitelistedWorld, BannedItem) - Method in class fr.andross.banitem.BanItemAPI
Remove the item from the whitelist and save in config.yml (comments in file may be removed)
removeMetaItem(String) - Method in class fr.andross.banitem.BanDatabase
Try to remove the meta item with the said name.
removeMetaItem(String) - Method in class fr.andross.banitem.BanItemAPI
Remove the meta ItemStack named name
RENAME - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player try to rename an item, either with a command or with an anvil Special data: none
revertColor(String) - Static method in class fr.andross.banitem.utils.Chat
Convert all color codes back
run() - Method in class fr.andross.banitem.commands.BanCommand
Running a subcommand
run() - Method in class fr.andross.banitem.commands.Commandadd
 
run() - Method in class fr.andross.banitem.commands.Commandcheck
 
run() - Method in class fr.andross.banitem.commands.Commandhelp
 
run() - Method in class fr.andross.banitem.commands.Commandinfo
 
run() - Method in class fr.andross.banitem.commands.Commandload
 
run() - Method in class fr.andross.banitem.commands.Commandlog
 
run() - Method in class fr.andross.banitem.commands.Commandmetaitem
 
run() - Method in class fr.andross.banitem.commands.Commandreload
 
run() - Method in class fr.andross.banitem.commands.Commandremove
 
RUN - Enum constant in enum class fr.andross.banitem.actions.BanDataType
Type: List of String Used to run commands when the banned action occurs
runAnimation(Player) - Method in class fr.andross.banitem.utils.BanAnimation
Running animation, if available
runTab() - Method in class fr.andross.banitem.commands.BanCommand
Running a subcommand tab
runTab() - Method in class fr.andross.banitem.commands.Commandadd
 
runTab() - Method in class fr.andross.banitem.commands.Commandcheck
 
runTab() - Method in class fr.andross.banitem.commands.Commandhelp
 
runTab() - Method in class fr.andross.banitem.commands.Commandinfo
 
runTab() - Method in class fr.andross.banitem.commands.Commandload
 
runTab() - Method in class fr.andross.banitem.commands.Commandlog
 
runTab() - Method in class fr.andross.banitem.commands.Commandmetaitem
 
runTab() - Method in class fr.andross.banitem.commands.Commandreload
 
runTab() - Method in class fr.andross.banitem.commands.Commandremove
 

S

saveConfig() - Method in class fr.andross.banitem.BanConfig
Save the current config into the file
sendDebug() - Method in class fr.andross.banitem.utils.debug.Debug
Send this debug message to the sender
sender - Variable in class fr.andross.banitem.commands.BanCommand
 
sendMessage(CommandSender, String) - Method in class fr.andross.banitem.BanUtils
Sending a prefixed and colored (if player) message to sender
sendMessage(Player, BanAction, List<String>) - Method in class fr.andross.banitem.BanUtils
This method is used to send a ban message to player, if exists.
sendMessage(Player, String, BanAction, BanActionData) - Method in class fr.andross.banitem.BanUtils
This method is used to send a ban message to player, if exists.
serialize() - Method in class fr.andross.banitem.actions.BanActionData
Serializing the data (to save them into config files)
serialize() - Method in class fr.andross.banitem.utils.BanAnimation
Serializing this ban animation object
serialize(Collection<Object>) - Method in class fr.andross.banitem.actions.BanActionData
This will serialize a collection of object.
setCancelled(boolean) - Method in class fr.andross.banitem.events.DeleteBannedItemEvent
 
setCancelled(boolean) - Method in class fr.andross.banitem.events.PlayerBanItemEvent
 
setDefaultBlockType(IllegalStackBlockType) - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
Set the default block type for items Setting the parameter to null is not recommended because it will keep the task running but will not block anything
setEnabled(boolean) - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
Enable or disable the scanner
setEnabled(boolean) - Method in class fr.andross.banitem.utils.scanners.WearScanner
 
setEnabledInConfig(boolean) - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
Set the variable.
setNodes(List<DebugMessage>) - Method in class fr.andross.banitem.utils.debug.Debug
Set all nodes
setValid(boolean) - Method in class fr.andross.banitem.items.meta.MetaTypeComparator
 
setVanillaMaxStackSize(boolean) - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
Set the vanilla max stack size state This does not edit the config file
SimpleBarChart(String, Callable<Map<String, Integer>>) - Constructor for class fr.andross.banitem.utils.metrics.Metrics.SimpleBarChart
Class constructor.
SimplePie(String, Callable<String>) - Constructor for class fr.andross.banitem.utils.metrics.Metrics.SimplePie
Class constructor.
SingleLineChart(String, Callable<Integer>) - Constructor for class fr.andross.banitem.utils.metrics.Metrics.SingleLineChart
Class constructor.
SMELT - Enum constant in enum class fr.andross.banitem.actions.BanAction
When an item is smelted into a furnace Special data: none
SMITH - Enum constant in enum class fr.andross.banitem.actions.BanAction
When the recipe of an item is completed inside a smithing table.
SPLIT - Enum constant in enum class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackBlockType
Split the item, give it back to the player until the correct max stack size is respected
SWAP - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player try to swap an item in hands.

T

toItemStack() - Method in class fr.andross.banitem.items.BannedItem
 
TRANSFER - Enum constant in enum class fr.andross.banitem.actions.BanAction
When an item is transfered from an inventory to another Special data: - inventory-from - the InventoryType where the item comes from - inventory-to - the InventoryType where the item goes to

U

Unbreakable - Class in fr.andross.banitem.items.meta
A simple meta comparator to compare unbreakable
Unbreakable(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.Unbreakable
 
UNBREAKABLE - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
 
uncolor(String) - Static method in class fr.andross.banitem.utils.Chat
Uncolor a string totally
UNFILL - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player unfill a bucket Special data: material - the Material fluid type
USE - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player use (right click) the item Special data: material - the Material clicked, if one clicked
Utils - Class in fr.andross.banitem.utils
Utility class
Utils() - Constructor for class fr.andross.banitem.utils.Utils
 

V

v11OrMore - Static variable in class fr.andross.banitem.utils.BanVersion
In 1.11+, ItemMeta#(set|is)Unbreakable has been added.
v12OrMore - Static variable in class fr.andross.banitem.utils.BanVersion
In 1.12+, the PlayerPickupItemEvent is now deprecated, and should use the EntityPickupItemEvent.
v13OrMore - Static variable in class fr.andross.banitem.utils.BanVersion
In 1.13+, MaterialData are totally removed from ItemStack, and the durability is part of ItemMeta.
v14OrMore - Static variable in class fr.andross.banitem.utils.BanVersion
In 1.14+, CustomModelData has been added.
v16OrMore - Static variable in class fr.andross.banitem.utils.BanVersion
In 1.16+, color codes now support HEX.
v8OrMore - Static variable in class fr.andross.banitem.utils.BanVersion
In 1.8+, armor stand event have been added.
v9OrMore - Static variable in class fr.andross.banitem.utils.BanVersion
In 1.9+, the off hand have been added.
valueFromName(String) - Static method in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
Retrieve an AttributeLegacy from its name
valueOf(String) - Static method in enum class fr.andross.banitem.actions.BanAction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class fr.andross.banitem.actions.BanDataType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class fr.andross.banitem.events.PlayerBanItemEvent.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class fr.andross.banitem.items.meta.MetaType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class fr.andross.banitem.utils.attributes.AttributeLevels.Comparator
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class fr.andross.banitem.utils.list.ListType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackBlockType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class fr.andross.banitem.actions.BanAction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class fr.andross.banitem.actions.BanDataType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class fr.andross.banitem.events.PlayerBanItemEvent.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class fr.andross.banitem.items.meta.MetaType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class fr.andross.banitem.utils.attributes.AttributeLevels.Comparator
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class fr.andross.banitem.utils.list.ListType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackBlockType
Returns an array containing the constants of this enum class, in the order they are declared.

W

WEAR - Enum constant in enum class fr.andross.banitem.actions.BanAction
When a player try to wear an item Special data: none
WearScanner - Class in fr.andross.banitem.utils.scanners
A simple async scanner to check if players wears a banned item
WearScanner(BanItem, BanUtils) - Constructor for class fr.andross.banitem.utils.scanners.WearScanner
 
Whitelist - Class in fr.andross.banitem.database
Map that contains whitelistedworlds
Whitelist(BanItem, BanDatabase, CommandSender, ConfigurationSection) - Constructor for class fr.andross.banitem.database.Whitelist
Constructor for a whitelist map
WHITELIST - Enum constant in enum class fr.andross.banitem.events.PlayerBanItemEvent.Type
 
WhitelistedWorld - Class in fr.andross.banitem.database
Map containing all allowed items of a world
WhitelistedWorld(World, List<String>, List<BanAction>) - Constructor for class fr.andross.banitem.database.WhitelistedWorld
This constructor should not be used like this (as it will not been stored into the Whitelist map) Use Whitelist.createNewWhitelistedWorld(World, List, List) instead.
WORLD - Enum constant in enum class fr.andross.banitem.utils.list.ListType
 

Z

ZOMBIE_SPAWN_REINFORCEMENTS - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
 
A B C D E F G H I L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form