• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

Citizens/文本用法

来自Minecraft插件百科
Qsefthuopq讨论 | 贡献2018年11月7日 (三) 21:41的版本 (创建页面,内容为“Configuration syntax in Citizens is simple. Nodes within arrow brackets -- ''<>'' -- will be parsed and replaced if possible. Below are the available nodes that you…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

Configuration syntax in Citizens is simple. Nodes within arrow brackets -- <> -- will be parsed and replaced if possible. Below are the available nodes that you can use.

聊天颜色

Use the Chat Color character within brackets. 例如, <a> 会显示绿色.

Color Reference
0 -- BLACK
1 -- DARK BLUE
2 -- DARK GREEN
3 -- CYAN
4 -- DARK RED
5 -- PURPLE
6 -- GOLD
7 -- LIGHT GRAY
8 -- GRAY
9 -- BLUE
a -- GREEN
b -- AQUA
c -- ROSE RED
d -- LIGHT PURPLE
e -- YELLOW
f -- WHITE

其他

There are also other nodes that you can use in configuration files. Some of these do not apply to certain configuration settings, so use with care. More will be added in the future as the need arises.

NPC Nodes

npc -- NPC's name
id -- NPC's ID
owner -- NPC's owner

玩家 Nodes


player -- Player's name
world -- Player's world