You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add `text_opacity` and `background_color` options for the `display_above_player` config option. Old config files are automatically updated to include them.
3
+
- Port to NeoForge.
4
+
5
+
**Please make sure to properly back up your world when updating! Minecraft 26.1 changes the structure of Minecraft worlds a lot, and while this mod has adjusted for that, I cannot guarantee that no data loss will happen!**

10
+

9
11
10
12
This mod adds a `/name`, a `/itemname` and a `/itemlore` command to Minecraft, which players can use to set a prefix, suffix, or nickname,
11
13
or give their items colourful names and lore. Mostly designed to be used in small, private servers, although through the
@@ -31,23 +33,26 @@ For support and/or any questions you may have, feel free to join [my discord](ht
31
33
32
34
| Minecraft Version | Status |
33
35
|-------------------|--------------|
34
-
| 1.21.11 | ✅ Current |
36
+
| 26.1 | ✅ Current |
37
+
| 1.21.11 | ✔️ Available |
35
38
| 1.21.9+10 | ✔️ Available |
36
39
| 1.21.6+7+8 | ✔️ Available |
37
40
| 1.21.5 | ✔️ Available |
38
41
| 1.21.4 | ✔️ Available |
39
42
| 1.21.2+3 | ✔️ Available |
40
-
| 1.21+1 |✅ Current |
43
+
| 1.21+1 |✔️ Available|
41
44
| 1.20.5+6 | ✔️ Available |
42
45
| 1.20.4 | ✔️ Available |
43
46
| 1.20.1 | ✔️ Available |
44
47
| 1.19.4 | ✔️ Available |
45
48
| 1.19.2 | ✔️ Available |
46
49
47
-
I try to keep support up for the latest major and latest minor release of Minecraft. Updates to newer Minecraft
50
+
I try to keep support up for the latest drop of Minecraft. Updates to newer Minecraft
48
51
versions may be delayed from time to time, as I do not always have the time to immediately update my mods.
49
52
50
-
Unsupported versions are still available to download, but they won't receive new features or bugfixes.
53
+
Unsupported versions are/ still available to download, but they won't receive new features or bugfixes.
54
+
55
+
NeoForge ports are available for Minecraft 26.1 onwards.
51
56
52
57
## Usage
53
58
@@ -96,7 +101,11 @@ By default, the configuration file looks like this:
96
101
"blacklisted_names": [],
97
102
"max_name_length": 16,
98
103
"operators_bypass_restrictions": false,
99
-
"display_above_player": false,
104
+
"display_above_player": {
105
+
"enabled": false,
106
+
"text_opacity": 255,
107
+
"background_color": "#40000000"
108
+
},
100
109
"name_groups": {
101
110
"prefix": {},
102
111
"nickname": {},
@@ -110,7 +119,9 @@ By default, the configuration file looks like this:
110
119
-`blacklisted_names` is a list of regexes that are blacklisted. When a prefix, suffix or nickname matches one of these regexes, they won't be able to be used.
111
120
-`max_name_length` controls how long a player prefix/nickname/suffix can be, which can be 32 at most.
112
121
-`operators_bypass_restrictions` can be used to disable name restrictions for operators. When this is enabled, operators and people with the permission `customname.bypass_restrictions` can use spaces in nicknames, bypass the max length restriction, and more.
113
-
-`display_above_player` controls whether the player's custom name should display above their head in game. This is currently not compatible with hiding name tags using teams.
122
+
-`display_above_player` controls whether the player's custom name should display above their head in game. This is currently not compatible with hiding name tags using teams. The appearance can be further configured using the following options:
123
+
-`text_opacity`: controls the opacity of the text. `255` is fully visible, `0` is transparent.
124
+
-`background_color`: the HEX-background colour of the name. This is in ARGB format, so the first 2 digits indicate the alpha value.
114
125
-`name_groups` can be used to create name groups for each name type. Name groups consist of a list of names, which follow the same format used in name commands. You can assign players to one or more name groups by giving them permissions to the respective groups. They will then be able to use names listed in those groups.
115
126
116
127
For example, consider this name groups config:
@@ -123,14 +134,14 @@ For example, consider this name groups config:
0 commit comments