下载量已突破 3000!我彻底重写了它(再次),使其具有更高的可扩展性。它支持 MySQL、Redis 和 FlatFile(MongoDB 即将推出!)

BuildAPrefix
它是什么?
BuildAPrefix 是解决一个普遍问题的方案。大多数服务器上的聊天频道充斥着无聊的 [Member] 和 [Donor] 标签,足以让人喝杯咖啡才能入睡。BuildAPrefix 能做什么?它允许你的玩家(或捐赠者,两者都符合 EULA 合规性)设置自己的前缀。现在,我知道你在想什么,“我已经有一个这样的插件了。”请阅读功能列表,然后重新评估这个插件。
功能
- 所有主要功能的告示牌——没有那些眨眼就忘掉的无聊命令。
- 完整的格式支持——即 &a &b &1 &l &k 等。所有颜色均可通过权限使用。
- 它会告知玩家可以使用哪些颜色。
- 告示牌完全可配置。
- 支持 Redis、MySQL 和 FlatFile。(MongoDB 即将推出!)
- 可配置的最小和最大字符长度,以及可配置的格式。
- 简单的权限系统。
- 强大的配置,(在我看来)注释过多。
- 使用正则表达式 (RegEx) 的黑名单,防止有人成为管理员。请参阅配置文件以获取帮助和示例。
- 每条聊天消息均可配置。
- 哦,我提到过 BuildAPrefix 有多棒吗?
命令/权限
命令:
基本命令是 /bap(也可以是 /prefix 或 /buildaprefix)。
- /bap:启动前缀构建会话。
- /bap clear:清除你的前缀。
- /bap clear [player]:清除指定玩家的前缀。
- /bap version:获取当前版本。
权限:
- buildaprefix.prefix:允许玩家创建前缀。
- buildaprefix.colors.all:给予玩家所有颜色。功能类似于 * 字符,但运行速度稍快(通过停止循环)。
- buildaprefix.colors.[color-letter]:给予玩家指定的颜色。例如:buildaprefix.colors.a 给予玩家 &a。这也适用于格式化代码。
- buildaprefix.place-sign:允许玩家创建 BuildAPrefix 告示牌。
- buildaprefix.other:允许玩家清除他人的前缀。
- 即将推出(因为我忘了在 v3.0.0 中添加)buildaprefix.bypassblacklist
告示牌
“创建前缀”告示牌:
按以下方式制作:
- [Prefix]
- create
- “清除前缀”告示牌:
按以下方式制作:
- [Prefix]
- clear
就是这么简单!
待办事项
- 添加清除权限。
- 添加语言文件。
- 添加更多自定义选项(RegEx?)。
- 添加 API。某种程度上?我的意思是,我们几乎到了。
- 重新实现黑名单。更简单的方法。RegEx。
- 给配置文件添加注释。
- 实现指标统计。
请注意
- 此插件使用来自 MCStats 的统计跟踪。您可以通过 PluginMetrics 配置选择退出。
We've broken 3k downloads! I have completely rewritten it (again) to be much more extendible. It supports MySQL Redis, and FlatFile (Mongo coming soon!)

BuildAPrefix
What is it?
BuildAPrefix is the solution to a problem that is widespread. Chat on most servers is an endless sea of boring [Member] tags and [Donor] tags that would put a person on coffee to sleep. What does BuildAPrefix do? It allows your players (or donors, both are EULA complient) to set their own prefixes. Now, I know what you're thinking, "I already have a plugin like this." Read the list of features and then re-evaluate this plugin.
Features
- Signs for all main functions- no boring commands that you forget in the blink of an eye.
- Full formatting support- that's &a &b &1 &l &k etc. All colors are available via permissions.
- It informs players as to what colors they can use.
- Signs are fully configurable.
- Supports Redis, MySQL, and FlatFile. (MongoDB coming soon!)
- Configurable minimum and maximum character length, as well as a configurable format.
- Simple permissions.
- Powerful configuration that's (in my opinion overly) commented.
- Blacklist using Regular Expressions (RegEx) to keep people from being admins. See the config for help and examples.
- Every single chat message is configurable.
- Oh, did I mention how awesome BuildAPrefix is?
Commands/Permissions
Commands:
The base command is /bap (which can also be /prefix or /buildaprefix).
- /bap: Initiates a prefix building session.
- /bap clear: clears your prefix.
- /bap clear [player]: clears the prefix for the given player.
- /bap version: gets the current version.
Permissions:
- buildaprefix.prefix: Allows the player to create a prefix.
- buildaprefix.colors.all: Gives the player all colors. Functions similar to the * character but it works slightly faster (by stopping a loop).
- buildaprefix.colors.[color-letter]: Gives player the color specified. Ex: buildaprefix.colors.a gives a player &a. This works with formatting codes too.
- buildaprefix.place-sign: allows the player to create BuildAPrefix signs.
- buildaprefix.other: allows the player to clear others' prefixes.
- Coming soon (since I forgot it for v3.0.0) buildaprefix.bypassblacklist
Signs
'Create Prefix' Sign:
Make it as follows:
- [Prefix]
- create
- 'Clear Prefix' Sign:
Make it as follows:
- [Prefix]
- clear
Simple as it gets!
To Do
- Add permission for clear.
- Add lang file.
- Add more customization options (RegEx?).
- Add an API. Sorta? I mean, we're almost there.
- Re-implement blacklist. Simpler methods. RegEx.
- Comment the configuration file.
- Implement metrics.
Please Note
- This plugin uses statistics tracking from MCStats. You can opt out of it via the PluginMetrics configuration.
下载 BuildAPrefix
下载 BuildAPrefix
下载 BuildAPrefix
下载 BuildAPrefix
下载 BuildAPrefix
下载 BuildAPrefix
下载 BuildAPrefix
下载 BuildAPrefix
完全重写。新增功能:
- 支持多种数据库(目前支持 MySQL/Redis/FlatFile,MongoDB 即将推出)!
- 更高效的数据库使用方式。
- 完全可自定义的语言文件。
- 更好的告示牌处理机制。
- 命令变更。
- MVdWPlaceholderAPI 集成(可选)。
- 更具扩展性的框架。
遗憾的是,我仍在研究可能的数据迁移方案。在当前状态下,你必须重置所有玩家的前缀。不过,在不久的将来,我将提供一个转换脚本。
我还不得不放弃对 Tab Bar 的支持,以防止与其他插件产生冲突。你仍然可以使用 Placeholder API 来实现这一功能。
如果你希望添加任何新功能或数据库集成,请留言评论!
我非常期待下载量达到 3000 次,非常感谢大家的支持!
注意:此版本会收集匿名使用数据。你可以在配置文件中将其禁用。
请尽快向我报告任何问题。
暂无特别注意事项 :3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
自定义你的Minecraft头像!
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
允许基岩版(Geyser)玩家使用自定义铁砧和锻造台配方。
插件
一个功能丰富、完全动画化的箱子插件,适用于 Paper 1.21.x,支持 IA、Vault、PlaceholderAPI 和 Citizens
插件
净化你客户端或服务器中的聊天内容!
评论 0
登录后参与评分
还没有评论,来抢沙发吧