mirror of
https://github.com/CarmJos/UserPrefix.git
synced 2026-06-04 23:43:29 +08:00
90 lines
2.5 KiB
YAML
90 lines
2.5 KiB
YAML
version: ${project.version} # DO NOT EDIT IT
|
|
|
|
debug: false #DEBUG OUT PUT
|
|
|
|
metrics: true #Metrics stats (to help developer know the stats)
|
|
|
|
# Auto check the updates.
|
|
check-update: true
|
|
|
|
custom-storage:
|
|
# Custom storage location
|
|
# default location is "./prefixes"
|
|
# Support absolute file path , such as "/etc/minecraft/configurations/prefixes/"
|
|
enable: false
|
|
path: "prefixes/" # Must be a folder!
|
|
|
|
GUI:
|
|
title: "&f&lMy Prefixes List" # Title of the GUI
|
|
items:
|
|
next-page: # only show has next page
|
|
==: org.bukkit.inventory.ItemStack
|
|
type: ARROW
|
|
meta:
|
|
==: ItemMeta
|
|
meta-type: UNSPECIFIC
|
|
display-name: "§fNext Page"
|
|
lore:
|
|
- ""
|
|
- "§fRight-Click to the last page"
|
|
previous-page: # only show has previous page
|
|
==: org.bukkit.inventory.ItemStack
|
|
type: ARROW
|
|
meta:
|
|
==: ItemMeta
|
|
meta-type: UNSPECIFIC
|
|
display-name: "§fPrevious Page"
|
|
lore:
|
|
- ""
|
|
- "§fRight-Click to the first page"
|
|
|
|
functions:
|
|
# Whether to add a prefix to the top of the head,
|
|
# this method uses the scoreboard above the head,
|
|
# please turn it off if there is a conflict.
|
|
OnNamePrefix: true
|
|
# Automatic prefix select.
|
|
# When the player does not choose a prefix by himself,
|
|
# the prefix with the highest weight will be used automatically
|
|
autoUsePrefix: true
|
|
chat:
|
|
# Chat Function
|
|
# - I recommend using other chat plugins instead of using this plugin,
|
|
# - this plugin only provides very basic chat format placeholders.
|
|
# - Notice that: format must has “%1$s” and “%2$s” for PlayerName and Message (Bukkit Chat Event)
|
|
enable: false
|
|
format: "<%UserPrefix_prefix%%1$s> %2$s"
|
|
|
|
|
|
|
|
Sounds:
|
|
# Format is [SOUND_NAME:Volume:Pitch] or [SOUND_NAME:Volume] or [SOUND_NAME]
|
|
openGUI: "BLOCK_NOTE_BLOCK_PLING:1:1"
|
|
guiClick: "UI_BUTTON_CLICK"
|
|
prefixChange: "ENTITY_VILLAGER_YES"
|
|
prefixExpired: "ENTITY_VILLAGER_NO"
|
|
|
|
# The default prefix's weight is 0.
|
|
defaultPrefix:
|
|
name: "Default prefix"
|
|
content: "&b"
|
|
itemNotUsing:
|
|
==: org.bukkit.inventory.ItemStack
|
|
type: NAME_TAG
|
|
meta:
|
|
==: ItemMeta
|
|
meta-type: UNSPECIFIC
|
|
display-name: "§fThe default prefix §f(Click to select)"
|
|
lore:
|
|
- ""
|
|
- "§a➥ Click to use"
|
|
itemUsing:
|
|
==: org.bukkit.inventory.ItemStack
|
|
type: NAME_TAG
|
|
meta:
|
|
==: ItemMeta
|
|
meta-type: UNSPECIFIC
|
|
display-name: "§fThe default prefix"
|
|
lore:
|
|
- ""
|
|
- "§a✔ Selected" |