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
> This is the Prefix ID. Every prefix is uniquely identified by this value.
127
140
>
128
141
> This does mean you cannot have two of the same Prefix IDs.
129
142
130
-
Display Name (`display-name`)
143
+
Display Name (`display-name`) **[Required]**
131
144
> This is the Display Name of the prefix. It is the formal name of the prefix.
132
145
>
133
146
> Supports Placeholders from PlaceholderAPI.
134
147
148
+
Prefix (`prefix`) **[Required]**
149
+
> This is the String representation of the prefix that will be displayed in place of `%sp_prefix%` / `%sp_prefix_legacy%`.
150
+
>
151
+
> Supports Placeholders from PlaceholderAPI.
152
+
135
153
Description (`description`)
136
154
> This is a list of strings. Each string will be a new line in the description part of the GUI.
137
155
>
138
156
> Supports Placeholders from PlaceholderAPI.
139
157
140
-
Prefix (`prefix`)
141
-
> This is the String representation of the prefix that will be displayed in place of `%sp_prefix%` / `%sp_prefix_legacy%`.
158
+
Item (`item`)
159
+
> This is a way to define your item stacks.
160
+
>
161
+
> - `material` defines the material of the item. Invalid or missing defaults to `NAME_TAG`. [Paper Material Enum](https://jd.papermc.io/paper/1.20/org/bukkit/Material.html)
162
+
> - `count` changes the stack size (the number of items in the stack). Invalid or missing defaults to `1`.
163
+
> - `custom-model-data` changes the custom model data, used for Resource Packs. Invalid or missing leaves the item unchanged.
164
+
>
165
+
> If this section is missing, the itemstack is defaulted to a single name tag.
166
+
167
+
Show When Locked (`show-when-locked`)
168
+
> If this is true, the prefix will not show in the menu if the requirements are not met.
142
169
>
143
-
> Supports Placeholders from PlaceholderAPI.
170
+
> This defaults to `true`.
171
+
172
+
Verify Always (`verify-always`)
173
+
> Checks the requirements each time the player's prefix is requested by PAPI.
174
+
> If the check fails, the player's prefix is cleared.
175
+
>
176
+
> This defaults to `false`.
177
+
178
+
### Minimum Configuration for a Prefix
144
179
145
180
```yml
146
181
# A prefix with the ID "example-prefix"...
@@ -151,7 +186,7 @@ example-prefix:
151
186
152
187
### Prefix Requirements
153
188
154
-
Requirements are things that must be held true in order to equip the prefix.
189
+
Requirements are conditions that must be held true in order to equip the prefix.
155
190
These requirements come in multiple forms that will be explained here.
0 commit comments