VaultChatProvider
VaultChatProvider 是一个轻量级、独立的 Vault Chat provider(聊天提供器),适用于 Paper 服务器。
它为你的服务器提供了一种通过 Vault 管理 聊天前缀、后缀、用户组和玩家格式 的简单方式——无需为了处理聊天格式而依赖 LuckPerms 或其他大型权限插件。
简单。轻量。可配置。专为只需让 Vault Chat 正常工作的服务器打造。
✨ 功能
-
?️ 自定义前缀
- 为玩家设置自定义前缀,例如
Owner、Admin、Mod、VIP 或任何你想要的名称。
- 前缀可按用户组进行配置。
-
?️ 自定义后缀
- 为玩家或用户组添加后缀。
- 适用于标签、等级或其他服务器标识符。
-
? 用户组支持
- 直接通过插件配置文件定义用户组。
- 玩家可根据其分配的用户组获得相应的聊天格式。
-
? Vault 集成
- 提供一个标准的 Vault Chat provider,供其他插件使用。
- 兼容依赖 Vault 聊天 API 来获取前缀、后缀和用户组信息的插件。
-
⚡ 轻量级
- 专注于一件事并把它做好。
- 无多余功能,无重型依赖。
-
? 无需 LuckPerms
- 你不需要安装 LuckPerms 来提供 Vault Chat 信息。
- 非常适合已有自己权限或等级系统的服务器。
-
⚙️ 可配置
- 将你的等级和聊天设置保存在一个简单的配置文件中。
- 轻松自定义设置以适配你的服务器。
? 工作原理
当服务器启动时,VaultChatProvider 会将自己注册为一个 Vault Chat provider。
其他插件随后可以向 Vault 请求如下信息:
玩家 → Vault → VaultChatProvider → 前缀 / 后缀 / 用户组
例如,一个使用 Vault 的插件可能会请求某位玩家的前缀:
玩家: Kanezy
用户组: admin
前缀: &c[Admin]
VaultChatProvider 会向请求该信息的插件提供这些数据。
这使得它在希望使用 兼容 Vault 的插件 同时保持聊天/等级系统简洁的服务器上非常有用。
? 示例
配置一个用户组如下:
groups:
admin:
prefix: "&c[Admin] "
suffix: ""
属于 admin 组的玩家在聊天中可能显示为:
[Admin] Kanezy: Hello!
你可以创建自己的用户组和格式,以匹配服务器的风格。
? 依赖项
必需
非必需
- ❌ LuckPerms
- ❌ EssentialsX
- ❌ 任何其他权限插件
VaultChatProvider 设计为作为 独立的 Vault Chat provider 运行。
? 为什么使用 VaultChatProvider?
如果你的服务器已经有自己的等级或权限处理方式,你可能不想仅仅为了让 Vault Chat 工作就安装一个庞大的权限插件。
VaultChatProvider 填补了这一空白。
它为其他插件所需的 Vault Chat 功能提供支持,同时让你的服务器设置保持 简单、轻量且易于配置。
?️ 适用场景
VaultChatProvider 特别适用于:
- ? 小型生存服(SMP)
- ⚔️ PvP 服务器
- ? 生存服务器
- ? 私人/社区服务器
- ? 自定义插件架构
- ?️ 拥有自定义等级系统的服务器
- ? 希望实现轻量级 Vault Chat 的服务器
VaultChatProvider —— 简单的 Vault 聊天支持,无需额外开销。
VaultChatProvider
VaultChatProvider is a lightweight, standalone Vault Chat provider for Paper servers.
It gives your server a simple way to manage chat prefixes, suffixes, groups, and player formatting through Vault — without needing LuckPerms or another large permissions plugin just to handle chat formatting.
Simple. Lightweight. Configurable. Built for servers that just need Vault Chat to work.
✨ Features
-
?️ Custom Prefixes
- Give players custom prefixes such as
Owner, Admin, Mod, VIP, or anything you want.
- Prefixes can be configured per group.
-
?️ Custom Suffixes
- Add suffixes to players or groups.
- Useful for tags, ranks, or other server identifiers.
-
? Group Support
- Define groups directly through the plugin's configuration.
- Players can receive their chat formatting based on their assigned group.
-
? Vault Integration
- Provides a proper Vault Chat provider that other plugins can use.
- Works with plugins that rely on Vault's Chat API to retrieve prefixes, suffixes, and group information.
-
⚡ Lightweight
- Designed to do one thing and do it well.
- No unnecessary features or heavy dependencies.
-
? No LuckPerms Required
- You don't need LuckPerms just to provide Vault Chat information.
- Perfect for servers that already have their own permission or rank system.
-
⚙️ Configurable
- Keep your rank and chat settings in one simple configuration.
- Easily customize the setup to fit your server.
? How It Works
VaultChatProvider registers itself as a Vault Chat provider when your server starts.
Other plugins can then ask Vault for information such as:
Player → Vault → VaultChatProvider → Prefix / Suffix / Group
For example, a plugin using Vault may request a player's prefix:
Player: Kanezy
Group: admin
Prefix: &c[Admin]
VaultChatProvider supplies that information to the requesting plugin.
This makes it useful for servers where you want to use Vault-compatible plugins while keeping your chat/rank system simple.
? Example
With a group configured like:
groups:
admin:
prefix: "&c[Admin] "
suffix: ""
A player in the admin group could appear as:
[Admin] Kanezy: Hello!
You can create your own groups and formatting to match your server's style.
? Dependencies
Required
Not Required
- ❌ LuckPerms
- ❌ EssentialsX
- ❌ Any other permissions plugin
VaultChatProvider is designed to work as a standalone Vault Chat provider.
? Why Use VaultChatProvider?
If your server already has its own way of handling ranks or permissions, you may not want to install a large permissions plugin just to make Vault Chat work.
VaultChatProvider fills that gap.
It provides the Vault Chat functionality your other plugins need while keeping your server setup simple, lightweight, and easy to configure.
?️ Built For
VaultChatProvider is especially useful for:
- ? Small SMP servers
- ⚔️ PvP servers
- ? Survival servers
- ? Private/community servers
- ? Custom plugin setups
- ?️ Servers with custom rank systems
- ? Servers that want a lightweight Vault Chat implementation
VaultChatProvider — Simple Vault Chat, without the unnecessary overhead.
评论 0
登录后参与评分
还没有评论,来抢沙发吧