这是 mineTomek 制作的 Name Changer 模组 针对 26.2 版本的移植版。一旦原版模组推出 26.2 版本,本模组将不再进行更新。
Name Changer

一个用于更改玩家名称的模组。旨在游戏中一致地替换玩家的显示名称。
适用于角色扮演服务器、内容创作、截图,或者仅仅是在不更改账户用户名的情况下使用不同的显示名称。
需要同时在客户端和服务端安装才能完全生效。
可在 Modrinth 上获取 NeoForge 和 Fabric 版本。
功能
名称更改
该模组的主要功能显然是更改玩家名称。以下是受影响的各个位置:
界面与显示
- 聊天中的名称标签
- 玩家头顶的名称板
- 玩家列表(按
Tab 键)
- 社交互动屏幕
- 记分牌侧边栏显示
- 局域网世界的 MOTD
命令与系统集成
- 命令中的实体选择
- 各类系统消息
- 死亡
- 进度(Advancements)
- 加入/离开
Name 命令
/name 命令用于设置、重置或查看玩家名称。它需要操作员权限,并包含两个子命令:
/name set <target> <name> 设置目标玩家的名称
/name reset [<target>] 重置目标玩家的名称(如果省略 target 则为自身)回到其原始名称
/name inspect [<target>] 显示关于玩家名称的信息,如其原始名称和自定义名称
自定义名称是按世界存储的,并在重载之间保持持久化。
配置
该模组目前有两个配置选项:
- Name Conflict Warning 在设置名称时,如果与其他玩家的原始名称或自定义名称冲突,会添加警告
- Forbid Name Conflicts 如果设置的名称会导致与其他玩家的原始名称或自定义名称冲突,则禁止设置
配置文件位于常规 ./minecraft/config 目录下的 namechanger-common.toml 文件中,也可以使用如 Cloth Config 等配置模组(在 Fabric 上)或在 NeoForge 上原生支持。
名称格式
在 /name set 命令中输入的自定义名称是一个文本组件。您可以在 Minecraft Wiki 的 Text Component 页面上阅读更多相关信息。
以下是使用 /name set 命令的示例:
纯文本:
/name set @s mineTomek
带有空格或其他特殊字符的纯文本:
/name set @s "mineTomek :3"
格式化文本:
/name set @s {text: "mineTomek", color: "#6dc53b", bold: true}
格式化仅影响聊天消息和玩家列表。
在大多数其他位置,Minecraft 会去除格式并改为显示纯文本。
This is a port of the Name Changer mod made by mineTomek for 26.2. This mod will not be updated once that one gets a 26.2 version.
Name Changer

A mod for changing a player’s name. Designed to replace the player’s name consistently across the game.
Useful for roleplay servers, content creation, screenshots, or simply using a different display name without changing your account username.
Needs to be installed on both the client and the server for full functionality.
Available on Modrinth for NeoForge and Fabric.
Features
Name Changing
The primary feature of this mod is obviously changing the player's name. Here’s every place this affects:
UI & Display
- Chat name labels
- Nameplates above players
- Player list (under
Tab)
- Social interactions screen
- Scoreboard sidebar display
- MOTD for LAN worlds
Commands & System Integration
- Entity selection in commands
- Works with both suggestions and execution
- Original names still work
- Various system messages
- Death
- Advancements
- Join/Leave
Name Command
The /name command is used to set, reset, or inspect player names. It requires operator permissions and has two subcommands:
/name set <target> <name> sets the name of the target player
/name reset [<target>] resets the name of the target player (or self if target is omitted) to what it was originally
/name inspect [<target>] shows information about the player's name like their original and custom name
Custom names are stored per-world and persist between reloads.
Config
The mod currently has two config options:
- Name Conflict Warning adds a warning when setting a name if it conflicts with other players' original or custom names
- Forbid Name Conflicts prevents setting a name if it would cause conflicts with other players' original or custom names
The config is available in the namechanger-common.toml file in the regular ./minecraft/config directory and also using config mods like Cloth Config on Fabric and natively on NeoForge.
Names
The custom name entered in the /name set command is a text component. You can read more about them on the Text Component page on the Minecraft Wiki.
Here are examples of using the /name set command:
Plain text:
/name set @s mineTomek
Plain text with spaces or other special characters:
/name set @s "mineTomek :3"
Formatted text:
/name set @s {text: "mineTomek", color: "#6dc53b", bold: true}
Formatting only affects chat messages and the player list.
In most other places, Minecraft strips formatting and displays plain text instead.
评论 0
登录后参与评分
还没有评论,来抢沙发吧