Compatibility
Minecraft: Java Edition
1.21.x
1.20.1–1.20.6
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed MIT
Published last month
Updated last month
Player Title for Fabric
A player title Minecraft mod for Fabric.
Via Config
The config file is pt4f.json
, powered by Midnight Lib.
All operations can be done via config, an example is shown below:
{
"runningMode": "api",
"rootCommandAlias": "pt4f",
"defaultTitle": "",
"prefix": "",
"suffix": " ",
"playerTitleData": [
"3db42575-2d30-381e-b767-ea78178345ae,[Some Text Here]",
"de6c7baa-0bd3-34f4-81e0-2a85bbae7554,\u00265[Player Title]\u0026r"
]
}
- runningMode: "api" or "mixin" (WIP)
- rootCommandAlias: an alias of the root command (WIP)
- defaultTitle, prefix, suffix
- playerTitleData: Every item is a title data, following the format below: UUIDOrPlayerName, (seperated with a comma) TitleText
Don't forget to reload the config by using "/playertitle reload"
Via Commands
Also some can be done via commands, for now there's mainly 2 commands:
/playertitle grant <PlayerSelector> <title>
// will record player uuid/playertitle grant -o <OfflinePlayerName> <title>
// will record player name/playertitle revoke <PlayerSelector>
// will record player uuid/playertitle revoke -o <OfflinePlayerName>
// will record player name
Note:
- If more than one player is provided, overwrite mode will automatically turn off, which means you can't replace title of players that already have one, while it's on when one or an offline player name is provided.
- UUIDs have higher priority than player names.
- If using format code in commands, you need to use
&
instead of§
,and&&
to represent&
.