此模组允许服务器根据实体的标签修改玩家的显示名称。这与使用原版队伍的后缀和前缀实现的效果非常相似,但在某些特定场景下,例如某个玩家难以更改所属队伍,却需要与队友不同的名称标识时,该模组通过依赖非互斥的实体标签,能够提供帮助。
通过配置文件,管理员可以确定应用于具有特定标签的玩家的显示名称和选项卡列表名称模式。有关更多信息,请参阅位于服务器文件“config”文件夹中的模组配置文件的注释。(如果不在那里,NeoForge 可能再次更改了其配置文件位置,在这种情况下,请随时在此处询问如何找到配置文件)。
此模组还包含一个实用命令 “/refreshplayername <players>”,用于刷新指定玩家的自定义显示名/标签列表名称。如果刚刚更改了某些玩家标签且你想确认正确的玩家修饰符是否已生效,此功能会很有用,因为通常玩家显示名仅在加入服务器时才会更新。
这是一个 NeoForge 和 Fabric 模组,我不会将其移植到 Forge。
此模组仅服务端使用,这意味着只有服务器(而非客户端/玩家)需要安装此模组。
This mod allows servers to modify the display names of their players, based on their entity tags. This is very similar to what can be achieved using vanilla teams suffixes and prefixes, but in the niche usecase where e.g. a player can't easily change their team, but needs a different name component than their team members, this mod, through its reliance on non-mutually-exclusive entity tags, can help out.
Through the configuration file, admins can determine display name and tab list name patterns that get applied to players with a certain tag. More information is contained in the comment of the mod's config file, which is located in the "config" folder of your server files. (If it isn't, NeoForge has changed its config file location again, in which case feel free to ask here where to find the config file).
This mod also contains a utility command, "/refreshplayername <players>", which is used to refresh the custom display/tab list name of supplied players. This is useful if some player tags were just changed and you want to verify that the correct player modifiers are being applied, since usually player display names are only updated when they join the server.
This is a NeoForge and Fabric mod, I will not port it to Forge.
This mod is serverside only, which means that only the server and not the client (the players) need to install this mod.
评论 0
登录后参与评分
还没有评论,来抢沙发吧