-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration
You can configure the messages in the messages.yml. You will find variables in the standard config. You can recognize
them by these {} characters. The use of variables is that they replace an object.
Example: {prefix} = '&8[&eColored&bPrefix&8]'
You can manage prefixes in the Prefix Config. You can add, edit or delete prefixes. If you want to add a prefix, copy
and paste a prefix path.
Example:
Before
{
"resetPrefixEntry": {
"enabled": true,
"itemName": "&fPrefix zurücksetzen",
"material": "BARRIER",
"slot": 41
},
"prefixEntryList": [
{
"name": "Weißerprefix",
"itemName": "&f&lWeißer Prefix",
"itemLore": [
"§7Vorschau: {prefix}",
"&7",
"{availability}"
],
"permission": "prefix.weiß",
"material": "WHITE_STAINED_GLASS_PANE",
"interval": 1,
"page": 1,
"slot": 11,
"headValue": "none",
"colors": [
"&f&l"
]
}
]
}After
{
"resetPrefixEntry": {
"enabled": true,
"itemName": "&fPrefix zurücksetzen",
"material": "BARRIER",
"slot": 41
},
"prefixEntryList": [
{
"name": "Weißerprefix",
"itemName": "&f&lWeißer Prefix",
"itemLore": [
"§7Vorschau: {prefix}",
"&7",
"{availability}"
],
"permission": "prefix.weiß",
"material": "WHITE_STAINED_GLASS_PANE",
"interval": 1,
"page": 1,
"slot": 11,
"headValue": "none",
"colors": [
"&f&l"
]
},
{
"name": "Goldenerprefix",
"itemName": "&6Goldener Prefix",
"itemLore": [
"§7Vorschau: {prefix}",
"&7",
"{availability}"
],
"permission": "prefix.gold",
"material": "ORANGE_STAINED_GLASS_PANE",
"interval": 1,
"page": 1,
"slot": 12,
"headValue": "none",
"colors": [
"&6"
]
}
]
}The name is the name of the prefix. This has to be unique, otherwise there will be problems.
The itemName is the name of the item in the inventory.
The itemLore is the description off the item. You can add and remove lines.
The permission is the right a player needs to be able to select this prefix.
The material is the item that is in the inventory. You can find a list of
materials here(1.17).
The interval regulates how many characters each color should be set.
Example:
interval: 1

interval: 2
The slot is the position of the item in the inventory.
The headValue is the metadata of a head. The headValue only needs to be set if you have specified PLAYER_HEAD as the
material. You can get head values from this website.
The colors are color codes, which you can set as you wish.
In this config you can edit the prefix inventory.
{
"inventoryEntryMap": {
"PrefixGUI": {
"name": "&6Prefix-Auswahl",
"size": 45,
"pages": 2,
"fillInventory": true,
"fillItemMaterial": "LIGHT_GRAY_STAINED_GLASS_PANE",
"fillItemName": "&7",
"previousItemMaterial": "PLAYER_HEAD",
"previousHeadValue": "MHF_ArrowLeft",
"previousName": "§8» &7Vorherige Seite",
"previousItemSlot": 37,
"nextItemMaterial": "PLAYER_HEAD",
"nextHeadValue": "MHF_ArrowRight",
"nextName": "&8» &7Nächste Seite",
"nextItemSlot": 45
}
}
}