
MOTD 与文本制作器
为你的服务器列表、聊天、标牌、书本、物品名称和标题提供色彩丰富的 Minecraft 文本。输入、挑选颜色、复制。
1 · 输入并上色
无颜色
选中文字并点击颜色来给选中的文字上色,或者点击颜色后继续输入。每一行在游戏里都是新的一行。这个 & 代码是 Minecraft 颜色的书写方式——你永远不必手动输入它们。
或者从这些中挑选一个
2 · 在游戏中查看
游玩多人游戏
两行,每行 267 游戏像素 —— 较长的行会换行,第二行之后的内容将被截断。
3 · 复制它
server.properties
替换你服务器的 server.properties 文件中的 motd= 行,然后重启服务器。
motd=\u00A7a\u00A7l\u2605 \u00A72\u00A7lOak\u00A7a\u00A7lLeaf \u00A7f\u00A7lSMP \u00A7a\u00A7l\u2605\n\u00A77Survival \u00A78\u2022 \u00A77Friends \u00A78\u2022 \u00A7eNo lag!
聊天消息
在聊天栏中向所有人发送文本。
/tellraw @a {"text":"","extra":[{"text":"★ ","color":"green","bold":true},{"text":"Oak","color":"dark_green","bold":true},{"text":"Leaf ","color":"green","bold":true},{"text":"SMP ","color":"white","bold":true},{"text":"★\n","color":"green","bold":true},{"text":"Survival ","color":"gray"},{"text":"• ","color":"dark_gray"},{"text":"Friends ","color":"gray"},{"text":"• ","color":"dark_gray"},{"text":"No lag!","color":"yellow"}]}长于 256 聊天允许的字母——请将其粘贴到命令方块中。
大标题
第 1 行作为标题,第 2 行作为副标题。
/title @a subtitle {"text":"","extra":[{"text":"Survival ","color":"gray"},{"text":"• ","color":"dark_gray"},{"text":"Friends ","color":"gray"},{"text":"• ","color":"dark_gray"},{"text":"No lag!","color":"yellow"}]} /title @a title {"text":"","extra":[{"text":"★ ","color":"green","bold":true},{"text":"Oak","color":"dark_green","bold":true},{"text":"Leaf ","color":"green","bold":true},{"text":"SMP ","color":"white","bold":true},{"text":"★","color":"green","bold":true}]}长于 256 聊天允许的字母——请将其粘贴到命令方块中。
具名剑
给你一把将第 1 行作为其名称的钻石剑。
/give @p minecraft:diamond_sword[custom_name={text:"",italic:false,extra:[{text:"★ ",color:"green",bold:true},{text:"Oak",color:"dark_green",bold:true},{text:"Leaf ",color:"green",bold:true},{text:"SMP ",color:"white",bold:true},{text:"★",color:"green",bold:true}]}]长于 256 聊天允许的字母——请将其粘贴到命令方块中。
告示牌
在你站立的地方放置一块刻有前四行文字的橡木告示牌。
/setblock ~ ~ ~ minecraft:oak_sign{front_text:{messages:[{text:"",extra:[{text:"★ ",color:"green",bold:true},{text:"Oak",color:"dark_green",bold:true},{text:"Leaf ",color:"green",bold:true},{text:"SMP ",color:"white",bold:true},{text:"★",color:"green",bold:true}]},{text:"",extra:[{text:"Survival ",color:"gray"},{text:"• ",color:"dark_gray"},{text:"Friends ",color:"gray"},{text:"• ",color:"dark_gray"},{text:"No lag!",color:"yellow"}]},"",""]}}长于 256 聊天允许的字母——请将其粘贴到命令方块中。
& 代码(插件)
对于读取 & 代码的插件(如 EssentialsX)。十六进制写作 &#rrggbb,大多数插件也支持这一点。
&a&l★ &2&lOak&a&lLeaf &f&lSMP &a&l★ &7Survival &8• &7Friends &8• &eNo lag!
命令适用于 Minecraft Java Edition 1.21.5 及更新版本(包含 26.x),其中物品名称和标牌文本被编写为文本组件——旧版本将它们编写为引号内的 JSON。server.properties 行经过转义,以便每个版本都能正确读取 § 符号。
颜色代码
&0 黑色&1 深蓝色&2 深绿色&3 暗青色&4 深红色&5 深紫色&6 黄金&7 灰色&8 深灰色&9 蓝色&a 绿色&b 青色&c 红色&d 淡紫色&e 黄色&f 白色&l 粗体&o 斜体&n 下划线&m 删除线&k 乱码&r 再次普通在游戏中,这些是用分节符书写的 § 而不是 &。颜色代码还会关闭粗体、斜体及其他样式,因此请将样式置于 之后 颜色: &6&l 是粗体金色,而 &l&6 只是金色。