Uses of Class
fr.andross.banitem.actions.BanActionData
Packages that use BanActionData
Package
Description
-
Uses of BanActionData in fr.andross.banitem
Methods in fr.andross.banitem that return BanActionDataModifier and TypeMethodDescriptionBanUtils.getBanActionsForItem
(List<org.bukkit.World> worlds, org.bukkit.configuration.ConfigurationSection itemSection, String key, Debug d) Get ban actions data for a sectionMethods in fr.andross.banitem that return types with arguments of type BanActionDataModifier and TypeMethodDescriptionBanUtils.getBanActionsFromItemSection
(List<org.bukkit.World> worlds, org.bukkit.configuration.ConfigurationSection section, Debug d) Get a map of actions and actions data from a sectionMethods in fr.andross.banitem with parameters of type BanActionDataModifier and TypeMethodDescriptionvoid
BanUtils.sendMessage
(org.bukkit.entity.Player player, String itemName, BanAction action, BanActionData data) This method is used to send a ban message to player, if exists.Method parameters in fr.andross.banitem with type arguments of type BanActionDataModifier and TypeMethodDescriptionboolean
BanItemAPI.addToBlacklist
(BannedItem item, Map<BanAction, BanActionData> actions, org.bukkit.World... worlds) Add a new banned item to blacklist and save the config file used.boolean
BanItemAPI.addToBlacklist
(Collection<? extends BannedItem> items, Map<BanAction, BanActionData> actions, org.bukkit.World... worlds) Add the banned items to the blacklist and save the config file usedboolean
BanItemAPI.addToWhitelist
(WhitelistedWorld ww, BannedItem item, Map<BanAction, BanActionData> actions) Add an item on the whitelist of a world and save in the used config -
Uses of BanActionData in fr.andross.banitem.database
Methods in fr.andross.banitem.database that return BanActionDataModifier and TypeMethodDescriptionBlacklist.getBanData
(org.bukkit.World world, BannedItem item, BanAction action) Try to get the ban actions data for this item with this action.Methods in fr.andross.banitem.database that return types with arguments of type BanActionDataModifier and TypeMethodDescriptionBlacklist.getBanActions
(org.bukkit.World world, BannedItem item) Trying to get the ban actions with their respective ban actions data for this item in the said world.Method parameters in fr.andross.banitem.database with type arguments of type BanActionDataModifier and TypeMethodDescriptionvoid
Blacklist.addNewBan
(org.bukkit.World world, BannedItem item, Map<BanAction, BanActionData> map) This will add a new entry to the blacklist.void
WhitelistedWorld.addNewEntry
(BannedItem item, Map<BanAction, BanActionData> map) This will add a new entry to the whitelistvoid
Whitelist.addNewException
(WhitelistedWorld ww, BannedItem item, Map<BanAction, BanActionData> actions) This will add a new exception (allowed item) into the WhitelistedWorld object. -
Uses of BanActionData in fr.andross.banitem.database.items
Fields in fr.andross.banitem.database.items with type parameters of type BanActionDataModifier and TypeFieldDescriptionprotected final Map<CustomBannedItem,
Map<BanAction, BanActionData>> Items.customItems
protected final Map<BannedItem,
Map<BanAction, BanActionData>> Items.items
Methods in fr.andross.banitem.database.items that return BanActionDataModifier and TypeMethodDescriptionItems.get
(BannedItem bannedItem, BanAction action) Get the BanActionData of the BannedItem for the said action, if present.Methods in fr.andross.banitem.database.items that return types with arguments of type BanActionDataModifier and TypeMethodDescriptionItems.get
(BannedItem bannedItem) Get a map of actions and their respective data for a banned item object, if present.Items.getCustomItems()
Get the custom items mapItems.getItems()
Get the items map (include normal and meta items) -
Uses of BanActionData in fr.andross.banitem.events
Methods in fr.andross.banitem.events that return BanActionDataModifier and TypeMethodDescriptionPlayerBanItemEvent.getactionData()
Deprecated.Error in typo.PlayerBanItemEvent.getActionData()
The ban action dataConstructors in fr.andross.banitem.events with parameters of type BanActionDataModifierConstructorDescriptionPlayerBanItemEvent
(org.bukkit.entity.Player player, PlayerBanItemEvent.Type type, BannedItem bannedItem, BanAction action, BanActionData actionData, BanData... data)