描述:
ChatColor 允许玩家将其聊天消息的颜色和样式更改为多种不同的效果!支持超过 1600 万种不同颜色,兼容所有 Minecraft 原生颜色、修饰符以及十六进制颜色!
插件支持
如果您需要有关此插件的帮助或支持,请加入我的支持 Discord 服务器:
功能:
- 将玩家的聊天消息颜色更改为超过 1600 万种不同的可能性。
- 支持传统颜色、十六进制颜色、彩虹色和渐变色,提供最大的自定义灵活性。
- 所有修饰符均可用,包括 粗体、斜体、下划线,甚至如果你真的想要的话还可以使用混淆效果。
- MySQL 和 MariaDB 支持 - 确保您的服务器之间颜色保持一致。
- 支持从控制台设置颜色 - 易于作为捐赠奖励包含在内。
- 完整的权限系统,允许对玩家访问颜色的权限进行精细控制。
- 自定义颜色系统,使创建和保存您最喜欢的十六进制颜色、彩虹色或渐变色更加容易。
- 群组颜色系统,启用基于权限的颜色设置。
- 完全可自定义的插件消息。
- 完全可自定义的 GUI,用于高级颜色选择。
- 设置项可修改插件功能。
- 乐于助人且友好的作者!随时准备在力所能及的范围内提供帮助。
注意: 请参阅下方关于命令、权限、颜色、修饰符和设置的帮助信息!
命令:
键值说明:
- <value> = 必填值。
- [value] = 可选值。
主命令:
- /chatcolor [player] <color/default> [modifiers] - 更改你自己或某位玩家的聊天颜色!
- 对于自定义颜色,请使用:/chatcolor [player] %<name>
名称在 custom-colors.yml 配置文件中定义。
- 注意: 有关十六进制颜色的信息,请参见此处!格式如下:&#RRGGBB,其中 # 后的每个字符必须是 0-9 之间的数字或 a-f 之间的字母。
管理员命令:
- /chatcolor permissionshelp - 显示权限帮助!
- /chatcolor settingshelp - 显示设置帮助!
- /chatcolor reload - 重新加载所有配置文件,如果在运行时更改了配置,请使用此命令!
- /chatcolor reset - 谨慎使用,会将配置重置为默认值!
- /chatcolor set <setting> <value> - 更改众多设置之一!(详情见下文)
- /chatcolor confirm - 确认设置更改。
- /chatcolor group <add/remove/list> [name] [color] - 添加、移除或列出群组颜色。您可以使用这些命令通过权限赋予群组聊天颜色(详见下文)。
- /chatcolor custom <add/remove/list> [name] [color] - 添加、移除或列出自定义颜色。颜色必须是有效的自定义颜色字符串。
其他命令:
- /chatcolor - 显示您当前的聊天颜色!
- /chatcolor gui - 打开 GUI 以选择您想要的颜色!
- /chatcolor <add/remove> <modifier> - 向您的聊天颜色添加或删除修饰符。
- /chatcolor available - 显示您可用的颜色和修饰符!
- /chatcolor commandshelp - 显示命令帮助!您也可以使用 /chatcolor help。
可自定义 GUI:
- GUI 在配置文件 gui.yml 中完全可自定义。
- 配置文件中提供了创建自定义 GUI 的说明,以及三个示例 GUI(一个用于普通颜色,一个用于十六进制颜色,一个用于自定义颜色),开箱即用。
- 如果需要任何帮助,欢迎随时给我发消息!
设置:
- command-name - 将基础命令更改为您想要的任何名称!
- color-override - 更改 ChatColor 是否覆盖消息中的 '&' 颜色符号。
- confirm-timeout - 更改玩家在做出决定时获得的确认时间。
- default-color - 更改所有玩家加入时的颜色(也会一次性将所有玩家设置为该颜色)。
- join-message - 更改玩家加入时是否被告知他们的颜色。
- notify-others - 更改当聊天颜色被其他人更改时,是否通知玩家。
- auto-save - 更改插件是否会每 5 分钟自动保存到文件,以防崩溃。
- save-interval - 设置插件保存的时间间隔。
- force-custom-colors - 更改插件是否强制使用自定义颜色。注意:这实际上是指群组颜色而非自定义颜色。
- command-opens-gui - 如果设置为 true,/chatcolor 将打开 GUI 而不是告诉您您的颜色。
颜色与修饰符:
有效颜色:
- 0 或 black (黑色)
- 1 或 dark.blue (深蓝色)
- 2 或 green (绿色)
- 3 或 dark.aqua (深青色)
- 4 或 red (红色)
- 5 或 purple (紫色)
- 6 或 gold (金色)
- 7 或 grey (灰色)
- 8 或 dark.grey (深灰色)
- 9 或 blue (蓝色)
- a 或 light.green (亮绿色)
- b 或 aqua (青色)
- c 或 light.red (亮红色)
- d 或 magenta (洋红色)
- e 或 yellow (黄色)
- f 或 white (白色)
- 所有十六进制颜色,格式为 #RRGGBB
有效修饰符:
- k 或 obfuscated (混淆)
- l 或 bold (粗体)
- m 或 strikethrough (删除线)
- n 或 underlined (下划线)
- o 或 italic (斜体)
权限:
- chatcolor.* - 授予玩家所有 ChatColor 权限。请注意,如果您拥有此权限,则无法使用自定义颜色!
- chatcolor.use - 允许玩家使用 /chatcolor 和 /chatcolor cmdhelp。
- chatcolor.use-color-codes - 允许玩家在聊天中使用 & 颜色代码。
- chatcolor.use-hex-codes - 允许玩家使用十六进制代码为聊天着色(允许所有颜色!)。
- chatcolor.special - 允许玩家通过 /chatcolor 命令使用彩虹色和渐变色。不允许使用预设的自定义颜色。
- chatcolor.gui - 允许使用 GUI 选择颜色。
- chatcolor.color.* - 允许玩家使用所有颜色。
- chatcolor.color.<color> - 允许玩家使用特定颜色。
- chatcolor.modifier.* - 允许玩家使用所有修饰符。
- chatcolor.modifier.<modifier> - 允许玩家使用特定修饰符。
- chatcolor.change.* - 允许玩家更改所有人的聊天颜色。
- chatcolor.change.self - 允许玩家更改自己的颜色。
- chatcolor.admin - 允许玩家使用所有管理员命令。
- chatcolor.group.<color-name> - 设置玩家/群组的群组颜色。
- chatcolor.custom.<color-name> - 给予玩家访问自定义颜色的权限。
注意: 你必须使用上方列出的数字或字母来指定颜色与修饰符权限。
PlaceholderAPI
注意: 其中部分占位符目前无法正常工作,将在后续更新中修复。
以下是此插件可用的不同占位符:
- %cc_full_color% - 返回玩家的完整颜色(颜色 + 修饰符)。随后可用于对文本进行着色。
注意: 彩虹色和渐变色将不会显示!
- %cc_color% - 仅返回玩家的颜色(无修饰符)。
- %cc_color_name% - 返回玩家颜色的名称或字符,例如 a、b、c 或 %custom-name。
- %cc_colored_color_name% - 与 %cc_color_name% 相同,但会将颜色应用到返回的文本上。
- %full_color_name% - 返回玩家颜色的完整单词版本,例如 red(红色)、black(黑色)、dark green(深绿色)。
- %colored_full_color_name% - 与 %cc_full_color_name% 相同,但会将颜色应用到返回的文本上。
- %cc_modifiers% - 仅返回玩家的修饰符(无颜色)。随后可用于修改后续文本。
- %cc_modifier_names% - 返回修饰符名称,例如 l、mn、lmn。
- %cc_modified_modifier_names% - 与 %cc_modifier_names% 相同,但会将修饰符应用到返回的文本上。
- %cc_full_modifier_names% - 返回玩家修饰符的完整单词版本,例如 bold(粗体)、italic(斜体)。
- %cc_modified_full_modifier_names% - 与 %cc_full_modifier_names% 相同,但会将修饰符应用到返回的文本上。
- %cc_group% - 返回玩家当前活动组的名称,如果没有则返回 "None"。
- %cc_<color/modifier>_available% - 根据玩家是否拥有必要的权限,从 messages.yml 中返回 'gui-available' 或 'gui-unavailable'。例如 %cc_a_available%
视频展示
由 Barbercraft 制作的插件演示!:)
[MEDIA=youtube]s4tlJ4Zs2EI[/MEDIA]
数据收集:
本插件使用 bStats 收集有关插件使用情况的一些统计数据,并将其发送至 。可以通过将 config.yml 中的 'stats' 设置为 false 来禁用此功能。发送的统计数据包括版本人口统计、服务器/玩家统计、服务器位置、操作系统等。向公众公开的数据包括版本人口统计、服务器位置、等级、Java 版本和全局统计。这些数据可在 查看。
错误报告:
如果你发现任何错误,请向我们报告!你的反馈非常有用,能帮助我了解哪里做错了以及需要修复什么!
你可以通过 GitHub 报告错误,发送私信,或加入本页顶部显示的官方支持 Discord 服务器。
Description:
ChatColor allows players to change the colour and style of their chat to many different things! Colour your chat in over 16 million different colours, with all Minecraft colours, modifiers and hex colours supported!
Plugin Support
If you need some help or support with the plugin, please join my support Discord server here:
Features:
- Change the colour of your players' chat message to over 16 million different possibilities.
- Supporting legacy, hex, rainbow, and gradient colours, giving you maximum customisability.
- All modifiers including bold, italic, underlined, and even obfuscated if you really want it, are available.
- MySQL & MariaDB support - keep your colours the same across all of your servers.
- Supports setting colours from console - easy to include as a donor purchase reward.
- Complete set of permissions allowing for fine control over player access to colours.
- Custom colour system to make it easier to create and save your favourite hex, rainbow, or gradient colours.
- Group colour system to enable permission-based set colours
- Fully customisable plugin messages.
- Fully customisable GUI for advanced colour selection.
- Settings to modify plugin functionality.
- Helpful and friendly author! Always here to help where I can.
Note: See below for help on commands, permissions, colours, modifiers and settings!
Commands:
Key:
- <value> = Required value.
- [value] = Optional value.
Main Command:
- /chatcolor [player] <color/default> [modifiers] - Change yours or a player's chat colour!
- For a custom colour, use: /chatcolor [player] %<name>
The name is defined in the custom-colors.yml config file.
- Note: Please see here for information on hex colours! The format is like so: &#RRGGBB, where each character after the # must be a number or letter between 0-9 and a-f.
Admin Commands:
- /chatcolor permissionshelp - Shows permissions help!
- /chatcolor settingshelp - Shows settings help!
- /chatcolor reload - Reloads all configs, use if you changed them while running!
- /chatcolor reset - Use with caution, resets the config to the default!
- /chatcolor set <setting> <value> - Changes one of the many settings! (See below for details)
- /chatcolor confirm - Confirms a setting change.
- /chatcolor group <add/remove/list> [name] [color] - Adds, removes, or lists group colours. You can use these to give groups a chat color through permissions (see below).
- /chatcolor custom <add/remove/list> [name] [color] - Adds, removes, or lists custom colours. The color must be a valid custom color string.
Other Commands:
- /chatcolor - Shows your current chat colour!
- /chatcolor gui - Open a GUI for selecting your desired colour!
- /chatcolor <add/remove> <modifier> - Adds or removes a modifier from your chat colour.
- /chatcolor available - Shows your available colours and modifiers!
- /chatcolor commandshelp - Shows command help! You can also use /chatcolor help.
Customisable GUI:
- The GUI is fully customisable in the config file gui.yml.
- There are instructions for creating your own GUIs as well as three example GUIs (one for normal colours, one for hex colours and one for custom colours) ready to go in the config.
- Feel free to drop me a message if you need any help!
Settings:
- command-name - Changes the base command to whatever you want!
- color-override - Changes whether ChatColor overrides '&' colour symbols in messages.
- confirm-timeout - Changes the time that players get when making a decision.
- default-color - Changes the colour that all players get when joining (also one-time sets all players).
- join-message - Changes if players are told their colour when joining.
- notify-others - Changes whether players are told if their chat colour is changed by someone else.
- auto-save - Changes whether the plugin will auto-save to files every 5 minutes, in case of a crash
- save-interval - Sets the time interval between saves for the plugin.
- force-custom-colors - Changes whether the plugin will force custom colours to be used. Note: This is actually group colours not custom colours.
- command-opens-gui - If set to true, /chatcolor will open the GUI instead of telling you your colour.
Colours & Modifiers:
Valid Colours:
- 0 or black
- 1 or dark.blue
- 2 or green
- 3 or dark.aqua
- 4 or red
- 5 or purple
- 6 or gold
- 7 or grey
- 8 or dark.grey
- 9 or blue
- a or light.green
- b or aqua
- c or light.red
- d or magenta
- e or yellow
- f or white
- All hex colours, in the format #RRGGBB
Valid Modifiers:
- k or obfuscated
- l or bold
- m or strikethrough
- n or underlined
- o or italic
Permissions:
- chatcolor.* - Grants a player all ChatColor permissions. Please note that you cannot use a custom colour if you have this permission!
- chatcolor.use - Allows a player to use /chatcolor and /chatcolor cmdhelp.
- chatcolor.use-color-codes - Allows a player to use & colour codes in the chat.
- chatcolor.use-hex-codes - Allows a player to use hex codes to color their chat (allows ALL colours!).
- chatcolor.special - Allows a player to use rainbow and gradient colours via the /chatcolor command. Does not allow use of preset custom colours.
- chatcolor.gui - Allows use of the GUI to select a colour.
- chatcolor.color.* - Allows a player to use all colours.
- chatcolor.color.<color> - Allows a player to use colour.
- chatcolor.modifier.* - Allows a player to use all modifiers.
- chatcolor.modifier.<modifier> - Allows a player to use a modifier.
- chatcolor.change.* - Allows a player to change everyone's chat color.
- chatcolor.change.self - Allows a player to change their own colour.
- chatcolor.admin - Allows a player to use all admin commands.
- chatcolor.group.<color-name> - Sets a player/group's group colour.
- chatcolor.custom.<color-name> - Gives a player access to a custom colour.
Note: You must use either numbers or letters found above for the colours and modifiers permissions.
PlaceholderAPI
Note: Some of these are not working correctly at the moment, and will be fixed in a later update.
Here are the different placeholders you can use for this plugin:
- %cc_full_color% - Returns the full colour (colour + modifiers) of a player. Can then be used to colorise text after it.
Note: Rainbow & gradient colours will not be displayed!
- %cc_color% - Returns the colour only (no modifiers) of a player.
- %cc_color_name% - Returns the name or character of the player's colour, e.g. a, b, c, or %custom-name.
- %cc_colored_color_name% - Same as %cc_color_name%, but the colour is applied to the text returned.
- %full_color_name% - Returns the full word version of a player's colour, e.g. red, black, dark green.
- %colored_full_color_name% - Same as %cc_full_color_name%, but the colour is applied to the text returned.
- %cc_modifiers% - Returns the modifiers only (no colour) of a player. Can then be used to modify text after it.
- %cc_modifier_names% - Returns the modifier names, e.g. l, mn, lmn.
- %cc_modified_modifier_names% - Same as %cc_modifier_names%, but with the modifiers applied to the text returned.
- %cc_full_modifier_names% - Returns the full word version of a player's modifiers. e.g., bold, italic.
- %cc_modified_full_modifier_names% - Same as %cc_full_modifier_names%, but with the modifiers applied to the text returned.
- %cc_group% - Returns the player's current active group name, or "None" if there isn't one.
- %cc_<color/modifier>_available% - Returns either 'gui-available' or 'gui-unavailable' from the messages.yml, based on if the player has the necessary permission. e.g. %cc_a_available%
Videos
Plugin showcase by Barbercraft! :)
[MEDIA=youtube]s4tlJ4Zs2EI[/MEDIA]
Data Collection:
This plugin uses bStats to collect some statistics about usage of the plugin and sends them to . This can be disabled by changing 'stats' in the config.yml to false. The statistics sent include Version Demographics, Server/Player Statistics, Server Location, Operating System etc. The stats available to the public are Version Demographics, Server Location, Rank, Java Version and Global Statistics. These are viewable at .
Bugs:
If you find any bugs, please report them! Reports are very helpful so that I know what I'm doing wrong and what I need to fix!
You can report bugs through GitHub, by direct message, or joining the support Discord server shown at the top of this page.
评论 0
登录后参与评分
还没有评论,来抢沙发吧