跳到正文

Styled Nicknames [Unnoficial Port]

作者:Delesk1JX

Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support. Unofficial Forge & NeoForge Port.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

This is unofficial Forge & NeoForge port of Styled Nicknames mod by Patbox. Do not report any issues to Patbox, their discord or github.

You can find official/fabric version here: https://www.curseforge.com/minecraft/mc-mods/styled-nicknames

Styled Nicknames

It’s a configurable mod allowing your server’s players (and admins) to change their nickname with full Simplified Text Formatting support. It supports LuckPerms, PlayerRoles or any other fabric permission api compatible mod, with automatic removal of nicknames for players without permissions. If you have any questions, you can ask them on my Discord

Commands (and permissions):

/styled-nicknames – Main command (stylednicknames.main, available by default)

/styled-nicknames reload – Reloads configuration (requires stylednicknames.reload)

/styled-nicknames set <player> <value> – Changes target players nickname (requires stylednicknames.change_others)

/styled-nicknames clears <player> – Clears target players nickname (requires stylednicknames.change_others)

/nickname set <value>//nick set <value> – Changes own nickname (requires stylednicknames.use)

/nickname clear//nick clear – Clears own nickname (requires stylednicknames.use)

Configuration:

You can find config file in ./config/styled-nicknames.json. Formatting uses PlaceholderAPI’s Simplified Text Format for which docs you can find here.

{
“CONFIG_VERSION_DONT_TOUCH_THIS”: 1,
“allowByDefault”: false, // Enables player commands by default
“defaultPrefix”: “#”, // Default prefix of nickname
“maxLength”: 32, // Max length (without formatting) of the nickname, set to 0 to disable it
“changeDisplayName”: true, // Changes player’s display name
“changePlayerListName”: false, // Changes nickname in player list (This option will be incompatible with some mods, use placeholder instead when possible)
“allowLegacyFormatting”: false, // Allows usage of legacy text format in nicknames (&X)
“nicknameChangedMessage”: “…”, // Message send after changing nickname
“nicknameResetMessage”: “…”, // Message send after clearing nickname
“defaultEnabledFormatting”: {
/“tagname”: value/ // These values allow you to change tags enabled by default
}
}

Permission:

To use commands/permissions, players require stylednicknames.use to use commands and optionally permissions stylednicknames.format.[tag_name] ([tagname] is Simplified Text Format tag), for additional formatting.

You can also give stylednicknames.ignore_limit to disable nickname length limit for them (which already ignores tags).

You should also give stylednicknames.change_others permission to your admins, so they can remove bad nickname

常见问题

Styled Nicknames [Unnoficial Port] 支持哪些 Minecraft 版本?

Styled Nicknames [Unnoficial Port] 支持 Minecraft Java 版 1.20.1–26.1.2,共 3 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Styled Nicknames [Unnoficial Port] 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Delesk1JX 的其他作品

查看全部 →