Understand the current algorithm

This commit is contained in:
Flowsqy 2022-04-18 23:19:50 +02:00
parent 45ac840505
commit 7e9a76fd40

View File

@ -0,0 +1,38 @@
flags : (Register)
- BentoBox : Create
- PlotSquared (Old, New) : Create, Use (Player, Admin)
- WorldGuard (v6, v7) : Create, Use (Player, Admin)
listeners:
- ASkyBlock : Create, Extend -> Check Owner or Members
- BentoBox : Create, Extend -> Check Flags
- GriefPrevention : Create, Extend -> Check Claim
- IslandWorld : Create, Extend -> Check build access at loc
- PlotSquared (Old, New) : Create, Extend -> Check flags | Plot clear, Plot Delete -> Remove shops
- Towny : Create, Extend -> Check Towny ranks & Config
- USkyBlock : Create, Extend -> Check Owner or Members
- WorldGuard (v6, v7) -> Create, Extend -> Check flags
listeners2:
- AreaShop : Remove shops
- BentoBox : Remove shops
- WorldGuard (v6, v7) : Cancel WG message if the shop is usable
Hooks:
- AuthMe : Interact (Check authenticated)
- PlotSquared (Old, New) : UseShop (Check Flags)
- WorldGuard (v6, v7) : UseShop (Check Flags)
External Manager :
Load:
- Load WorldGuard Flags
Enable:
- Load Towny, AuthMe, USkyBlock, ASkyBlock, IslandWorld, GriefPrevention, AreaShop, BentoBox
(Get their instances)
- Register WorldGuard events listeners
- Register PlotGuard flags
- Register BentoBox flags
- Register listeners2
- Register listeners