Class YouNeedMeAPI
java.lang.Object
fr.mathildeuh.youneedme.api.YouNeedMeAPI
Convenience static facade over every YouNeedMe service.
Every service is also independently registered on Bukkit's ServicesManager, which remains the canonical, mockable/replaceable way to
obtain them (exactly how Vault or LuckPerms expose themselves). This facade only saves the
boilerplate of looking each one up by hand; it never holds state of its own.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<AuctionHouseService> static Optional<EconomyService> economy()static Optional<HomeService> homes()static Optional<KitService> kits()static Optional<ModerationService> static Optional<NicknameService> static Optional<SchedulerAdapter> static Optional<ScoreboardService> static <T> Optional<T> Looks up a YouNeedMe service on the BukkitServicesManager.static Optional<ShopService> shop()static Optional<DataStorage> storage()static Optional<WarpService> warps()
-
Method Details
-
service
-
economy
-
homes
-
warps
-
kits
-
auctionHouse
-
shop
-
moderation
-
scoreboard
-
nicknames
-
storage
-
scheduler
-