Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACTION - Enum constant in enum class fr.andross.banitem.utils.list.ListType
-
Represents a banned action.
- ACTIONDATA - Enum constant in enum class fr.andross.banitem.utils.list.ListType
-
Represents additional information about an action (specificities).
- add(DebugMessage...) - Method in class fr.andross.banitem.utils.debug.Debug
-
Add a debug node.
- add(ListType, String) - Method in class fr.andross.banitem.utils.debug.Debug
-
Add a debug node.
- add(String) - Method in class fr.andross.banitem.utils.debug.Debug
-
Add a debug node.
- addCustomChart(Metrics.CustomChart) - Method in class fr.andross.banitem.utils.metrics.Metrics
-
Adds a custom chart.
- addIllegalStackItem(World, Material, IllegalStackItemConfig) - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
-
Add an illegal stack item configuration in memory to be checked.
- 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
-
Prepare the configured property to be compared with an item.
- ADVANCEDENCHANTMENTS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
Match specific AdvancedEnchantments plugin enchantments.
- 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
-
Arguments used by the command sender into the command.
- ARMORSTANDPLACE - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When the player try to place the item on an armorstand.
- ARMORSTANDTAKE - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When the player try to take an item from an armorstand.
- 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.
- ATTRIBUTE - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
Match the item attribute.
- 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
-
Prepare the configured property to be compared with an item.
- 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
-
Instantiate an attribute which should match the specific level using the specified comparator.
- AttributeLevels(Double, Double) - Constructor for class fr.andross.banitem.utils.attributes.AttributeLevels
-
Instantiate an attribute with a comparator between the minLevel and maxLevel.
- 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
-
The version of this bStats class.
- 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
-
Instantiation of the ban action data.
- 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
-
Create a BanCommand object which handles in game BanItem commands.
- 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.
- BanData(BanDataType, Object) - Constructor for class fr.andross.banitem.actions.BanData
-
Constructor a BanData object, where the type represents the type of data and the object represents an instance of the type as described in its documentation
BanDataType
. - BanDatabase - Class in fr.andross.banitem
-
Class that contains all the maps.
- BanDataType - Enum Class in fr.andross.banitem.actions
-
A simple enumeration 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
-
Default constructor
- BanItemAPI - Class in fr.andross.banitem
-
BanItemAPI
- BanListener - Class in fr.andross.banitem
-
This class is used to register the required 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(Material) - Constructor for class fr.andross.banitem.items.BannedItem
-
Create a banned item without metadata.
- BannedItem(ItemStack) - Constructor for class fr.andross.banitem.items.BannedItem
-
Create a banned item including the ItemMeta of the item.
- BanUtils - Class in fr.andross.banitem
-
Utility class for the plugin.
- BETWEEN - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLevels.Comparator
-
If the attribute is between specific values.
- 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
-
The item is on blacklist.
- BOOKEDIT - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When the player edits or signs a book and quill item.
- BREAK - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When the player try to break (left click on) a block.
- BREW - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When an item is brewed into a brewer.
- 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.
- checkForUpdate() - Method in class fr.andross.banitem.BanUtils
-
Send a message if an update is available.
- 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.
- 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
-
Constructor of the /banitem add command.
- Commandcheck - Class in fr.andross.banitem.commands
-
Sub command check.
- Commandcheck(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandcheck
-
Constructor of the /banitem check command.
- Commandhelp - Class in fr.andross.banitem.commands
-
Sub command help.
- Commandhelp(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandhelp
-
Constructor of the /banitem help command.
- Commandinfo - Class in fr.andross.banitem.commands
-
Sub command info.
- Commandinfo(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandinfo
-
Constructor of the /banitem info command.
- Commandload - Class in fr.andross.banitem.commands
-
Sub command load.
- Commandload(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandload
-
Constructor of the /banitem load command.
- Commandlog - Class in fr.andross.banitem.commands
-
Sub command log.
- Commandlog(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandlog
-
Constructor of the /banitem log command.
- Commandmetaitem - Class in fr.andross.banitem.commands
-
Sub command meta item.
- Commandmetaitem(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandmetaitem
-
Constructor of the /banitem metaitem command.
- Commandreload - Class in fr.andross.banitem.commands
-
Sub command reload.
- Commandreload(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandreload
-
Constructor of the /banitem reload command.
- Commandremove - Class in fr.andross.banitem.commands
-
Sub command remove.
- Commandremove(BanItem, CommandSender, String[]) - Constructor for class fr.andross.banitem.commands.Commandremove
-
Constructor of the /banitem remove command.
- configurationProperties - Variable in class fr.andross.banitem.items.meta.MetaTypeComparator
- CONSUME - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When the player consume an item (food).
- contains(BanData) - Method in class fr.andross.banitem.actions.BanActionData
-
Check if a data is present in this ban action data.
- COOLDOWN - Enum constant in enum class fr.andross.banitem.actions.BanDataType
-
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).
- CRAFTER - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When the crafter item try to craft an item.
- 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
-
Represents a custom item, handled by BanItem, which will match specific meta types on the item.
- customItems - Variable in class fr.andross.banitem.database.items.Items
-
Items map, containing all custom 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
-
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.
- Debug(BanConfig, CommandSender, DebugMessage...) - Constructor for class fr.andross.banitem.utils.debug.Debug
-
Creating debug object, which will contains the debug messages.
- 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
-
Creating a DebugMessage object with a first debug message node and its type.
- DebugMessage(String) - Constructor for class fr.andross.banitem.utils.debug.DebugMessage
-
Creating a DebugMessage object with a first debug message node.
- 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.
- 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
-
Event triggered when an item will be deleted by BanItem because it is banned.
- deleteItemFromInventoryView(Player) - Method in class fr.andross.banitem.BanUtils
-
Method to check and delete banned item from the player opened inventory.
- DELETEMORE - Enum constant in enum class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackBlockType
-
Delete only what's 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.
- DISPLAYNAME_CONTAINS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
If the display name of the item contains a specific value.
- DISPLAYNAME_EQUALS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
If the display name of the item is exactly equals to a specific value.
- DISPLAYNAME_EQUALS_REGEX - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
If the display name of the item match a specific regex.
- 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
-
Prepare the configured property to be compared with an item.
- 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
-
Prepare the configured property to be compared with an item.
- DisplayNameEqualsRegex - Class in fr.andross.banitem.items.meta
-
A simple meta comparator to compare the display name with regex.
- DisplayNameEqualsRegex(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.DisplayNameEqualsRegex
-
Prepare the configured property to be compared with an item.
- doesConditionMatch(Player) - Method in class fr.andross.banitem.utils.PlaceholderApiCondition
-
Check if the current placeholder value for the player match the configured expected value.
- 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
-
Creates a new DoubleMap with default settings.
- 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.
- 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.
- 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
-
Prepare the configured property to be compared with an item.
- DURABILITY - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
If the durability of the item match a specific value.
E
- ENCHANT - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When a player enchants the item.
- ENCHANTMENT - Enum constant in enum class fr.andross.banitem.actions.BanDataType
-
Used to check if the enchantments are banned on an item.
- ENCHANTMENT - Enum constant in enum class fr.andross.banitem.utils.list.ListType
-
Represents a Minecraft enchantment.
- ENCHANTMENT_CONTAINS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
If the item contains specific enchantment(s).
- ENCHANTMENT_EQUALS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
If the item enchantments match exactly the specified enchantment(s).
- 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
-
Prepare the configured property to be compared with an item.
- 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
-
Prepare the configured property to be compared with an item.
- EnchantmentHelper - Class in fr.andross.banitem.utils.enchantments
-
An enchantment helper class to retrieve correct Minecraft enchantments object across versions.
- 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
-
Wrap a minecraft enchantment with its level, so it can easily be compared depending on the Minecraft version used.
- ENTITY - Enum constant in enum class fr.andross.banitem.actions.BanDataType
-
Used to check if the ban will apply on this entity.
- ENTITY - Enum constant in enum class fr.andross.banitem.utils.list.ListType
-
Represents a Minecraft entity.
- ENTITYDROP - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When an entity dies and drop the item.
- ENTITYINTERACT - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When a player right-click on an 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
-
If the attribute is equal to a specific value.
F
- FILL - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When a player try to fill an item (like a bucket).
- 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 enchantments.
- 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
-
Used to check if the ban applies on current player gamemode.
- GAMEMODE - Enum constant in enum class fr.andross.banitem.utils.list.ListType
-
Represents a Minecraft game mode.
- GENERIC_ARMOR - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
-
Represents the legacy generic armor attribute.
- GENERIC_ARMOR_TOUGHNESS - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
-
Represents the legacy armor toughness attribute.
- GENERIC_ATTACK_DAMAGE - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
-
Represents the legacy attack damage attribute.
- GENERIC_ATTACK_SPEED - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
-
Represents the legacy attack speed attribute.
- GENERIC_FLYING_SPEED - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
-
Represents the legacy flying speed attribute.
- GENERIC_FOLLOW_RANGE - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
-
Represents the legacy follow range attribute.
- GENERIC_KNOCKBACK_RESISTANCE - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
-
Represents the legacy knock back resistance attribute.
- GENERIC_LUCK - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
-
Represents the legacy luck attribute.
- GENERIC_MAX_HEALTH - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
-
Represents the legacy generic max health attribute.
- GENERIC_MOVEMENT_SPEED - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
-
Represents the legacy movement speed attribute.
- 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
-
The ban action.
- 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 registered.
- 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 enchantment wrappers (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 BanItem 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 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 custom/meta items, blacklist, and whitelist.
- 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 detailed debug message.
- getBlacklist() - Method in class fr.andross.banitem.BanDatabase
-
Get the blacklist map.
- getBlacklist() - Method in class fr.andross.banitem.BanItemAPI
-
Blacklist handler which contains all blacklisted items.
- getBlacklistActions() - Method in class fr.andross.banitem.BanDatabase
-
Getting an immutable set of used ban actions (
BanAction
). - 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
-
Missing internal bStats doc.
- getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.AdvancedPie
-
Missing internal bStats doc.
- getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.CustomChart
-
Missing internal bStats doc.
- getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.DrilldownPie
-
Missing internal bStats doc.
- getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.MultiLineChart
-
Missing internal bStats doc.
- getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.SimpleBarChart
-
Missing internal bStats doc.
- getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.SimplePie
-
Missing internal bStats doc.
- getChartData() - Method in class fr.andross.banitem.utils.metrics.Metrics.SingleLineChart
-
Missing internal bStats doc.
- 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
-
Represents the loaded configuration from "customitems.yml" file.
- getConfig() - Method in class fr.andross.banitem.database.items.MetaItems
-
The file configuration used to create this instance
- 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
-
Map containing players cooldowns time.
- 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 the configured custom item by its name.
- getCustomItems() - Method in class fr.andross.banitem.BanDatabase
-
Get the custom items map.
- getCustomItems() - Method in class fr.andross.banitem.BanItemAPI
-
CustomItems handler which contains all custom items.
- 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
-
Possible item data attached to the item.
- getData(BanDataType) - Method in class fr.andross.banitem.actions.BanActionData
-
Gets 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.
- getEnchantment() - Method in class fr.andross.banitem.utils.enchantments.EnchantmentWrapper
-
Get the Minecraft 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
-
Get the list of enchantments name based on the Minecraft version used.
- getEnchantmentWrapper(String) - Static method in class fr.andross.banitem.utils.enchantments.EnchantmentHelper
-
Try to get an
EnchantmentWrapper
from a string which syntax 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
-
Represents the file "customitems.yml".
- getFile() - Method in class fr.andross.banitem.database.items.MetaItems
-
The "metaitems.yml" file of the BanItem plugin.
- 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
-
Bukkit event handler list.
- getHandlerList() - Static method in class fr.andross.banitem.events.PlayerBanItemEvent
-
Bukkit event handler list.
- getHandlerList() - Static method in class fr.andross.banitem.events.PlayerRegionChangeEvent
-
Bukkit event handler list.
- getHandlers() - Method in class fr.andross.banitem.events.DeleteBannedItemEvent
-
Internal Bukkit event handler list.
- getHandlers() - Method in class fr.andross.banitem.events.PlayerBanItemEvent
-
Internal Bukkit event handler list.
- getHandlers() - Method in class fr.andross.banitem.events.PlayerRegionChangeEvent
-
Internal Bukkit event handler list.
- getHooks() - Method in class fr.andross.banitem.BanItem
-
Get the ban hooks.
- getIgnored() - Method in class fr.andross.banitem.database.WhitelistedWorld
-
Set of ignored actions, empty if none configured.
- 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
-
Possible item meta attached to the item.
- 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.
- getItemStack() - Method in class fr.andross.banitem.items.BannedItem
-
Possible item built for the item.
- 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.
- 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.
- 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
-
List of messages, empty if none configured.
- 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.
- getMetaItem(String) - Method in class fr.andross.banitem.BanItemAPI
-
Get the configured meta item by its name.
- 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
-
Name, to lower case, of this action.
- getName() - Method in enum class fr.andross.banitem.actions.BanDataType
-
Get the name of the ban data type.
- 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
-
Get the name of this item.
- getName() - Method in class fr.andross.banitem.items.MetaItem
-
Get the meta item name from metaitems.yml
- getName() - Method in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
-
Get the legacy name of the attribute.
- getName(BannedItem) - Method in class fr.andross.banitem.BanDatabase
-
Try to get the custom or meta item name of the item.
- getNode() - Method in class fr.andross.banitem.utils.debug.DebugMessage
-
The message for this node.
- getNodes() - Method in class fr.andross.banitem.utils.debug.Debug
-
List of debug nodes.
- getNoPermMessage() - Method in class fr.andross.banitem.commands.BanCommand
-
Get the "no-permission" message from config
- getObject() - Method in class fr.andross.banitem.actions.BanData
-
Object, which is an instance described by the
BanDataType
. - 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
-
Get the name of the potions.
- getPotionWrapper(String) - Static method in class fr.andross.banitem.utils.potions.PotionHelper
-
Try to get a
PotionWrapper
from a string which syntax 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 (WorldGuard).
- 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.
- getSplitStringList(Object) - Static method in class fr.andross.banitem.utils.list.Listable
-
Get a list of string based on each elements split with ',' character, based on the type of the object (string, list, array).
- getStringList(Object) - Static method in class fr.andross.banitem.utils.list.Listable
-
Trying to get a list of 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.
- getTotalAmountOfItems() - Method in class fr.andross.banitem.database.items.Items
-
Get the total amount of items added.
- getTotalBlacklistedItems() - Method in class fr.andross.banitem.database.Blacklist
-
Total amount of banned items in all worlds.
- getTotalWhitelistedItems() - Method in class fr.andross.banitem.database.Whitelist
-
The total amount of items allowed, in all worlds.
- getType() - Method in class fr.andross.banitem.actions.BanData
-
Ban data type.
- getType() - Method in class fr.andross.banitem.events.PlayerBanItemEvent
-
Type of banning.
- getType() - Method in class fr.andross.banitem.items.BannedItem
-
Material type of the item.
- getType() - Method in class fr.andross.banitem.utils.debug.DebugMessage
-
Get the type of node.
- getUtils() - Method in class fr.andross.banitem.BanItem
-
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
-
Whitelist handler which contains all whitelisted items.
- getWorld() - Method in class fr.andross.banitem.database.WhitelistedWorld
-
The bukkit world.
- 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.
- 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.
H
- HANGINGPLACE - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When a player try to place a hanging item (itemframe, painting...).
- 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.
- HIGHER - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLevels.Comparator
-
If the attribute is above a specific value.
- HOLD - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When a player try to hold the item.
- HORSE_JUMP_STRENGTH - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
-
Represents the legacy horse jump strength attribute.
I
- ICustomName - Interface in fr.andross.banitem.items
-
This interface is used for MetaItem/CustomBannedItem to retrieve their names
- IllegalStackBlockType - Enum Class in fr.andross.banitem.utils.scanners.illegalstack
-
An enum for the block type of illegal stacked item.
- IllegalStackItemConfig - Class in fr.andross.banitem.utils.scanners.illegalstack
-
A simple wrapper to store the amount and the block type of illegal stack material.
- IllegalStackItemConfig(int, IllegalStackBlockType) - Constructor for class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackItemConfig
-
Configuration of an illegal stack item.
- IllegalStackScanner - Class in fr.andross.banitem.utils.scanners.illegalstack
-
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
-
Prepare the illegal stack scanner.
- INTERACT - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When a player use right-click on this item.
- INVENTORY - Enum constant in enum class fr.andross.banitem.utils.list.ListType
-
Represents a Minecraft inventory type.
- INVENTORY_FROM - Enum constant in enum class fr.andross.banitem.actions.BanDataType
-
Used to check if the ban will apply if the source inventory is included into this set.
- INVENTORY_TO - Enum constant in enum class fr.andross.banitem.actions.BanDataType
-
Used to check if the ban will apply 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.
- isAdvancedEnchantmentsEnabled() - Method in class fr.andross.banitem.BanHooks
-
Check if the plugin is hooked with AdvancedEnchantments.
- 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.
- 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.
- 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.
- 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, 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(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, 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, 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, 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.
- 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.
- isBlacklisted(Player, Location, BannedItem, boolean, BanAction, BanData...) - Method in class fr.andross.banitem.BanItemAPI
-
Check if the item is blacklisted.
- 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.
- isCancelled() - Method in class fr.andross.banitem.events.DeleteBannedItemEvent
-
Check if the event is cancelled.
- isCancelled() - Method in class fr.andross.banitem.events.PlayerBanItemEvent
-
Check if the event is cancelled.
- 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
-
Check if the wear scanner is enabled.
- 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
-
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.
- isPlaceholderApiEnabled() - Method in class fr.andross.banitem.BanHooks
-
Check if the plugin is hooked with PlaceholderAPI.
- 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
-
If the instantiation and the load of the configured properties has been successfully.
- isVanillaMaxStackSize() - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
-
Check if the vanilla max stack size is enabled.
- 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.
- 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).
- 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
-
Represents a Minecraft item.
- items - Variable in class fr.andross.banitem.database.items.Items
-
Items map, containing all items.
- Items - Class in fr.andross.banitem.database.items
-
Map that store all the banned items, with their actions and actions data.
- Items() - Constructor for class fr.andross.banitem.database.items.Items
-
Constructor
- 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
-
Prepare the configured property to be compared with an item.
- ITEMSADDER - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
If the item match an ItemsAdder item.
- ItemStackBuilder - Class in fr.andross.banitem.utils
-
A simple ItemStack builder utility class.
- ItemStackBuilder(ConfigurationSection) - Constructor for class fr.andross.banitem.utils.ItemStackBuilder
-
Builder to create an ItemStack through configuration properties.
L
- Listable - Class in fr.andross.banitem.utils.list
-
A powerful listable class which will attempt to create List object from given data.
- 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
-
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
-
If the item lore contains a lore.
- LORE_CONTAINS_REGEX - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
If the item lore match a regex.
- LORE_EQUALS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
If the item lore is exactly the same as a specified one.
- LORE_LINE_CONTAINS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
If a line from an item lore contains a specific value.
- LoreContains - Class in fr.andross.banitem.items.meta
-
A simple meta comparator to check if the lore contains a lore.
- LoreContains(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.LoreContains
-
Prepare the configured property to be compared with an item.
- LoreContainsRegex - Class in fr.andross.banitem.items.meta
-
A simple meta comparator to check if the lore matches a specific regex.
- LoreContainsRegex(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.LoreContainsRegex
-
Prepare the configured property to be compared with an item.
- LoreEquals - Class in fr.andross.banitem.items.meta
-
A simple meta comparator to check if the lore is exactly equals to a specified lore.
- LoreEquals(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.LoreEquals
-
Prepare the configured property to be compared with an item.
- LoreLineContains - Class in fr.andross.banitem.items.meta
-
A simple meta comparator to check if the line inside a lore matches a configured string.
- LoreLineContains(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.LoreLineContains
-
Prepare the configured property to be compared with an item.
- LOWER - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLevels.Comparator
-
If the attribute is below a specific value.
M
- matches(BannedItem) - Method in class fr.andross.banitem.items.CustomBannedItem
-
Comparing the ItemMeta of the item with the item meta stored.
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.AdvancedEnchantments
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.AttributeContains
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.DisplayNameContains
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.DisplayNameEquals
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.DisplayNameEqualsRegex
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.Durability
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.EnchantmentContains
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.EnchantmentEquals
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.ItemsAdder
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.LoreContains
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.LoreContainsRegex
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.LoreEquals
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.LoreLineContains
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.MetaTypeComparator
-
Check if the meta type configured matches on the item involved.
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.ModeldataEquals
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.NBTAPI
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.Potion
- matches(BannedItem) - Method in class fr.andross.banitem.items.meta.Unbreakable
- matches(Double) - Method in class fr.andross.banitem.utils.attributes.AttributeLevels
-
Define if the param level match with the attribute levels.
- MATERIAL - Enum constant in enum class fr.andross.banitem.actions.BanDataType
-
Used to check if the ban will apply if a material is in the set.
- MATERIAL - Enum constant in enum class fr.andross.banitem.utils.list.ListType
-
Represents a Minecraft item material.
- MENDING - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When a player has an item repaired via the mending enchantment.
- MESSAGE - Enum constant in enum class fr.andross.banitem.actions.BanDataType
-
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
-
Constructor of a meta item, which represents a Bukkit ItemStack with a custom name.
- MetaItems - Class in fr.andross.banitem.database.items
-
Map that contains all the meta items.
- 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
-
Represents a BanItem custom item meta.
- MetaTypeComparator - Class in fr.andross.banitem.items.meta
-
An abstract meta type comparator.
- MetaTypeComparator(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.MetaTypeComparator
-
Represents a meta type which can be used to be compared with an item.
- 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.
- MinecraftVersion - Class in fr.andross.banitem.utils
-
Class that contains some notable versions, so the plugin can handle multiple versions.
- MODELDATA_EQUALS - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
If the item model data is equals to a specified value.
- 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
-
Prepare the configured property to be compared with an item.
- 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
-
If the NBT tags (using NBTAPI) matches on the item.
- NBTAPI(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.NBTAPI
-
Prepare the configured property to be compared with an item.
- 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
-
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 pick up an item.
- PLACE - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When a player try to place a block.
- PLACEHOLDERAPI_CONDITION - Enum constant in enum class fr.andross.banitem.actions.BanDataType
-
Used to check if a specific placeholderapi condition if required for the action.
- PlaceholderApiCondition - Class in fr.andross.banitem.utils
-
A PlaceholderAPI condition handler class, linked to
BanActionData
, in order to apply a ban on an item only if the Placeholder API value match a configured value. - PlaceholderApiCondition(String) - Constructor for class fr.andross.banitem.utils.PlaceholderApiCondition
-
Prepare a PlaceholderAPI condition check.
- PlayerBanItemEvent - Class in fr.andross.banitem.events
-
Called when an item should be banned.
- PlayerBanItemEvent(Player, PlayerBanItemEvent.Type, BannedItem, BanAction, BanActionData, BanData...) - Constructor for class fr.andross.banitem.events.PlayerBanItemEvent
-
Construct the event with all information about the occurring banning process.
- 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
-
Create the event with the involved player.
- plugin - Variable in class fr.andross.banitem.commands.BanCommand
-
BanItem plugin instance.
- 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
-
Prepare the configured property to be compared with an item.
- POTION - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
If the item is a specific potion.
- PotionHelper - Class in fr.andross.banitem.utils.potions
-
A potion helper class to retrieve correct Bukkit PotionEffectType object across versions.
- 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
-
Wrap a minecraft potion with its level, so it can easily be compared depending on the Minecraft version used.
- 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.
- REGION - Enum constant in enum class fr.andross.banitem.actions.BanDataType
-
Used to check if the ban applies into the region.
- REGION - Enum constant in enum class fr.andross.banitem.utils.list.ListType
-
Represents a WorldGuard protected region.
- 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
-
Remove the banned items from blacklisted worlds and save the config file used.
- 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.
- revertColor(String) - Static method in class fr.andross.banitem.utils.Chat
-
Revert the
Chat.color(String)
method. - run() - Method in class fr.andross.banitem.commands.BanCommand
-
Running a subcommand.
- run() - Method in class fr.andross.banitem.commands.Commandadd
-
Run the command.
- run() - Method in class fr.andross.banitem.commands.Commandcheck
-
Run the command.
- run() - Method in class fr.andross.banitem.commands.Commandhelp
-
Run the command.
- run() - Method in class fr.andross.banitem.commands.Commandinfo
-
Run the command.
- run() - Method in class fr.andross.banitem.commands.Commandload
-
Run the command.
- run() - Method in class fr.andross.banitem.commands.Commandlog
-
Run the command.
- run() - Method in class fr.andross.banitem.commands.Commandmetaitem
-
Run the command.
- run() - Method in class fr.andross.banitem.commands.Commandreload
-
Run the command.
- run() - Method in class fr.andross.banitem.commands.Commandremove
-
Run the command.
- RUN - Enum constant in enum class fr.andross.banitem.actions.BanDataType
-
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
-
Run the tab completion of the command.
- runTab() - Method in class fr.andross.banitem.commands.Commandcheck
-
Run the tab completion of the command.
- runTab() - Method in class fr.andross.banitem.commands.Commandhelp
-
Run the tab completion of the command.
- runTab() - Method in class fr.andross.banitem.commands.Commandinfo
-
Run the tab completion of the command.
- runTab() - Method in class fr.andross.banitem.commands.Commandload
-
Run the tab completion of the command.
- runTab() - Method in class fr.andross.banitem.commands.Commandlog
-
Run the tab completion of the command.
- runTab() - Method in class fr.andross.banitem.commands.Commandmetaitem
-
Run the tab completion of the command.
- runTab() - Method in class fr.andross.banitem.commands.Commandreload
-
Run the tab completion of the command.
- runTab() - Method in class fr.andross.banitem.commands.Commandremove
-
Run the tab completion of the command.
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
-
Command sender.
- sendHeaderMessage(String) - Method in class fr.andross.banitem.commands.BanCommand
-
Sending a header separator.
- sendMessage(String) - Method in class fr.andross.banitem.commands.BanCommand
-
Send a (colored) message to the sender.
- 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
-
Sending the configured ban message to the player.
- sendMessage(Player, String, BanAction, BanActionData) - Method in class fr.andross.banitem.BanUtils
-
This method is used to send a ban message to player, if configured.
- 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
-
Cancel the event.
- setCancelled(boolean) - Method in class fr.andross.banitem.events.PlayerBanItemEvent
-
Cancel the event.
- setDefaultBlockType(IllegalStackBlockType) - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
-
Set the default block type for items.
- 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
-
Set if the wear scanner is enabled.
- 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 debug nodes.
- setValid(boolean) - Method in class fr.andross.banitem.items.meta.MetaTypeComparator
-
Change the state of validation of this meta type comparator.
- setVanillaMaxStackSize(boolean) - Method in class fr.andross.banitem.utils.scanners.illegalstack.IllegalStackScanner
-
Set the vanilla max stack size state.
- 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.
- 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
- splitToList(String) - Static method in class fr.andross.banitem.utils.list.Listable
-
Split a string into a list of string, based on ',' character.
- splitToList(List<String>) - Static method in class fr.andross.banitem.utils.list.Listable
-
Split each element in the list into a list of string, based on ',' character.
- stripColors(String) - Static method in class fr.andross.banitem.utils.Chat
-
Remove the color codes on a string.
- SWAP - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When a player try to swap an item in hands.
- SWEEPINGEDGE - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When a player attacks with an item which has sweeping edge enchantment.
T
- toItemStack() - Method in class fr.andross.banitem.items.BannedItem
-
Minecraft ItemStack representing the item.
- TRANSFER - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When an item is transfered from an inventory to another.
U
- Unbreakable - Class in fr.andross.banitem.items.meta
-
A simple meta comparator to check if the item is unbreakable.
- Unbreakable(Object, Debug) - Constructor for class fr.andross.banitem.items.meta.Unbreakable
-
Prepare the configured property to be compared with an item.
- UNBREAKABLE - Enum constant in enum class fr.andross.banitem.items.meta.MetaType
-
If the item is unbreakable.
- UNFILL - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When a player unfill a bucket.
- USE - Enum constant in enum class fr.andross.banitem.actions.BanAction
-
When a player use (right click) the item.
- Utils - Class in fr.andross.banitem.utils
-
Utility class.
V
- v11OrMore - Static variable in class fr.andross.banitem.utils.MinecraftVersion
-
In 1.11+, ItemMeta#(set|is)Unbreakable has been added.
- v12OrMore - Static variable in class fr.andross.banitem.utils.MinecraftVersion
-
In 1.12+, the PlayerPickupItemEvent is now deprecated, and should use the EntityPickupItemEvent.
- v13OrMore - Static variable in class fr.andross.banitem.utils.MinecraftVersion
-
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.MinecraftVersion
-
In 1.14+, CustomModelData has been added.
- v16OrMore - Static variable in class fr.andross.banitem.utils.MinecraftVersion
-
In 1.16+, color codes now support HEX.
- v21OrMore - Static variable in class fr.andross.banitem.utils.MinecraftVersion
-
In 1.21+, Crafter item has been added.
- v8OrMore - Static variable in class fr.andross.banitem.utils.MinecraftVersion
-
In 1.8+, armor stand event have been added.
- v9OrMore - Static variable in class fr.andross.banitem.utils.MinecraftVersion
-
In 1.9+, the offhand 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.
- WearScanner - Class in fr.andross.banitem.utils.scanners
-
Async scanner to check if players wears a banned item.
- WearScanner(BanItem, BanUtils) - Constructor for class fr.andross.banitem.utils.scanners.WearScanner
-
Prepare wear scanner.
- Whitelist - Class in fr.andross.banitem.database
-
Map that contains whitelisted worlds.
- 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
-
The item is not on whitelist.
- 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
-
Represents a Minecraft world.
Z
- ZOMBIE_SPAWN_REINFORCEMENTS - Enum constant in enum class fr.andross.banitem.utils.attributes.AttributeLegacy
-
Represents the legacy zombie spawn reinforcements attribute.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form