Uses of Class
fr.andross.banitem.database.WhitelistedWorld
-
Uses of WhitelistedWorld in fr.andross.banitem
Modifier and TypeMethodDescriptionboolean
BanItemAPI.addToWhitelist
(WhitelistedWorld ww, BannedItem item, Map<BanAction, BanActionData> actions) Add an item on the whitelist of a world and save in the used configboolean
BanItemAPI.removeFromWhitelist
(WhitelistedWorld ww, BannedItem item) Remove the item from the whitelist and save in config.yml (comments in file may be removed) -
Uses of WhitelistedWorld in fr.andross.banitem.database
Modifier and TypeMethodDescriptionWhitelist.createNewWhitelistedWorld
(org.bukkit.World world, List<String> messages, List<BanAction> ignored) This method will create a new whitelisted world, and add/replace it into the mapWhitelist.getOrCreateWhitelistedWorld
(org.bukkit.World world, List<String> messages, List<BanAction> ignored) This method try to get an already existing whitelisted world, else create and put one.Modifier and TypeMethodDescriptionvoid
Whitelist.addNewException
(WhitelistedWorld ww, BannedItem item, Map<BanAction, BanActionData> actions) This will add a new exception (allowed item) into the WhitelistedWorld object.