
461
0
Список изменений
- Added the ability to sell potions and enchanted items.
prices.yml
Potion example:
strength_potion_bla_bla_bla: # now the id can be anything; if `material` exists, the plugin will use it; if `material` does not exist, the plugin will try to get the material from the id
material: POTION
price: 10.0
add-scores: 0.0
potions:
# Support for custom enchantments
strength: # potion key
1:
extra-price: 5.0
extra-score: 10.0
# any number of levels can be added
Enchanted item example:
diamond_sword:
material: diamond_sword
price: 60.0
add-scores: 5.0
enchantments:
# Support for custom enchantments
sharpness: # enchantment key
1:
extra-price: 10.0
extra-score: 10.0
2:
extra-price: 20.0
extra-score: 20.0
- Added the ability to choose criteria that distinguish regular items from custom ones:
config.yml
# Criteria used to decide which items can be sold (to distinguish regular items from custom ones)
disallowed-item:
# If the item's name is changed
custom-name: true
# If the item has a description/lore (potions ignore this option)
lore: true
# If the item has a custom container (most plugins use containers to distinguish custom items from regular ones)
persistent-data-container: true
# If the item has custom model data
custom-model-data: true
# If the item has flags (for example, HIDE_ATTRIBUTES)
item-flags: true
Файлы
TreexBuyer-4.4-en.jar(341.56 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
4.4
Загрузчики
Paper
Версии игры
1.20–26.1.2
Загрузок
18
Дата публикации
21.05.2026
