Plugin dependencies
Plugin dependencies
Maven (pom.xml)
org.spigotmc:spigot-api 1.19-R0.1-SNAPSHOT—provided(never bundle).mineverse.Aust1n46.chat:VentureChat 3.7.1—provided. Used byIntegrations.VentureChatHook.net.citizensnpcs:citizens-main 2.0.33-SNAPSHOT—provided(repohttps://repo.citizensnpcs.co/). Used by the Nanny NPC subsystem.junit 4.11—test.- VaultAPI is commented out in
pom.xml; not currently used.
plugin.yml softdepends
[PlaceholderAPI, VentureChat, Citizens]. The older softdepend: [Vault] line is commented out.
Runtime detection
Plugin.onEnablechecksgetServer().getPluginManager().getPlugin("VentureChat") != nulland stores the result inplugin.VentureChat(boolean).VentureChatHookis registered only when VentureChat is present.Hypno’sAsyncPlayerChatEventhandler short-circuits whenplugin.VentureChatis true (deduplication —VentureChatHook.onVentureChatdelegates toHypno.fireTriggers(message)instead). When VentureChat is absent,Hypnohandles chat itself.Plugin.onEnablechecksgetServer().getPluginManager().getPlugin("Citizens") != nulland stores the result inplugin.citizensEnabled(boolean). AllNannyEntitycalls intoCitizensAPIare guarded by this flag — when Citizens2 is absent the Nanny system silently no-ops and/nanny givereturns an error to the admin.- PlaceholderAPI is softdepended in
plugin.ymlbut there is no first-class hook class for it yet.