Uses of Class
fr.andross.banitem.database.WhitelistedWorld
Packages that use WhitelistedWorld
-
Uses of WhitelistedWorld in fr.andross.banitem
Methods in fr.andross.banitem with parameters of type WhitelistedWorldModifier and TypeMethodDescriptionboolean
BanItemAPI.addToWhitelist
(@NotNull WhitelistedWorld whitelistedWorld, @NotNull BannedItem item, @NotNull Map<BanAction, BanActionData> actions) Add an item on the whitelist of a world and save in the used config.boolean
BanItemAPI.removeFromWhitelist
(@NotNull WhitelistedWorld whitelistedWorld, @NotNull 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
Methods in fr.andross.banitem.database that return WhitelistedWorldModifier and TypeMethodDescription@NotNull WhitelistedWorld
Whitelist.createNewWhitelistedWorld
(@NotNull org.bukkit.World world, @Nullable List<String> messages, @Nullable List<BanAction> ignored) This method will create a new whitelisted world, and add/replace it into the map.Whitelist.getOrCreateWhitelistedWorld
(@NotNull org.bukkit.World world, @Nullable List<String> messages, @Nullable List<BanAction> ignored) This method try to get an already existing whitelisted world, else create and put one.Methods in fr.andross.banitem.database with parameters of type WhitelistedWorldModifier and TypeMethodDescriptionvoid
Whitelist.addNewException
(@NotNull WhitelistedWorld ww, @NotNull BannedItem item, @NotNull Map<BanAction, BanActionData> actions) This will add a new exception (allowed item) into the WhitelistedWorld object.