下载量已突破 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
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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧