Skip to content

Commit

Permalink
GITBOOK-305: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
HelpChat Wiki authored and gitbook-bot committed Apr 28, 2023
1 parent 3cc1220 commit e5f8699
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* [Placeholders](helpchat-plugins/chatchat/placeholders.md)
* [API](helpchat-plugins/chatchat/api/README.md)
* [Getting Started](helpchat-plugins/chatchat/api/getting-started.md)
* [ChatChatAPI](helpchat-plugins/chatchat/api/chatchatapi.md)
* [Events](helpchat-plugins/chatchat/api/events.md)
* [Files](helpchat-plugins/chatchat/files.md)

Expand Down
35 changes: 35 additions & 0 deletions helpchat-plugins/chatchat/api/chatchatapi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
description: The main way to interact with the plugin
---

# ChatChatAPI

{% hint style="info" %}
You can see more detailed documentation about each holder and manager in the JavaDocs.
{% endhint %}

The ChatChatAPI interface provides access to multiple Holders and Managers.

## UsersHolder

A way to get existent user instances, create new user instances, unload existent user instances and save existent user instances to file.

## HookManager

A way to load new Hooks into ChatChat or get any already loaded hooks.

## ChannelTypeRegistry

A way to add new Channel types to ChatChat.

## RuleManager

A way to add new Rules into ChatChat or get any already loaded rules.

## MentionManager

A way to add new Mention types to ChatChat or get any already loaded mention types.

## MiniPlaceholderManager

A way to register new MiniPlaceholders in ChatChat, get any already loaded mini placeholders or compile all the MiniPlaceholders into a [TagResolver](https://jd.advntr.dev/text-minimessage/4.13.1/net/kyori/adventure/text/minimessage/tag/resolver/TagResolver.html).

0 comments on commit e5f8699

Please sign in to comment.