注:本配置文件以UltimateChat-1.8.6-b159版本为参考 - # Uchat配置文件
- # 作者: FabioZumbi12
- # 汉化:Tollainmear
- # 我们推荐您使用NotePad++软件来编辑本配置文件,请注意避免出现TAB错误!
- # ------------------------------------------------------------------------
- #
- # Tag是你可以自定义显示在聊天、悬浮显示、点击功能相关的标签。
- # 如果您想自行添加标签,您可以复制一个已经存在的标签并修改其标签名,然后修改标签内容。
- # 在您自行添加标签之后,请将其添加在'general > default-tag-builder'里。
- # ------------------------------------------------------------------------
- # ##### 请不要修改以下标签: 'playername', 'nickname' 和 'message' ######
- # ############### 否则插件无法即时分析这些标签!!! ####################
- # ------------------------------------------------------------------------
- #
- # 可用的占位符:
- # - {world}: 玩家当前世界名字;
- # - {message}: 发送的消息;
- # - {playername}: 玩家的名字;
- # - {nickname}: 玩家的昵称。如果没有设置昵称,将会显示默认的名字。
- # - {nick-symbol}: 昵称前的符号;
- # - {ch-name}: 频道名;
- # - {ch-alias}: 频道简写;
- # - {ch-color}: 频道颜色;
- # - {balance}: 获取发送信息的玩家的游戏币数量;
- # - {hand-type}: 手上所持物品的类型;
- # - {hand-name}: 手上所持物品的名字;
- # - {hand-amount}: 手上所持物品的数量。
- # - {hand-lore}: 手上所持物品的描述信息;
- # - {hand-durability}: 手上所持物品的耐久度;
- # - {hand-enchants}: 手上所持物品的附魔属性;
- # - {time-now}: 服务器当前时间;
- #
- # 权限组选项:
- # - {option_group}: 发送者所在权限组的实际名字;
- # - {option_prefix}: 发送者所在权限组的前缀 (如果设置了的话);
- # - {option_suffix}: 发送者所在权限组的后缀 (如果设置了的话);
- # - {option_display_name}: 发送者所在权限组的显示名字 (如果设置了的话);
- # - {option_<key option>}: 获取发送者所在权限组的相关meta信息,例如{option_home-count}以获取此玩家的最大家数;
- #
- # 玩家权限选项:
- # - {player_option_prefix}: 获取发送者的前缀(如果设置了的话);
- # - {player_option_suffix}: 获取发送者的后缀(如果设置了的话);
- # - {player_option_<key option>}: 获取发送者的相关的meta信息,例如{player_option_viptime}等;
- #
- # 原版聊天:
- # - {chat_header}: Get the header of chat;
- # - {chat_body}: Get the body of chat;
- # - {chat_footer}: Get the footer of chat;
- # - {chat_all}: Get all default formats;
- #
- # MCClans:
- # - {clan_name}: (玩家所在的)部落名字;
- # - {clan_tag}: 部落标签;
- # - {clan_tag_color}: 带颜色的部落标签;
- # - {clan_kdr}: 部落的KDR;
- # - {clan_player_rank}: 玩家在其部落内的排名;
- # - {clan_player_kdr}: 玩家的KDR;
- # - {clan_player_ffprotected}: Get if player is friendly fire protected;
- # - {clan_player_isowner}: 玩家是否为部落的领主;
- # Jedis (Redis):
- # - {jedis-id} - 服务器ID;
- #
- #
- "_config-version"=1
- # API 配置.
- api {
- format-console-messages=false
- # 如果你在使用SpongeVanilla或者遇到一些API问题,请在这里修改对应Sponge-API版本号
- # - 可用的参数: 5, 6, 7, 8
- sponge-api=5
- }
- broadcast {
- # Uchat公告指令的的简称.
- aliases="broadcast,broad,ubroad,announce,say,action,all,anunciar,todos"
- # 启用Uchat公告模块。启用此项将会注销任何使用相同缩写的指令。
- enable=true
- # Tag to use on broadcast message to set a click event.
- on-click="click:"
- # Tag to use on broadcast message to set a hover message.
- on-hover="hover:"
- # Tag to use on broadcast message to set a website url on click.
- url="url:"
- }
- debug {
- messages=false
- timings=false
- }
- # 串流discord和Minecraft的聊天信息。
- # 首先你需要在这里生成并配置一个Discord机器人: https://goo.gl/utfRRv
- # 译者注:国内用Discord的用户相对较少,这里暂时不提供完整汉化了
- discord {
- # Channel id to send commands issued by players
- commands-channel-id=""
- # 设置Discord机器人的状态。可用的状态: DEFAULT, LISTENING, WATCHING and STREAMING
- game-type=DEFAULT
- # 发送"启动/关闭"或者玩家的"加入/退出"信息的频道。
- log-channel-id=""
- # Put the id on 'commands-channel-id' option or/and enable server commands on channel configuration to use this.
- server-commands {
- # This alias is not needed if using the channel set on 'commands-channel-id' option.
- alias="!cmd"
- blacklist=[
- stop,
- whitelist
- ]
- withelist=[]
- }
- # 监听私聊信息的频道ID
- tell-channel-id=""
- token=""
- # If game-type = STREAMING, set the twitch url.
- twitch=""
- update-status=true
- use=false
- # Set your vanish plugin permissions here to do not announce player join/leave players with this permission.
- vanish-perm="nucleus.vanish.onlogin"
- }
- # General settings.
- general {
- # 当玩家发送一个链接时,使用的模板
- URL-template="&3点击以打开 &n{url}&r"
- # 频道相关的指令和指令简写
- channel-cmd-aliases="channel, ch"
- # 从控制台发送的消息所使用的标签
- console-tag="&6 {console}&3"
- custom-tags=[]
- # 为新加入的玩家指定默认聊天通道
- # 译者注:如果您的服务器规模不大,请不要使用/local频道,不然只有附近的玩家能接收信息。
- # 译者注:另外,/local指令和Flexblelogin的/login指令冲突,将会导致玩家无法使用/login登录。
- default-channel=g
- # 这里是主要的标签构建器。
- # 你可以修改这里来将你想要的信息展示在相关的聊天信息中。
- # 这一部分为默认的聊天格式化模板。
- default-tag-builder="world,ch-tags,prefix,nickname,suffix,message"
- # 是否允许在聊天信息的内容部分使用标签功能。
- enable-tags-on-messages=false
- item-hand {
- enable=true
- # 显示在聊天信息内的格式化模板。
- format="&6[{hand-amount} {hand-type}]{group-suffix}"
- # 用于玩家展示手上物品的占位符。
- placeholder="@hand"
- }
- nick-symbol="&6~&f"
- persist-channels=true
- # 删除相关的空标签
- remove-from-chat=[
- "[]",
- "&7[]",
- "&7[&7]"
- ]
- # 开启加入服务器自动监听。
- spy-enabled-onjoin=true
- # 聊天监听的格式。
- spy-format="&c[Spy] {output}"
- # 从系统到玩家发送命令的简写(没有任何格式,可以直接从其他插件发送消息给玩家)。
- umsg-cmd-aliases=umsg
- # 示例的世界名简写,支持颜色代码。
- # 这个功能是米二给原作者递交的建议哦!快称赞我!
- world-names {
- DIM-1="&4地狱&r"
- world="&5主世界&r"
- }
- }
- # 同其他插件的数据交互,仅在安装对应插件后生效。
- hooks {
- MCClans {
- # Enable broadcast. Enabling this will unregister any other broadcasts commands using the same aliases.
- enable=false
- }
- }
- # Jedis 配置
- # 译者注:没有使用过此部分功能,暂时不汉化,欢迎补充。
- # Use Jedis to send messages between other servers running Jedis.
- # Consider a replecement as Bungeecoord.
- jedis {
- enable=false
- ip=localhost
- pass=""
- port=6379
- server-id="&e-卡洛兰物语-&r "
- }
- # 可以的语言文本: EN-US, PT-BR, FR-FR, FR-ES, HU-HU, RU, SP-ES, ZH-CN and KO-KR
- # 译者注:中文版请使用ZH-CN
- # 此中文译本为米二递交,如果在未来版本有任何bug,请回帖提醒我
- language=EN-US
- # @AT相关
- mention {
- color-template="&e@{mentioned-player}&r"
- enable=true
- hover-message="&e{playername} 提到了你!"
- playsound="minecraft:block.note.pling"
- }
- # 你可以在这里自定义标签的结构。
- # 你可以使用"custom-tag"作为你创建的基础标签。
- # 创建完成后,请将对于的标签名添加进"general.default-tag-build"
- # 或者其他用于构建聊天格式的位置。
- tags {
- admin-chat {
- format="&b[&r{playername}&b]&r: &b"
- }
- ch-tags {
- click-cmd="ch {ch-alias}"
- format="{ch-color}[{ch-alias}]&r"
- hover-messages=[
- "&3频道名: {ch-color}{ch-name}",
- "&b点击以加入该频道"
- ]
- }
- custom-tag {
- click-cmd="say Uchat本配置文件由米二汉化~!"
- click-url="www.google.com"
- format="&7[&2自定义标签&7]"
- hide-in-worlds=[
- world-hide
- ]
- hover-messages=[
- "你发现了我:P"
- ]
- permission="any-name-perm.custom-tag"
- show-in-worlds=[
- world-show
- ]
- }
- jedis {
- format="{server-id}"
- hover-messages=[
- "&7Server: {jedis-id}",
- "&c在配置文件中修改我!"
- ]
- }
- message {
- format="{message}"
- }
- nickname {
- format="{nick-symbol}{nickname}"
- hover-messages=[
- "&3玩家: &f{playername}",
- "&3钱包: &7{balance}"
- ]
- }
- playername {
- format="{playername}"
- hover-messages=[
- "&3玩家: &f{playername}",
- "&3钱包: &7{balance}"
- ]
- }
- prefix {
- format="{option_prefix}"
- hover-messages=[
- "&3所在权限组: &f{option_display_name}"
- ]
- }
- suffix {
- format="{option_suffix}"
- }
- vanilla-chat {
- format="{chat_header}{chat_body}"
- }
- world {
- format="&7[{world}&7]&r"
- hover-messages=[
- "&7此消息来自于&8{world}"
- ]
- }
- }
- tell {
- # 启用Uchat私聊模块。启用此项将会注销任何使用相同缩写的指令。
- cmd-aliases="tell,t,w,m,msg,private,priv"
- # 启用此项将会注销任何使用相同缩写的指令。例如nucleus自带的。
- enable=true
- # 后缀(或者放置{message}信息标签).
- format="{message}"
- # 悬停显示信息。
- hover-messages=null
- # 私聊格式前缀。
- prefix="&6[&c{playername} &6-> &c{receivername}&6]: "
- }
复制代码 |