Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@

</div>

> ⚠ **This plugin requires PlaceholderAPI and Vault to run!**
> ⚠ **This plugin requires Vault to run!**

## Preview:
![1](assets/gif/ChatFormatterHoverPlayerInfo.gif)
![2](assets/gif/ChatFormatterClickableMessage2.gif)

## Features:

- PlaceholderAPI Support
- [PlaceholderAPI](https://github.com/PlaceholderAPI/PlaceholderAPI) Support
- [MiniMessages Support](https://docs.adventure.kyori.net/minimessage/format.html) with Legacy Colors Support!
- Template System
- Custom Placeholders System
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ public ChatFormatterPlugin(Plugin plugin) {

this.placeholderRegistry = new PlaceholderRegistry();
this.placeholderRegistry.stack(pluginConfig);
this.placeholderRegistry.playerStack(new PlaceholderAPIStack());
if (server.getPluginManager().isPluginEnabled("PlaceholderAPI")) {
this.placeholderRegistry.playerStack(new PlaceholderAPIStack());
}
this.templateService = new TemplateService(pluginConfig);
this.rankProvider = new VaultRankProvider(server);
UpdaterService updaterService = new UpdaterService(plugin.getDescription());
Expand Down
3 changes: 2 additions & 1 deletion chatformatter-paper-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ bukkit {
prefix = "ChatFormatter"
author = "EternalCodeTeam"
name = "ChatFormatter"
depend = listOf("PlaceholderAPI", "Vault")
depend = listOf("Vault")
softDepend = listOf("PlaceholderAPI")
version = "${project.version}"

commands {
Expand Down