publishActions

public static EnchantmentDefinitions.HostedCatalog publishActions(Plugin owner, EnchantmentCatalog catalog, Set<String> capabilities, Set<ScriptHook> queryHooks, Set<ScriptHook> actionHooks, EnchantmentProviders.Handler domainHandler)

Numeric and timed hooks share one catalog, revision, and provider lifetime.